A collection of utility scripts that I use. Any comments, suggestions, criticism (no matter how small you think they are) are welcome. If you improve any of the scripts please raise a pull request.
Some highlights:
-
get_urls.py - Get urls in a url.
-
convert2gray - Convert a pdf in color to grayscale.
-
git-up - rebase a git repository to origin even if there are uncommitted changes
-
popsort.py - Sort output of "apt-cache search" by popularity
-
stuff.py - show file contents after removing empty lines and comments
-
stuff.pl - perl implementation of the above.
-
make_bkup.pl - quickly make a backup of a file
-
grep_installed.py - List installed packages by filtering on distribution
-
git_grep.py - grep a git repository
-
vim_swap.pl - makes it easy to recover from vim swap files
-
lswap - show vim swap files
-
latest_unique.pl - print unique lines in a file by preserving the order and retaining the latest of duplicated lines.
-
overlap.pl - Analyze the overlap between two sets of data
-
script_name.pl - get the script name
-
dictvim.pl - query dictionary and show results in gvim