#An cli to optimize OS X to suit my need.
###Dashboard To disable
defaults write com.apple.dashboard mcx-disabled -boolean YES
To enable
defaults write com.apple.dashboard mcx-disabled -boolean NO
###Window animation To disable
defaults write NSGlobalDomain NSAutomaticWindowAnimationsEnabled -bool false
To enable
defaults write NSGlobalDomain NSAutomaticWindowAnimationsEnabled -bool true
###Always allow key repeating
To disable
defaults write -g ApplePressAndHoldEnabled -bool false
To enable
defaults write -g ApplePressAndHoldEnabled -bool true