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.
OS X: How to quickly hide the desktop icons
Do you often have to do a presentation on your Mac and don’t want others to see what’s on your desktop? It’s possible to quickly hide the icons on your desktop. Launch Terminal and enter the following command.
Disable ‘Preferences’ menu option in OS X Finder
It is possible to disable the OS X Finder menu option: ‘Finder ▸ Preferences’ (cmd⌘ + ,). This will prohibit setting changes in the OS X Finder application.
Delete the hiding Dock Delay in OS X
You can choose to hide/show the Dock automatically. This has a default speed to display the dock. You can speed it up with a defaults write command. This command removes the delay from when a cursor is hovered near the Dock. It doesn’t change the animation speed of the dock, only the response to the cursor.
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.
Adjusting minimum file size for Mail Drop
Using the new Mail drop feature in Yosemite, you can send an attachment of up to 5GB. Once you want to send an attachment larger than 20MB then the attachment is automatically uploaded to iCloud. With the following terminal command it’s possible to adjust downward the minimum file size of 20MB. As an example we use 10MB, launch Terminal and enter the command.
Disable full screen animation of OS X.
You can view windows full screen in many applications, this means that the application window uses the entire screen. But the animation is slow and is too long. You can disable the animation with the following command. Launch Terminal and enter the following command.