Code
When there’s some code I think is worth sharing, I post it here.
-
Nibbler: Multi-Base Encoder
—
Monday, April 5th, 2010
—
JavaScript Base32 encoding and more! (continued)
-
Logostack
—
Wednesday, November 18th, 2009
—
A stack-oriented variant on Logo that uses postfix notation, kind of a cross between Logo and PostScript. (continued)
-
Simple Interfaciness in JavaScript
—
Friday, October 16th, 2009
—
This script provides some simple interface-like behavior in JavaScript, by asserting that a given constructor must produce objects that have certain members. (continued)
-
Not-Quite-Logo in JavaScript
—
Sunday, March 1st, 2009
—
Sorry, guys, I kind of jumped the gun on this one. I decided that what I posted here ... (continued)
-
Clumpy Bug Fix and Unit Tests
—
Sunday, March 1st, 2009
—
I fixed a bug today that prevented a Clumpy instance from being re-used. You can download the latest ... (continued)
-
JSLint
—
Wednesday, January 28th, 2009
—
A couple colleagues have asked me about the ways things are arranged in Clumpy.js. So now that I’m ... (continued)
-
Asynchronizer Is Now Called Clumpy
—
Tuesday, January 13th, 2009
—
Asynchronizer — my first attempt at a system for modeling non-blocking loops in JavaScript — had a lot of ... (continued)
-
JavaScript Alert Cancel Button
—
Saturday, May 31st, 2008
—
A Greasemonkey script that adds a Cancel button to JavaScript's alert() function. (continued)
-
Collapsible List
—
Wednesday, August 22nd, 2007
—
This script turns a nested HTML list into a collapsible menu that uses cookies to remember which nodes are expanded, even when you navigate to a different page. (continued)
-
3D Rendering via CSS Borders
—
Saturday, January 1st, 2005
—
Not what you think! (continued)