The little scripts I've written to make my life just a little bit easier when I'm living in the terminal
- Bash
- Python 3
Add the directory to your path in your shell config file.
export PATH=$PATH:"/path/to/the/script/dir/"
If you help with a tool just run it with a -h
flag
ascii
is a Python script to convert a unicode text file to plain ASCII. Especially useful for those annoying little unicode quotation marks that look just like ASCII but cause all sorts of problems.blocksite
adds a URL to the /etc/hosts file to stop those time sucking websites (only works on Mac and Linux)check_git
prints all directories that have uncommitted Git changes.craft_cleanup
removes problems with the Craft app's Markdown exportdiffchar
finds the number of characters that don't match between two strings. Helpful for checking for differences in DNA.dna
is a bit of code I wrote for my biology class to translate a DNA string into the corresponding RNA and amino acidsgrading
was one of my first CLI scripts to convert a percentage grade into a letter gradeipynb2py
converts a Jupyter notebook to a Python scriptl2n
converts a markdown letter list into a numeral listlicence
prints out a specified licencenumlines
finds the biggest file in a directoryorm
calculates your one rep max for weightliftingpassword
generates a random passwordprinter
can either print the Markdown files in a directory as plain text or convert them to PDFs before printingquop
a tiny script to open up the QUOP game in a web browserrename
renames a directory of files in sequential orderrmbadges
quickly toggles dock notification badges on macOSsinceblock
gets the number of minutes since the last Bitcoin block (must be run from a Bitcoin node)thes
gets synonyms of the word from a thesaurusverses
converts the output of BibleGateway-to-Markdown to separate text fileslatest_commit
shows the subdirectories in a directory sorted by the date of the latest git commit