Programs / Scripts

Some potentially useful programs / scripts that I've written:

UCAS Personal Statement Line & Character Counter (GitHub mirror)

JavaScript (HTML)

An online tool that counts lines and characters for UCAS personal statements

Nyaa Comments RSS Generator

Python 3

A server-side script which parses Nyaa.si torrent pages to create an RSS feed of its comments. Source code available (GitHub mirror).

JSChessClock

JavaScript (HTML)

A chess clock that runs on your web browser. Convenient and intuitive UI on both desktop and mobile devices (tested on Kindle Touch).

indicator-keyboard-led

Python 3

An application indicator for Unity that simulates keyboard lock keys LEDs (Caps Lock, Num Lock and Scroll Lock)

indicator-lunar-calendar

JavaScript (Node.js)

An application indicator for Unity that displays the current date and time in lunar calendar

Pygments lexer for C code with GTK+ types

Python (Pygments)

Allows Pygments to recognize GTK+ types for highlighting

xkcd keyboard nav

JavaScript (Userscript for xkcd.com)

A userscript which allows you to navigate xkcd comics using your keyboard only

zh Content Farms List

uBlock Origin

Static filter for uBlock Origin which blocks content farms and other fake news sites with contents mainly in the zh locale