nathanblend

Archive for the ‘Development’ Category

merb vs. Django

with one comment

Ever since zedgate the easily influenced are questioning their devotion to Rails. Zed’s post hasn’t really disillusioned me at all, but I’ve been more inspired by Geoffrey Grosenbach’s post to branch out into some other technologies for the sake of learning. Currently the two highest on my radar are Django and merb. I’ve been keeping an eye on Django for awhile and have built a few small utilities in it. Django seems cool but I really just don’t like python that much. To be fair, I actually didn’t really like Ruby all that much until I started doing non-trivial things. In the airport over Christmas break I wrote a small app to keep track of code snippets, kind of like a taggable pastie, to help me remember one-off unix commands. I’m going to to port it to merb and django for kicks to see how it goes.

Written by nathanblend

January 7, 2008 at 5:06 pm

Posted in Development

Tagged with , ,

Lowpro – Hijacking Forms

without comments

Want to hijack a normal form to make it submit via ajax? If you’re using prototype and lowpro:


Event.addBehavior({
'#order_sandwhich_form' : Remote.Form
})

via http://jlaine.net/2007/8/6/from-rails-ajax-helpers-to-low-pro-part-2

Written by nathanblend

October 17, 2007 at 7:37 pm

Posted in Development, Uncategorized

Tagged with , ,

A bash alias for using the old version of capistrano

with one comment

Capistrano 2.x is looking really nice but for an ongoing project with a mammoth deploy.rb file I’m sticking with cap 1.2 (the current release at the time of the project). Thanks to the upgrade FAQ I found an easy way to do this. I created a bash alias because I hate typing _1.2_. Note: you have to have the previous gem still installed. ‘gem list’ to find out.

alias cap1='cap _1.2_ '

Written by nathanblend

October 16, 2007 at 9:53 pm

Posted in Development

Tagged with , , ,

unix: find

without comments

find . -name "*share*" -print

Written by nathanblend

October 16, 2007 at 9:48 pm

Posted in Development

Tagged with ,