Here is a way to disable sleeping when pressing the power button on 10.9.2. In Terminal, type in the following command and then press Enter.
defaults write com.apple.loginwindow PowerButtonSleepsSystem -bool no
This causes the ‘Are you sure you want to shut down your computer now?’ dialog to come up much quicker too.
[crarko adds: I tested this, and it works as described. I had to log out and log back in; I’m not sure if that’s necessary.]
By roman The convenience of wireless networking is fantastic, but it doesn’t compare to the solidity and dependability of a wired network connection. Where can you find out if your Ethernet connection is running at 10, 100, or 1000 Mbit/s? It is … →
In OS X 10.9 Mavericks a smart folder (or a saved search) dragged to the Dock behaves like a folder (smart folders by default are saved under ~/Library/Saved Searches). Right click gives sorting, display and viewing options similar to ordinary folders dragged to the Dock. A drawer icon is shown if Display as Folder option is selected. In grid view Quick Look works, too.
I did not check if it works under 10.8 or 10.7. I have to mention that there was already a hint about how to add ‘recent things’ stack to the Dock.
[crarko adds: I tested this, and it works as described.]