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.
10.10
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.
Yosemite: Enable dark mode with a keyboard shortcut (hotkey)
To activate dark mode in OS X Yosemite you have to take many steps, Apple doesn’t made it possible to activate dark mode with a hotkey. You can activate itself with the following command. Launch Terminal and enter the following command.
Re-activate the Shutdown Dialog
When you press the power button on your Mac (installed with OS X Mavericks or Yosemite) your Mac falls into sleepmode. You can disable the power button’s directly sleep mode and have the ‘old’ shutdown dialog appearing instead, open OS X Terminal window and enter:
How to enable OS X Yosemite’s new dark mode (beta version)
Apple announced OS X 10.10 Yosemite earlier this month at WWDC with a whole new light and flat design. They also announced a new “Dark Mode” that’ll make the interface little bit darker. The setting was however not available in the first beta of OS X Yosemite, but you can enable it in the second beta with the following command:
10.9: Disable App Nap in OS X
App Nap helps you save power and battery life when you’re working with multiple apps at the same time. You can disable this feature for each application by using the info window in the Finder (select the app in Finder and activate this window with cmd⌘ + i). With the following command you can disable App Nap system wide.