Elfhex
ELFHex is a simple "assembler" designed for learning machine code. It takes programs comprising machine instructions and packages them into ELF executable binaries.
The lab contains various small scripts or other projects I've worked on in the past, along with descriptions and download links. Have a look through them, you might find something interesting.
ELFHex is a simple "assembler" designed for learning machine code. It takes programs comprising machine instructions and packages them into ELF executable binaries.
A JavaScript port I wrote long ago, of a game I wrote even longer ago for the TI-83+, about dodging "asteroids", playable in the browser.
Byte pair encoding is a simple but (sometimes) effective algorithm for compressing data (especially textual data). Best of all, it is very easy to understand! Therefore, in this experiment I have created a simple Python script that implements byte pair encoding on files.
Following on from part one of my series of chemistry visualisations is a useful diagram detailing the components of many common organic reactions, that typical high school students may come across in their work.
A simple chart that visually describes the relationships between various units found in chemistry, created to help with my high school chemistry classes.
Some maths functions I wrote for my TI-89 calculator that may help with various maths problems. Fully documented both with NoteFolio and in an included text files.
A small PHP-based MySQL query interface that you can run yourself.
After my blog encountered a high volume of SPAM, I developed this PHP library to integrate with the Akismet anti-spam service.
In this experiment, I created a completely customisable JavaScript-based alternative to the notoriously difficult-to-style <select>
form control. It works by hiding the original select element, and when the user clicks on an option, the original control is automatically updated. This means that it also degrades nicely with JavaScript off, as the old select is simply not replaced and continues to be usable. It even works in IE6!
A Flash-based application that renders the Mandelbrot set. I first attempted a renderer written in Javascript, which can be found in the article, but it was too slow. So, Flash was used.
A small and very simple chaos game written in JavaScript for the canvas element. It works in Firefox and Safari.
A small classic snake game, with five speeds. The script is actually adapted from a snake game I wrote for the TI-89 calculators in TI-BASIC.
A HTML layout with three columns that expand to fit the browser’s width and have both columns the same height, which can incorporate images in the design.