An assortment of scripts, written in Ruby and Bash.
Scripts are documented in the doc directory.
-
Pick & Choose: Download each script you're interested in, and save them to a directory in your
$PATH. Runchmod +x script1 [script2...]to make each script executable. -
I Want It All: Clone this repo with
git, and add the full path to thebindirectory to$PATH.
These scripts should work as-is. They may have optional dependencies to provide extra functionality.
Basic binary encoder. Reads from standard input and converts it to a string of 0s and 1s.
(documentation | source)
Basic binary decoder. Reads and decodes a string of 0s and 1s from standard input.
(documentation | source)
ISO date formatter. Reads dates from command line arguments, and prints the weekdays and dates in ISO 8601 format.
(documentation | source)
These are designed for specific use cases. They may have dependencies, which are documented below.
Naive cue file parser. Reads a cue file from standard input, and prints a plain text tracklist. Made for extracting tracklists from Rekordbox DJ recordings.
(documentation | source)
Make a HTTP request without DNS. This is a wrapper for curl designed for one use case: testing that a web server is configured correctly before setting up DNS.
(documentation | source)
Low-res wallpaper creator. Reads images from a directory and applies a 16-color dither effect. Requires ImageMagick.
(documentation | source)
Copyright (c) 2019–2022 Liam Cooke