Displaying your cakephp 1.2 version
The CakePHP dev's have made it super simple to display your cakephp version, I have only just stumbled across it when looking for something else in the API. Like me you might not have spotted it, its not an essential bit of code but a nice to have for those administering many sites on various servers and much better than finding the version text file on each install. I display the version number in the system setup part of the sites admin dashboard along with other framework related settings...
How to reboot a locked up local or remote Linux box
On the odd occasion your Linux box will lock up and won't appear to be working, at this point you go darn I'd love to do a controlled shutdown, here's one way of rebooting your local or remote Linux box...
Command to list only directory names under Linux
Sometimes you need to only only list the directory names under Linux, a simple command for this is...

