I hereby claim:
- I am ssp on github.
- I am ssp (https://keybase.io/ssp) on keybase.
- I have a public key whose fingerprint is 73B2 8281 F366 912E 7DF8 D918 93D7 2D60 0085 ABA3
To claim this, I am signing this object:
# building on 10.7 from Index Data’s git repository | |
# Result: yaz builds with ICU |
I hereby claim:
To claim this, I am signing this object:
iterate = function (e, level) { | |
var message = ''; | |
e.children().each( function() { | |
var logString = ''; | |
for (var i = 0; i < level; i++) { logString += '>'; } | |
logString += this.nodeName + ' '; | |
if (this.id) { logString+= '#' + this.id + ' '; } | |
if (typeof this.className === 'string') { logString += '.' + this.className.split(' ').join(' .'); } | |
message += logString + "\n"; | |
message += iterate($(this), level + 1); |
# check syntax of .strings plist files | |
find . -name "*.strings" -print0 | xargs -0 plutil | grep -v ": OK" |
# not exactly comprehensive but making the terminal more tolerable | |
# load magic stuff | |
source /usr/share/tcsh/examples/rc | |
# from http://bonk.nu/blog/archives/000080.html | |
set complete=enhance | |
bindkey -k up history-search-backward | |
bindkey -k down history-search-forward | |
#set histdup=all |
#!/bin/sh | |
defaults find NSUserKeyEquivalents | grep Found | sed "s/.*domain .\(.*\).:.*/'\1'/g" | tr "\n" "," | sed "s/\(.*\),/(\1)/g" | sed "s/Apple Global Domain/NSGlobalDomain/g" | xargs -t -J appnames defaults write com.apple.universalaccess com.apple.custommenu.apps appnames | |
# If Mac OS X's keyboard preference pane forgot your custom keyboard equivalents, this may be able to restore them | |
# see http://earthlingsoft.net/ssp/blog/2009/07/keyboard_equivalents |
/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchServices.framework/Versions/A/Support/lsregister |
# from strange Bluetooth GPS device that's already set up using gpsbabel | |
gpsbabel -t -w -i wbt -f /dev/tty.SPPslave -o kml -F ~/Desktop/route.kml |
# in Mac OS X with Fast User Switching enabled | |
/System/Library/CoreServices/Menu\ Extras/User.menu/Contents/Resources/CGSession -suspend | |
# rather switch to a specific user ID: | |
#/System/Library/CoreServices/Menu\ Extras/User.menu/Contents/Resources/CGSession -switchToUserID 505 |
# for ethernet, use en1 for airport, replace 0s with desired address | |
sudo ifconfig en0 ether 00:00:00:00:00:00 |