March 2011
1 post
Mar 26th
January 2011
2 posts
Jan 31st
Jan 22nd
November 2010
4 posts
Nov 16th
Nov 2nd
Nov 2nd
Nov 2nd
October 2010
2 posts
Oct 25th
Oct 25th
September 2010
1 post
Sep 9th
October 2009
0 posts
Oct 1st
August 2009
1 post
Aug 22nd
July 2009
1 post
Jul 12th
June 2009
1 post
Jun 20th
December 2008
1 post
Dec 24th
2 notes
September 2008
2 posts
Sep 29th
Sep 7th
August 2008
7 posts
Aug 30th
Aug 23rd
Aug 23rd
Aug 22nd
require ‘open-uri’require ‘hpricot’ class Gistr  def initialize(gist_id)    @gist_id = gist_id  end   def post(email, password, title)    post_to_tumblr(email, password, title, gist_code)  end   def gist_code    return @gist_code if @gist_code     # Use the secret .pibb format    code =...
Aug 11th
1 note
# Parallel map# Originally from http://project.ioni.st/post/2332#snippet_2332class Array  def pmap    threads = []    0.upto(size - 1) do |n|      threads « Thread.new do        yield(at(n))      end    end    threads.collect {|thread| thread.value}  endend # Trade-off between resource consumption# and speed of execution.# Much faster in some scenarios, # much...
Aug 10th
## Created by Eric Lindvall <eric@5stops.com>## Making it simple to provide input for http://wordle.net/create## require ‘rubygems’gem ‘mechanize’require ‘mechanize’ def collect_entries(page)  page.parser.search(‘.entry-content’).collect do |span|...
Aug 10th
May 2008
2 posts
May 25th
May 14th
January 2008
5 posts
Jan 21st
Jan 21st
Jan 7th
Jan 5th
Jan 3rd
December 2007
4 posts
Dec 31st
Dec 30th
Dec 28th
Dec 28th
September 2007
2 posts
Sep 6th
Sep 5th
August 2007
1 post
Aug 11th
July 2007
14 posts
Jul 29th
Jul 28th
Jul 27th
Jul 26th
Jul 21st
Jul 20th
Jul 18th
Jul 17th
Jul 15th
Jul 9th
Jul 8th
Jul 8th