found drama

get oblique

Category Archives: Code

Shell scripts, JavaScript pedantry, CSS fixations, Java debugging, and the rest of the polyglotism.

a Compass convert

by Rob Friesel

This evening I deployed version 0.5 of my “Orin” theme for this blog. The main motivator for version 0.5, and thus the bulk of the changes, was to switch from a “pure Sass” project, to a Compass-based project. For some reason, I expected this to be a big effort. But boy was I wrong. First, […]

a jshint pre-commit hook for git

by Rob Friesel

JavaScript is a wily beast: optional semi-colons and braces 1, sneaky performance hits, promiscuous equality operators and other dirty tricks… If you’re not careful, you could get yourself in trouble. Fortunately, there are tools out there to help. One of the recent additions to the JavaScript developer’s code quality toolkit is jshint. 2 Even more […]

a JavaScriptCore wrapper for jshint

by Rob Friesel

Last night, I opened a pull request (my second) on the JSHint project. I created a wrapper for Apple’s JavaScriptCore (JSC) engine, which ships with (effectively) every Mac that’s out there. Why JavaScriptCore? That’s the obvious question, right? Why even bother creating a wrapper for JSC when JSHint is already out-of-the-box ready for Node.js, and ships with […]

a better version comparator

by Rob Friesel

Back in February, I wrote a little Ruby script to deal with sorting version numbers as they’re dumped out of the git tag command. The problem (in a nutshell) is that “1.0.2” < “1.0.10” — except that git returns these as strings which sort alphabetically. Hence the original Ruby script. Now: if you’re behaving yourself, and following […]