26Blog

I build web applications using Ruby on Rails.
Feb 2 ’10
dancroak:

vim cheat sheet

dancroak:

vim cheat sheet

(via dancroak)

Jan 3 ’10

HTML5 Forms

I wasn’t aware of this, but here’s how the iPhone is able to display different keyboards based on Mobile Safari form fields:

The iPhone does not have a physical keyboard. All “typing” is done by tapping on an on-screen keyboard that pops up at appropriate times, like when you focus a form field in a web page. Apple did something very clever in the iPhone’s web browser. It recognizes several of the new HTML5 input types, and DYNAMICALLY CHANGES THE ON-SCREEN KEYBOARD to optimize for that kind of input.

For example, email addresses are text, right? Sure, but they’re a special kind of type. For example, virtually all email addresses contain the @ sign and at least one period (.), but they’re unlikely to contain any spaces. So when you use an iPhone and focus an <input type="email"> element, you get an on-screen keyboard that contains a smaller-than-usual space bar, plus dedicated keys for the @ and . characters.

From Dive Into HTML5

Jan 2 ’10
Be always at war with your vices, at peace with your neighbors, and let each new year find you a better man.
— Benjamin Frankiln (via rulesformyunbornson)

179 notes (via rulesformyunbornson)

Jan 1 ’10

Jan 1 ’10
2009 becomes 2010: Happy New Year! by Optical illusion, on Flickr

It&#8217;s a new year and with it comes all the ambition and resolve to make things better in our lives. I&#8217;m no different and I intend to make this the year I finally become a participant in the web development community. This is my public pledge to post something once a week going forward.

I&#8217;ve been hesitant to post findings or articles because I often feel I have little to add to the Ruby or Rails community. Perhaps the most apt description comes from Sandi Metz on her blog:


  The Ruby crowd is a fierce meritocracy where everyone is scary smart and each believes that everyone else is slightly smarter. They&#8217;re chasing perfection and claiming ignorance. They love a good idea. They want to change the world.


It&#8217;s true, we have some amazing talent in our little corner! However, it&#8217;s easy to forget that Ruby newbies walk through the doors every day. Blogs like TeachMeToCode  and Railscasts help, so I&#8217;ll give it a shot also. It&#8217;s my intention to impart whatever knowledge I can here to assist those new to Ruby and Rails.

2009 becomes 2010: Happy New Year! by Optical illusion, on Flickr

It’s a new year and with it comes all the ambition and resolve to make things better in our lives. I’m no different and I intend to make this the year I finally become a participant in the web development community. This is my public pledge to post something once a week going forward.

I’ve been hesitant to post findings or articles because I often feel I have little to add to the Ruby or Rails community. Perhaps the most apt description comes from Sandi Metz on her blog:

The Ruby crowd is a fierce meritocracy where everyone is scary smart and each believes that everyone else is slightly smarter. They’re chasing perfection and claiming ignorance. They love a good idea. They want to change the world.

It’s true, we have some amazing talent in our little corner! However, it’s easy to forget that Ruby newbies walk through the doors every day. Blogs like TeachMeToCode and Railscasts help, so I’ll give it a shot also. It’s my intention to impart whatever knowledge I can here to assist those new to Ruby and Rails.