This git repository tracks some scrips that I use frequently and which could also be useful for others.
I hope the filenames are somewhat self explaining if not I guess you will have to look at the source code (which is recommended anyway before running them).