(not so) useful scripts and snippets