What the defaults do and how to undo them
defaults write com.apple.screencapture disable-shadow -bool true
killall SystemUIServer
sudo launchctl unload -w /System/Library/LaunchDaemons/com.apple.metadata.mds.plist
sudo launchctl load -w /System/Library/LaunchDaemons/com.apple.metadata.mds.plist
brew install apple-gcc42
sudo ln -s /usr/local/bin/gcc-4.2 /usr/bin/gcc-4.2
ref: http://cczona.com/blog/2012/07/fix-for-make-usrbingcc-4-2-no-such-file-or-directory/
chflags nohidden ~/Library
defaults write com.apple.dock hide-mirror -bool true;killall Dock
defaults write com.apple.dock hide-mirror -bool false;killall Dock
defaults write com.apple.TextEdit ShowRuler 0
defaults delete com.apple.TextEdit ShowRuler
defaults write com.apple.QuickTimePlayerX MGCinematicWindowDebugForceNoRoundedCorners 1
defaults write com.apple.QuickTimePlayerX MGCinematicWindowDebugForceNoRoundedCorners 0
defaults write com.apple.helpviewer DevMode -bool true
defaults write com.apple.helpviewer DevMode -bool false
defaults write NSGlobalDomain NSWindowResizeTime .1
defaults write NSGlobalDomain NSWindowResizeTime .5
defaults write com.apple.mail AddressesIncludeNameOnPasteboard -bool false
defaults write com.apple.mail AddressesIncludeNameOnPasteboard -bool true
defaults write com.apple.addressbook ABShowDebugMenu -bool YES
defaults write com.apple.addressbook ABShowDebugMenu -bool NO
sudo defaults write com.apple.Finder NSAppSleepDisabled -bool YES
defaults -currentHost write -globalDomain AppleFontSmoothing -int 2
cf. http://www.ewal.net/2012/09/09/slow-wake-for-macbook-pro-retina/
sudo pmset -a standbydelay 43200
cf. http://macyay.com/os-x-dock-corner/
defaults write com.apple.dock pinning -string start; killall Dock
cf. http://www.chromescreen.com/speed-up-osx-mavericks/
defaults write com.apple.dock expose-animation-duration -float 0.15; killall Dock
cf. https://twitter.com/xor/status/537025703196102657
efaults write com.apple.Safari ShowFullURLInSmartSearchField -bool true
defaults write NSGlobalDomain NSAutomaticWindowAnimationsEnabled -bool NO
defaults write com.sublimetext ApplePressAndHoldEnabled -bool false
cf. https://software.com/mac/tweaks/change-key-repeat-vs-character-picker
defaults write NSGlobalDomain ApplePressAndHoldEnabled -boolean false