Quick code snippets I write up when asked for a solution to an annoying problem