Category Archives: uncategorized

The Single Function Module

A function, all by itself: This is the escapeHTML() function from Backbone.js, which is hidden behind a closure. Thankfully it’s now in the latest version of Underscore.js, which is depended upon by Backbone. If an old version of underscore was … Continue reading

Posted in uncategorized | Tagged , , , | Leave a comment

br-jquery: a jquery package for the browserify javascript packager for node.js

I published a node.js package to npm called br-jquery, which contains jQuery and provides an alternate path to downloading jQuery and putting it in a repository when starting a jQuery project. It is a lot like jquery-browserify, but it contains … Continue reading

Posted in uncategorized | Tagged , , , | Leave a comment

One Goal For 2012

This isn’t my only goal for 2012, but it’s the only goal from my only set of goals for 2012 which contains only one goal. My goal is to, each night before I go to bed, prepare for the next … Continue reading

Posted in uncategorized | Tagged , | Leave a comment

rbenv and virtualenv performance tip: load on demand

I found that new terminal sessions were taking a while to load, so I started commenting things out in my bash profile (How to be a Programmer: A Short, Comprehensive, and Personal Summary calls it a Binary Search). I found … Continue reading

Posted in uncategorized | Leave a comment

Links: Parsing in Ruby and JavaScript

I’ve been reading quite a bit about parsing and templating in ruby as I attempt to port a templating engine from JavaScript to Ruby. Here are some scattered links: Jison Jison is a parser generator for JavaScript that has separate … Continue reading

Posted in uncategorized | Tagged , , , , , | Leave a comment