re: https://twitter.com/apiblueprint/status/374456335846612992
application/json;charset=utf-8
application/json; charset=utf-8
application/json; charset="utf-8"
application/json // since JSON's default unicode charset is UTF-8
re: https://twitter.com/apiblueprint/status/374456335846612992
application/json;charset=utf-8
application/json; charset=utf-8
application/json; charset="utf-8"
application/json // since JSON's default unicode charset is UTF-8
# After seeing that Mac AppStore has all these timers (both dumb and "smart") that each cost 3 USD (for what?!), | |
# I think this will do for 0 USD and 5 minutes. | |
# Works wonders as `timer 5 fuck off` :) | |
[[ "`uname`" == 'Linux' ]] && alias say="espeak" | |
function timer() { | |
minutes=${1:-1} | |
steep=$(($minutes*60)) | |
wakeup=${@:2} | |
wakeup=${wakeup:-"time's up"} |
#!/usr/bin/env bash | |
# Ask for the administrator password upfront | |
sudo -v | |
# Require password immediately after sleep or screen saver begins | |
defaults write com.apple.screensaver askForPassword -int 1 | |
defaults write com.apple.screensaver askForPasswordDelay -int 0 |
#!/usr/bin/env bash | |
function jqq() { | |
jq -r "$@" 2>/dev/null | |
} | |
function grepq() { | |
grep -q -w "$@" 2>/dev/null | |
} |
set +x | |
# Add this as the 1st build Exec shell | |
# Only for situations where you have 1 and only 1 executor per machine | |
# And you don't care about processes being left running after the job run ends | |
# Look for processes that have a BUILD_ID env var | |
# that is NOT the same as the current job's BUILD_ID | |
# nor same as dontKillMe | |
echo "Killing orphan spawned processes..." |
<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br> | |
Reply to this email directly or <a href='https://github.com/isakb/simple-proxy/issues/3#issuecomment-43875699'>view it on GitHub</a>. | |
<img src='https://github.com/notifications/beacon/708161__eyJzY29wZSI6Ik5ld3NpZXM6QmVhY29uIiwiZXhwaXJlcyI6MTcxNjM3NzExMiwiZGF0YSI6eyJpZCI6MzI3MTYwMDV9fQ==--5d68bbf2d63b40a9a277783eeefff33eaa905f99.gif' height='1' width='1'> | |
</p> |
I hereby claim:
To claim this, I am signing this object:
#!/usr/bin/env bash | |
rb_user=rb | |
rb_pass=rb_password | |
trac_url="https://repository/trac" | |
mirror="gitolite@repository" | |
authors_file="/var/authors.txt" # git svn authors file | |
password="pbkdf2_sha256$12000$4qXnxOva60Uy$uI/dCC0yn9g5IUILNxFfemoZQMKGoIVLHcySnmJNR70=" | |
run_mysql="mysql -u ${rb_user} --password=${rb_pass} reviewboard -B -e" |
#!/usr/bin/env bash | |
exit 0 | |
# refs | |
# http://archives.aidanfindlater.com/blog/2010/02/03/use-vpn-for-specific-sites-on-mac-os-x/ | |
# http://superuser.com/questions/424862/how-do-i-make-certain-web-addresses-use-a-specific-network-adapter-on-mac-os-x | |
# http://superuser.com/questions/4904/how-to-selectively-route-network-traffic-through-vpn-on-mac-os-x-leopard | |
# Script which handles the routing issues as necessary for pppd, |
#!/usr/bin/env python | |
import sys | |
try: | |
import json | |
hasJson = True | |
except ImportError: | |
hasJson = False |