A collection of code snippets that I found useful to remember.