February 2012
11 posts
10 tags
Journey to the center of JRuby by Pat Shaughnessy →
A great article explaining a bit in depth of how Ruby code is translated to native machine code via JVM.
7 tags
Beginning Outside-In Rails Development with... →
Great article with source code examples.
9 tags
Essential JavaScript Design Patterns For Beginners →
5 tags
6 tags
7 tags
Convert Ruby 1.8 to 1.9 hash syntax
thoughtbot:
In vim, for an entire file:
:%s/:\([^ ]*\)\(\s*\)=>/\1:/g
In the shell, for an entire project:
perl -pi -e 's/:([\w\d_]+)(\s*)=>/\1:/g' **/*.rb
Now, instead of those old-school hashes like this:
get '/', :agent => MOBILE_BROWSERS do
You’ll have new-school hashes like this:
get '/', agent: MOBILE_BROWSERS do
8 tags
Mobile Web Resources →
Porn for mobile web developers :D
6 tags
Effective Scala →
It’s by Twitter. Should be good :)
9 tags
Tech newsletters
Just to share some newsletters I subscribe to. We all live in a world filled with noise and interruption. Sounds old school, but this is how I manage all the constant updates in tech world.
This way I don’t have to lurk HN, Reddit or other places while keeping focus on other important stuffs for the week.
Check these out.
Ruby Weekly - curated by Peter Cooper - Ruby, Rails, Sinatra etc
...
5 tags
Generators for webdesign
Some handy generators
Ultimate CSS Gradient Generator - developed by Colorzila.
Bootstrap Buttons - a great extension to Twitter’s Bootstrap
6 tags
I am a great programmer, but horrible algorithmist →
Interesting look at the issue.
I think this is common among non computer science grads who end up as programmers (such as me)