If you infrequently program in a language, it can be helpful to quickly glance at examples of code to help remember the syntax specifics. This page lists such examples.

In particular, this page focuses on control structures and OO syntax.

Bash

Vim script