Useful shell scripts, examples and snippets