Skip to content

realprogrammersusevim/cli-tools

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

48 Commits
 
 
 
 
 
 
 
 

Repository files navigation

CLI Tools

GitHub Repo stars GitHub license

Description

The little scripts I've written to make my life just a little bit easier when I'm living in the terminal

Requirements

  • Bash
  • Python 3

Usage

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 export
  • diffchar 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 acids
  • grading was one of my first CLI scripts to convert a percentage grade into a letter grade
  • ipynb2py converts a Jupyter notebook to a Python script
  • l2n converts a markdown letter list into a numeral list
  • licence prints out a specified licence
  • numlines finds the biggest file in a directory
  • orm calculates your one rep max for weightlifting
  • password generates a random password
  • printer can either print the Markdown files in a directory as plain text or convert them to PDFs before printing
  • quop a tiny script to open up the QUOP game in a web browser
  • rename renames a directory of files in sequential order
  • rmbadges quickly toggles dock notification badges on macOS
  • sinceblock 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 thesaurus
  • verses converts the output of BibleGateway-to-Markdown to separate text files
  • latest_commit shows the subdirectories in a directory sorted by the date of the latest git commit

About

Tools to make life in the terminal a little easier

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published