A collection of some code snippets.