I pushed 20 more of my projects to GitHub
catonmat.net
catonmat.net
http://pastie.textmate.org/pastes/695197
A slight variant of this base64 codec (I believe suitable as a node/commonJS module) is also used by the http://js.io/ project: http://github.com/mcarter/js.io/blob/master/packages/std/bas...
node> var buf = require('fs').readFileSync('./tests/data/data-png.png');
node> require('jacob.js').base64.encode(buf)
Base64CodecError: Input contains out-of-range characters.
Also node.js now has its own base64 encoding and decoding functions right in Buffer, so there is no longer need for any base64 modules.That said, as soon as I started checking code in, I ended up creating 2 (very small) projects and sharing them publicly, as they weren't anything close to even remotely core to the other product that I'm building (that I bought github for), and it seemed silly to use up 2 of my private projects on such trivial applications.
This is exactly the behavior that Github encourages, and as someone who hasn't contributed to open source in a very long time, it was interesting to see how quickly Github re-converted me.
Edit: http://github.com/bmelton is the location of the projects. There are currently 2 up there, both in a very fledgeling state:
http://github.com/bmelton/Braveicon is a simple favicon library that will accept a URL as a parameter and find the favicon for a given url. The URL can be fully qualified ('http://news.ycombinator.com) or loose (news.ycombinator.com), and braveicon will step through all of the W3C valid means of specifying a favicon and return the URL.
http://github.com/bmelton/Twister is a server administration framework for starting / restarting tornado web server instances. Since Tornado is typically managed by your app, the app must be (very slightly) modified, but this reduces having to 'ps -ef | grep [myscriptname]' multiple times to kill your app, and gives you 'twister.py restart' instead.