Skip to content

ljcooke/scripts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

69 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Scripts

An assortment of scripts, written in Ruby and Bash.

Scripts are documented in the doc directory.

Install

  • Pick & Choose: Download each script you're interested in, and save them to a directory in your $PATH. Run chmod +x script1 [script2...] to make each script executable.

  • I Want It All: Clone this repo with git, and add the full path to the bin directory to $PATH.

General-purpose scripts

These scripts should work as-is. They may have optional dependencies to provide extra functionality.

ljc-asc2bin

Basic binary encoder. Reads from standard input and converts it to a string of 0s and 1s.

(documentation | source)

ljc-bin2asc

Basic binary decoder. Reads and decodes a string of 0s and 1s from standard input.

(documentation | source)

ljc-isodate

ISO date formatter. Reads dates from command line arguments, and prints the weekdays and dates in ISO 8601 format.

(documentation | source)

Specialised scripts

These are designed for specific use cases. They may have dependencies, which are documented below.

ljc-cue2tracklist

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)

ljc-curl-resolve

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)

ljc-dither-wallpaper

Low-res wallpaper creator. Reads images from a directory and applies a 16-color dither effect. Requires ImageMagick.

(documentation | source)

License

MIT License

Copyright (c) 2019–2022 Liam Cooke

Source

The source code is available on Codeberg and GitHub.

About

An assortment of scripts.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published