An introduction to curl using GitHub's API.
Makes a basic GET request to the specifed URI
curl https://api.github.com/users/caspyin
| #!/usr/bin/env python | |
| import os | |
| import subprocess | |
| # > python subprocessdemote.py | |
| # > sudo python subprocessdemote.py | |
| def check_username(): |
| Set-PSReadlineOption -BellStyle None | |
| # Clone `https://github.com/dahlbyk/posh-git.git` to C:\Gits | |
| Import-Module 'C:\Gits\posh-git\src\posh-git.psd1' | |
| set-executionpolicy Unrestricted process | |
| $baseDir = Split-Path -parent $MyInvocation.MyCommand.Definition | |
| #. "$baseDir\hand.ps1" | |
| # General actions | |
| function edit ($file) { & "${env:ProgramFiles(x86)}\Notepad++\notepad++.exe" $file } |
An introduction to curl using GitHub's API.
Makes a basic GET request to the specifed URI
curl https://api.github.com/users/caspyin
A very basic regex-based Markdown parser. Supports the
following elements (and can be extended via Slimdown::add_rule()):
| ################################################################### | |
| # (C)opyright 2012, Kameron Kenny, ExactTarget | |
| # | |
| # Licensed under the Apache License, Version 2.0 (the "License"); | |
| # you may not use this file except in compliance with the License. | |
| # You may obtain a copy of the License at | |
| # | |
| # http://www.apache.org/licenses/LICENSE-2.0 | |
| # | |
| # Put this file in .chef/plugins/knife/ |
| This playbook has been removed as it is now very outdated. |
| #!/bin/sh | |
| ### | |
| # SOME COMMANDS WILL NOT WORK ON macOS (Sierra or newer) | |
| # For Sierra or newer, see https://github.com/mathiasbynens/dotfiles/blob/master/.macos | |
| ### | |
| # Alot of these configs have been taken from the various places | |
| # on the web, most from here | |
| # https://github.com/mathiasbynens/dotfiles/blob/5b3c8418ed42d93af2e647dc9d122f25cc034871/.osx |
| #!/bin/bash | |
| # Script adb+ | |
| # Usage | |
| # You can run any command adb provides on all your currently connected devices | |
| # ./adb+ <command> is the equivalent of ./adb -s <serial number> <command> | |
| # | |
| # Examples | |
| # ./adb+ version | |
| # ./adb+ install apidemo.apk | |
| # ./adb+ uninstall com.example.android.apis |
| # Fail2Ban configuration file. | |
| # | |
| # This file was composed for Debian systems from the original one | |
| # provided now under /usr/share/doc/fail2ban/examples/jail.conf | |
| # for additional examples. | |
| # | |
| # To avoid merges during upgrades DO NOT MODIFY THIS FILE | |
| # and rather provide your changes in /etc/fail2ban/jail.local | |
| # | |
| # Author: Yaroslav O. Halchenko <debian@onerussian.com> |