CODE SNIPPETS

Useful pieces of code...