A little collection of snippets I occasionally use.