Text

Pow web server and static templates

I run the Pow web server (http://pow.cx/) for local development of Ruby web apps. But I also like to prototype sites as static html templates early on in development. Fortunately Pow can handle this as it will serve up html (etc.) from a site’s /public directory.

So create your Pow site as usual but be sure to put the static html in a /public subdirectory, e.g.:

  mkdir -p ~/Sites/prototypename/public
  cd ~/.pow
  ln -s ~/Sites/prototypename

Now you can access your site via http://prototypename.dev/ and it will serve up your ~/Sites/prototypename/public/index.html file.

Link

Rails helper to create Share on Facebook link.

Link

Intercept sent mail in Rails development. Opens messages in new browser window with Launchy.

Link

Collection of flat style icon libraries.

Link

Minimalistic authentication plugin for Rails 3 apps

Quote
"You can learn much more from closely studying actual failures than from theorizing about superior strategies."

The Architecture of Open Source Applications: Graphite

Link

Windows Virtual PC VHDs for testing websites with different Internet Explorer versions

Quote
"The easiest way to gain happiness is to want the things you already have."

— A Guide to the Good Life, by William Irvine

Link

Presentation walking through DBB with Rspec and Cucumber.

Link

JS loading spinners. No images or external CSS required. Small footprint.