Grunting DocPad

TL;DR

DocPad + Grunt in action.

I’ve used DocPad for small personal projects and for larger sites at work. I enjoy it’s API and it does…

Read more

Random Problem of the Night

Writing this to save for posterity on the blog since it is only in a gist currently.

The Problem

There is a pretty big site that we have at work (1000+ pages probably) and I needed to find all the links in the site to a certain page and see what the query string parameters were for those links.

Each query string could have multiple keys and values, and all I needed was a unique array for all the values for each key.

Read more

This Blog Now Is Now Powered By pushState

Update: Since switchin to the Hyde theme, I’ve ditched the pushState stuff. It was fun to play around with, but it’s not really meant for a…

Read more

Shake 'n' Bake Console setTimeout Bomb

Apparently, everyone knows that setTimeout console bombs are the best. I didn’t until my friend Tony Camp showed me but now I can see the light and I’m never going back. This is something that I whipped up so you can throw it in the console of your best friend (or enemy) and try to give them a seizure. Everyone wins.

Read more

Pitchfork.com Album Rating 'API'

A friend of mine told me a few weeks ago that he wanted to make a Chrome plugin to display Pitchfork album scores on Rdio album pages. This seemed like an interesting idea to me, and I wanted to take a stab at the JavaScript for it. The following is a rundown of my thought process while researching the problem and the end result.

Read more