Nick not found

Using for Local and Staging Environments

Mar 25 2013

One of the Rails apps I work on is at its core a multi-site content management system. I have the need to test locally and in a staging environment using production data. Using curl -H "Host: only gets you so far, and when you need to test in a browser, that’s not going to cut it.

Continue reading »

Switching From RVM to rbenv on a Production Server

Mar 21 2013 I recently switched a mission-critical production server to use rbenv instead of RVM. The server has been around a little over two years, and it was configured at the beginning to use RVM for hosting one primary and a couple supporting Rails apps.

Continue reading »

Serving an iPhone website with nginx

Jan 12 2009

I’ve been thinking for a while about the best way to automatically take iPhone and iPod touch users to an iPhone-enhanced version of a website when they first access it rather than requiring the users to know the iPhone-specific URL beforehand. This was the main requirement, but there were a few others. These are the problems I needed to solve:

Continue reading »

E-mail Address Obfuscation

Dec 12 2008

If you’ve ever put your e-mail address on your site, you know how quickly spambots find it and start sending you great offers you can’t refuse.  I had this problem and needed to come up with a good solution before beginning to develop client sites.

Continue reading »

Catching up

Dec 7 2008

2009 is less than a month away, and I’m already (read: finally) writing my first blog post.  I’ve written a blog engine (which runs but never a simple post.  Go figure.

As a web developer, I have the pleasure of solving some interesting problems, from simple CSS tricks to complex server-side image processing.  Knowing the feeling of hitting a roadblock at 1:00am the night a client website is supposed to be launched and finding a solution on someone’s blog, I thought it was past time for me to contribute.  Plus, I want to get published before the Internet is full.

Continue reading »

© 2022