dom111.github.io

A selection of tools and scripts I've created.

Tools

bash-colours
A tool for generating ANSI styles.
bash-ps1
A tool for styling your bash prompt string.
bash-todo
A simple TODO app for bash that was built based on a question asked on /r/bash.
image-to-ansi
A tool to convert an image to a series of ANSI escpae sequences.
grep-colors
A tool to help your build a GREP_COLORS string, styling the output from grep.
webdav-js
A WebDAV client written in browser-based JavaScript. To be used as a bookmarklet, or inline script direclty in your Apache directory listing header file.

Scripts

terminal-preview
A collection of JavaScript and CSS that turns an HTML element into an ANSI-escape styling supporting terminal emulator. Used in some of the above tools.

Fun

js-shithead
As an exercise in building a Deck object in JavaScript, I built this mostly functional game of shithead (palace), you can play against a simplistic AI and I've tried to build it so that the many differing options of shithead can be implemented.