This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # create signature to be used in appcast | |
| openssl dgst -sha1 -binary < !:1 | openssl dgst -dss1 -sign /path/to/private/key.pem | openssl enc -base64 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| launchctl unload -w /System/Library/LaunchDaemons/com.apple.spindump.plist |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| defaults write /Library/Preferences/com.apple.TimeMachine AutoBackup -bool NO |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/zsh -ef | |
| # Stop Time Machine & AppleFileServer | |
| export PATH=/bin:/usr/bin:/usr/sbin:/usr/libexec | |
| setopt extendedglob | |
| diskutil mount $(diskutil list | awk '/MaryBackup\+ A/ { print $NF }') | |
| [[ $(id -u) == 0 ]] || { print "$0: must be running as root" >&2 ; exit 1 } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # x.6 likes to not use it on some displays and removes the ui for setting it manually | |
| # see http://www.macosxhints.com/article.php?story=20090828224632809 | |
| defaults -currentHost write -globalDomain AppleFontSmoothing -int 2 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| find . -name "*.css" -print0 | xargs -0 file | grep 8859 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/sh | |
| # Find our architechture information from binaries on the mac | |
| find /Applications -type f -perm -00100 -print0 | xargs -0 -n 1 lipo -i > ~/Desktop/lipodata | |
| find /Developer -type f -perm -00100 -print0 | xargs -0 -n 1 lipo -i >> ~/Desktop/lipodata | |
| find /Library -type f -perm -00100 -print0 | xargs -0 -n 1 lipo -i >> ~/Desktop/lipodata | |
| find /System -type f -perm -00100 -print0 | xargs -0 -n 1 lipo -i >> ~/Desktop/lipodata | |
| find /private -type f -perm -00100 -print0 | xargs -0 -n 1 lipo -i >> ~/Desktop/lipodata | |
| find /bin -type f -perm -00100 -print0 | xargs -0 -n 1 lipo -i >> ~/Desktop/lipodata | |
| find /sbin -type f -perm -00100 -print0 | xargs -0 -n 1 lipo -i >> ~/Desktop/lipodata |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # 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 |