Dock to corner:
defaults write pinning -string end killall Dock

Enable 2D dock:
defaults write no-glass -bool true
To hide the files change true to false

Undo delay dock:
defaults write autohide-delay -float 0 && 
killall Dock

Widgets on Dashboard:
defaults write devmode YES

Now, log out and log back in. Open up your Dashboard, grab the widget you want by clicking and holding it with your mouse, and hit F12 to drop it onto your desktop. If the widgets don't appear, hop back into Terminal and type: 
killall Dock

Show hidden files:
defaults write AppleShowAllFiles true 
killall Dock
To hide the files change true to false

Single application mode:

defaults write single-app -bool true 
killall Dock

Copy Text from Quick Look:
defaults write QLEnableTextSelection -bool true 
killall Finder

Popup notifications iTunes:
defaults write itunes-notifications -bool TRUE 
killall Dock

Disable notifications iTunes:
defaults delete itunes-notifications

Enable debug menu in Address Book:
defaults write ABShowDebugMenu -bool true

Enable debug menu Disk Utility:
defaults write DUDebugMenuEnabled -bool true
defaults write advanced-image-options -bool true

Disable startup chime:
sudo nvram SystemAudioVolume=%80

Prevent Sleep:
caffeinate -t 3600  (t = time in seconds)

Disable Window Animations:
defaults write NSGlobalDomain NSAutomaticWindowAnimationsEnabled -bool false

Disable notification center:
launchctl unload -w /System/Library/LaunchAgents/ killall NotificationCenter

Stop help from floating over windows:
defaults write DevMode -bool true




defaults write ABShowDebugMenu -bool true