Just when I thought I knew every crucial keyboard shortcut, I can across these gems the other day and have been putting them to good use:
Sleep: option+apple+eject
Restart: ctrl+apple+eject
Shutdown: ctrl+option+apple+eject
The best part is that these shortcuts bypass any pop-up window or alert, such as:

And don’t worry, the computer will still ask if you want to save any opened documents.