Random code snippets I don't wanna loose.