Added 3 super-useful code snippets

Here's my gift to you Jonas (and the World in general). I realised I couldn't live without them when I moved to my laptop which didn't have my snippets set up, and I figured everyone should benefit :)