I hereby claim:
- I am ronlipke on github.
- I am rlipke (https://keybase.io/rlipke) on keybase.
- I have a public key whose fingerprint is 62F8 C307 6349 60D5 D29D E297 63AC FA56 14B0 27D8
To claim this, I am signing this object:
{ | |
"rules": [ | |
{ | |
"manipulators": [ | |
{ | |
"description": "Change caps_lock to command+control+option+shift or escape if alone.", | |
"from": { | |
"key_code": "caps_lock", | |
"modifiers": { | |
"optional": [ |
[ | |
"1/9/2016", | |
"1/10/2016", | |
"1/12/2016", | |
"1/14/2016", | |
"1/15/2016", | |
"1/16/2016", | |
"1/26/2016", | |
"1/27/2016", | |
"2/2/2016", |
#!/usr/local/bin/python2.7 | |
import requests | |
import urllib3 | |
# for bad/untrusted/self-signed certs (gross) | |
urllib3.disable_warnings(urllib3.exceptions.InsecureRequestWarning) | |
url = 'https://some.url.com' | |
basicAuth = ('USERNAME', 'PASSWORD') |
package main | |
import ( | |
"crypto/tls" | |
"fmt" | |
"io/ioutil" | |
"net/http" | |
"net/url" | |
"strings" | |
) |
#!/bin/bash | |
# Assumes you already have the dmg downloaded in ~/Downloads | |
case "$1" in | |
old) | |
echo "Installing 0.15.16-1" | |
CHEFDK_VERSION="0.15.16-1" | |
;; | |
new) |
I hereby claim:
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
# --------------------------------------------------------------------------- | |
# | |
# Description: This file holds all my BASH configurations and aliases | |
# | |
# Sections: | |
# 1. Environment Configuration | |
# 2. Make Terminal Better (remapping defaults and adding functionality) | |
# 3. File and Folder Management | |
# 4. Searching | |
# 5. Process Management |
<?php | |
// quick and dirty argument parsing | |
foreach ($argv as $arg) { | |
if ($arg == '-f') { | |
define('FOLLOW', true); | |
} | |
if ($arg == '-h') { | |
define('HISTOGRAM', true); | |
} |
#!/usr/bin/env bash | |
CMD="ps axo pid,ppid,user,command" | |
PROCESS=$1 | |
if [[ -z $PROCESS ]]; then | |
$CMD | |
else | |
$CMD | grep $PROCESS | grep -v "grep $PROCESS" | grep -v "bin/psc" | |
fi |