Caffeinate your mac

Today I learned a one-liner to keep a Mac from sleeping. It's pretty useful for presenting and overly aggressive IT policies.

Pop open the terminal and then type in:

caffeinate -disu

Ctrl + c to exit.