embarrassing library of snippets I've written and use for reference.