a repo of useful code snippets