This cheat sheet is courtesy Ben Day and is available here. This Markdown file is just for easy reference for programmers.
What follows are the excerpts from Ben's blog.
The nice thing about the items on this ‘cheat sheet’ is that they work on Windows, Mac, and Linux. [Note 2/13/2017: Want an example script? Check this out.