Skip navigation

It’s often slower to delete thousands of files using the Mac OS X finder. A quicker way would be to use the Terminal. Read More »

Octocat

If you’re like me, you may have added one too many files to your git repository on a late night of coding… You don’t want to delete the files locally, so you can’t just delete the files and commit. Read More »

wordpress-logo-hoz-rgb

It’s always fun going back to your WordPress blog, after an extended period away from it, and finding some spammer had a fun weekend with your site testing out their favourite spam techniques. Read More »

When working with Virtual Machines, you may encounter an issue activating your license of Microsoft Windows. Using Parallels, I ran into this issue as well, as it seemed to use a default Product Key that I didn’t enter.

Read More »

logo-mongodb-onwhite

For those of you new to mongoDB, there’s a lot to like… it’s fast and relative easy to get started. When you’ve gotten to the point where you want to make sure your databases are backed, hopefully you can learn from my mistakes. Read More »

Some of you may find that, when encountering a PHP error in your WordPress templates, WordPress is suppressing your error message. This makes it harder to debug and figure out what’s going on. Read More »

Client-Side Browser Detection

When trying to determine what browser your web users are using, there are several schools of thought. Parse the User-Agent string, use conditional comments for IE, or look for features – the latter being the most popular, modern choice when using client-side JavaScript Frameworks.

Server-Side Browser Detection

On the server-side, you would grab the User-Agent string just as you would in JavaScript, and the code is pretty straight-forward. What we’ve also done here is detect a minimum browser version supported, so you could allow only users of Firefox versions 12+, or IE9 and above, for example. Read More »

One of the caveats of using the latest and greatest version of Ruby on Rails seems to be some incompatibilities or flat out failures. One of the things I noticed was a common error, where my version of Rake 0.9.3 beta was too new as the system was expecting Rake 0.9.2.2.

Read More »

I thought I would share some specifications from the Hackintosh I built earlier this year. While it took me many hours of research and implementation, it was all worth it, and I’d do it again. My reasons are simple: I can add higher end components that Apple doesn’t usually offer, and I can save a bunch of money doing it as well.

Read More »

Since Apple has changed a few things with Xcode 4.2, where the /developer folder is no longer created and Xcode becomes an Application, there are a few issues you may run into when trying to install Ruby on Rails.

Read More »