Various small tools that I use to make my life easier.
Currently contains:
-
ftc- a short script to print all the files in a particular directory + subdirectories which contain a particular string. -
ytsrt.py- a short program for converting YouTube XML subtitles into SRT format. -
jytsrt.py- a short program for converting YouTube JSON subtitles into SRT format. -
jytvtt.py- a short program for converting YouTube JSON subtities into VTT format. -
intsum,fpsum,fpmean- tiny F77 programs which sum/mean all the numbers fromstdinand put the output onstdout.intsumdoes integer math,fpsum/fpmeandouble precision floating point. -
dir- a shell wrapper to be more like the behaviour of DOSdir(WRT pagination, order) than GNUdir. -
bt.py- an extremely basic tool to control Banshee from a console. -
amstrad2unix- a command-line tool to convert files copied from Amstrad NC series computers to Unix/Linux format. -
unicode_pretty.hy- a command-line tool to convert ASCII strings into pretty unicode text, e.g. π π©ππ π¨π©π’π±π±π’π―. -
python*-wrapper.sh- commands to launch a python 2/3 interpreter with the "recommended" environment on UCL RC resources, regardless of python modules loaded. -
fortwrangler/fortwrangler.py- convert non-compliant free format Fortran code to the correct line length. -
ADdate/addate.py- convert Active Directory dates into either text or Unix epochs. -
aws-instance-status.py- basicallyqhostfor AWS, wrapsawscli. -
aws-get-ip- converts an AWS instance ID into an IP address safely (validates it to decrease opportunity for command injection), wrapsawscli.