Miscellaneous scripts for Linux/Windows