I hereby claim:
- I am nootrope on github.
- I am nootrope (https://keybase.io/nootrope) on keybase.
- I have a public key whose fingerprint is CDDC 165A 26AA 3C4F 5AAF 818B E24A F715 6854 43AE
To claim this, I am signing this object:
| defaults write com.apple.mail DisableInlineAttachmentViewing -bool yes |
| defaults write com.apple.mail DisableInlineAttachmentViewing -bool false |
| # From http://www.raspberrypi.org/forum/viewtopic.php?f=29&t=6722 | |
| # | |
| # For a Raspberry Pi | |
| sudo modprobe snd_bcm2835 |
| def haversine(pos1, pos2): | |
| # From http://stackoverflow.com/a/18144531/3788069 | |
| lat1 = float(pos1['lat']) | |
| long1 = float(pos1['long']) | |
| lat2 = float(pos2['lat']) | |
| long2 = float(pos2['long']) | |
| degree_to_rad = float(pi / 180.0) | |
| d_lat = (lat2 - lat1) * degree_to_rad |
I hereby claim:
To claim this, I am signing this object:
| # From: https://bugs.launchpad.net/ubuntu/+source/python3.4/+bug/1290847 | |
| # Using /tmp/ as example destination for venv | |
| $ python3 -m venv --without-pip /tmp/env | |
| $ curl https://bootstrap.pypa.io/get-pip.py | /tmp/env/bin/python |
| // http://stevenbenner.com/2010/03/javascript-regex-trick-parse-a-query-string-into-an-object/ | |
| // JavaScript regex trick: Parse a query string into an object | |
| var queryString = {}; | |
| anchor.href.replace( | |
| new RegExp("([^?=&]+)(=([^&]*))?", "g"), | |
| function($0, $1, $2, $3) { queryString[$1] = $3; } | |
| ); | |
| // Usage |
| # WPEngine Deploy - wp-content folder # | |
| ########################################### | |
| # Ignore all files except for the wp-content directory | |
| * | |
| # Don't ignore directories themselves, else we can't add anything to the repository | |
| !*/ | |
| # Don't ignore the the following directory | |
| !**/wp-content/* | |
| # or its subdirectories |