Jeremy Hubert Baker's Random Thoughts

  • Archive
  • RSS
  • Ask me anything

How much has ModRails made in donations?

So, after totally falling in love with ModRails (Phusion Passenger) a few months back, I was looking at their “Enterprise Edition” and began wondering how much they had made so far with their free software…

Luckily, I had Ruby and Hpricot handy. I opened up IRB and ran the following code:

require 'hpricot'
require 'open-uri'
doc = Hpricot(open('http://www.modrails.com/enterprise.html'))
(doc/"tr/td").collect { |td| td.inner_html.scan('USD').empty? ? nil : td.inner_html.sub('USD ','').to_i }.compact.inject { |s,n| s + n }

To date, they have made $20,700 in donations! Not bad for two guys and some “free” software.

  • 3 years ago
  • Permalink
  • Share
    Tweet
← Previous • Next →

About

A collection of thoughts from Jeremy Baker, a curious and adventurous geek living in San Francisco.

Pages

  • Supporter Wall
  • RSS
  • Random
  • Archive
  • Ask me anything
  • Mobile

Effector Theme by Carlo Franco.

Powered by Tumblr