I hereby claim:
- I am andreineculau on github.
- I am andreineculau (https://keybase.io/andreineculau) on keybase.
- I have a public key whose fingerprint is B779 C476 7E36 2833 7155 D46D D4EE 2665 33A0 0BC9
To claim this, I am signing this object:
#!/usr/bin/env bash | |
make $@ 2> >(grep -v "warning: \(overriding\|ignoring\)" >&2) |
Traffic lights should be removed because they allow people to cross red lights. | |
Hospitals should all shut down because treatments there can have harmful effects when done incorrectly. | |
Companies should stop selling food because it allows people to eat too much and could cause medical problems in the long run. | |
Tools should be banned because they could be used maliciously. | |
Stores should all close because it would allow the possibility of shoplifting. |
#!/usr/bin/env bash | |
set -e | |
MESSAGE="$(git diff --cached --name-only | tr '\n' ' ')" | |
[[ -n ${MESSAGE} ]] && { | |
git commit -m "modified ${MESSAGE}" $@ | |
} || { | |
git commit $@ | |
} |
I hereby claim:
To claim this, I am signing this object:
74925 NONE | |
54706 MIT | |
9268 ISC | |
3050 BSD | |
1521 BSD-2-CLAUSE | |
791 APACHE-2.0 | |
699 APACHE 2.0 | |
392 BSD-3-CLAUSE | |
364 WTFPL | |
346 UNKNOWN |
#!/usr/bin/env osascript | |
# usage: sendmail.app from@me.com to@you.com,and@you.com "have you seen this?" "a nice way to send mail/attachment from the shell in osx (if you have configured Mail.app) https://gist.github.com/andreineculau/38f6160cc9aa11956953" | |
on theSplit(theString, theDelimiter) | |
-- save delimiters to restore old settings | |
set oldDelimiters to AppleScript's text item delimiters | |
-- set delimiters to delimiter to be used | |
set AppleScript's text item delimiters to theDelimiter | |
-- create the array |
#!/usr/bin/env python | |
import sys | |
try: | |
import json | |
hasJson = True | |
except ImportError: | |
hasJson = False |
#!/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 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" |
I hereby claim:
To claim this, I am signing this object: