Tag Archives: ruby

Links: Parsing in Ruby and JavaScript

I’ve been reading quite a bit about parsing and templating in ruby as I attempt to port a templating engine from JavaScript to Ruby. Here are some scattered links: Jison Jison is a parser generator for JavaScript that has separate … Continue reading

Posted in uncategorized | Tagged , , , , , | Leave a comment

Deleting from Chrome’s History

I wrote a script to delete URLs containing a string from Chrome’s history. It works for me. I don’t understand everything that it does, though, so it may have serious flaws. Use at your own risk. I really like sqlite … Continue reading

Posted in uncategorized | Tagged , , , , , | Comments Off

Resources for Learning Rails

Here is a list of a few awesome sites offering tools for learning Rails: PeepCode Pricing: Starts at $12 for one screencast; Twitter: @peepcode and @topfunky I bought my first PeepCode screencast back in 2008, before Rails and Merb merged. … Continue reading

Posted in uncategorized | Tagged , , , , | Comments Off

the one-line sinatra app

The five-line sinatra app on http://www.sinatrarb.com/ is pretty damn impressive: require ‘rubygems’ require ‘sinatra’ get ‘/hi’ do “Hello World!” end I can do four lines better than that, though: require ‘sinatra’ So what does that get you? batkin:cholla ben$ ruby … Continue reading

Posted in uncategorized | Tagged , | Comments Off

Practice

I just watched Corey Haines’ lightning talk from this year’s acts_as_conference: He makes a lot of really good points in a short amount of time. One of the things he says is that if we have to look at documentation … Continue reading

Posted in uncategorized | Tagged , , , | 2 Comments