Do you want to keep the Dock in OS X organized? You can do this with a blank space. This way, you can divide your Dock in different groups. Copy and paste the following command in a Terminal window. After the restart, the space will be added to the Dock, which you can move to any place.
How to reset the DNS cache in OS X
OS X always keeps a local cache of resolved DNS queries (IP address) for future reference. But sometimes it may be necessary to clear (flush) the cache. You can do this with a terminal command, this will refresh the local DNS cache.
Disable the ruler in TextEdit by default
If you regularly use TextEdit, you will notice that TextEdit displays the ruler by default when creating or opening rich text documents. It’s not possible to turn off the ruler by default in Preferences. Offcorse you can You can disable the ruler in TextEdit with the following OS X Terminal command:
Setup a size limit for Time Machine backup volumes
Time Machine will standard use all the available disk space on an external drive or a external server volume. You can setup a limit how much disk space Time Machine may use. Use this defaults write Terminal command:
Enable momentum scrolling for Magic Mouse
The Mouse System Preferences pane does not include an option to enable momentum scrolling. The setting is a hidden preference. Use following command in Terminal to enable momentum scrolling.
Enable spring loaded Dock items
Spring-loaded Dock items are supposed to save you time by allowing you to drag a file over the folder/icon. Hover it for a few seconds and the application/folder will open. Use the following command to enable these feature:
Disable the Spaces Animation in Mac OS X
Anytime you navigate between Spaces in OS X there’s a animation, this is nice but it makes switching between Spaces slower. You can disable the animation with the following command: