Github Twitter 2 Delicious Linkedin Stackoverflow Google plus new 32px Rss

Ruby API wrapper using Virtus and Typhoeus

This post will outline the process of building a backend Ruby API wrapper using Typhoeus and Virtus. As a project gets larger and more complex it makes sense to migrate to a service oriented architecture (SOA). This allows you to split out your application into smaller more mana...

Read more13 comments

Switching to Sublime Text 2 Updated

Since I wrote my original post on switching to Sublime Text 2 a lot has changed. The final version was released just a few weeks ago. I also got a new computer and had to reinstall it; what I had originally written is a bit out of date so here is an updated post. Command line Tool ...

Read more9 comments

File Uploading over AJAX using HTML5

Using the HTML5 File API to upload files over AJAX is a great way to to add file upload capabilities and not resort to using a flash based solution or iframe hacks. It's easy to use and works with most modern browsers. This example use the Data URI Scheme to transfer the file over AJAX. ...

Read more8 comments

Why rescue nil is bad

From time to time I see people write code and at the end of the line there will be: rescue nil. This is not good because it will rescue from any exception. I see people rescuing nil because they have a variable and they aren't sure if it is nil so they want to protect against run...

Read more0 comments

Switching to Sublime Text 2

Updated - 07/16/2012 Please see my updated post for current instructions on getting Sublime Text 2 up and running on your machine. Updated - 01/12/2012 I recently switched over to Sublime Text 2 for my primary development editor. I was waiting to see what TextMate 2 would be like, n...

Read more11 comments