Skip to content

a couple of potentially useful things you can run in your shell

License

Notifications You must be signed in to change notification settings

mothdotmonster/shell-goodies

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 

Repository files navigation

pure POSIX shell goodies

these are a variety of somewhat useful things i have created that you can run in your command line shell. have fun with them.

beatcoder

tool for generating morse code that roughly fits a specified BPM

spoofmail

a small bit of glue that lies to cronie and pretends to be sendmail, and then sends you a notification when your cronjobs have something to say. because it's not 1995 anymore, we have desktop notifications now.

to use, simply copy it to /usr/bin/sendmail, and restart cronie.service

fuzzysleep

a tool to prevent you and all your buddies from crashing the server at midnight on Sunday from crontab overloads, by sleeping for a random amount of time. designed mainly to be ran before cron jobs.

Q: why not just sleep for a set amount of time?
A: the server would just get overloaded at a different time.

USAGE:
fuzzysleep [n] - sleep for 1-[n] seconds silently
fuzzysleep -v [n] - sleep for 1-[n] seconds and say how long
fuzzysleep -vv [n] - sleep for 1-[n] seconds with a progress bar

barge

a function that generates bars out of percentages, designed to be easy to read and modify as needed. barge.sh is an example script which does nothing, as an easy base to hack barge into your existing script.

yodel

a tool that sits around printf to make it slightly less painful to print pretty text. personally i choose to suffer instead, but you may find it useful if you desire to make text-based things in the shell directly

THermnag

CURRENTLY BROKEN.

you can remove the nag from the newest version just by making hasLicense() always return true.

removes the license nag from ThunderHTMLedit. download the xpi from them and run it through the script.

USAGE: thermnag.sh (ThunderHTMLEdit.xpi)

About

a couple of potentially useful things you can run in your shell

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published