Best OSX Dock tip ever

Easily add blank spacers to your dock by using the following in Terminal...

defaults write com.apple.dock persistent-apps -array-add '{tile-data={}; tile-type="spacer-tile";}'
killall Dock

This adds a blank space to the right side of your dock. You can then click on this blank space to drag it anywhere in the dock, or out of the dock to remove it.