2007.04.11 one time i blogged Comments ( 4400 )

and then i didn't blog no more.. funny how that works.

649 days of pain left on the counter.. amazing. that is like.. almost countable.

2006.10.25 hpricot rocks Comments ( 110 )

Originally a message to Hank.. but he already knows this.. so here it is for you:

hpricot kicks ass

I decided I wanted to archive all the images on this site: http://www.holybible.com/resources/doctrine2/images/

yeah, i know about flash-got.. but it was a good excuse to try out hpricot..

%w[open-uri rubygems hpricot ].each { |f| require f }
SITE = 'http://www.holybible.com/resources/doctrine2/images/'
doc = Hpricot open(SITE)
(doc/:a).each do |l|
  puts "#{SITE}#{l.attributes['href']}" if l.attributes['href'] =~ /^\w+.gif$/
end
replacing puts with a wget or such. how disgustingly awesome. I feel like screen scraping everything!

2006.09.20 GHJKL Comments ( 159 )

dvorak users need to make sure their linux consoles are left in normal mode.. and that when typing 'aoeu' or what ever teh asdf equivalent in dvorak is... anyway.. when typing 'aeou' it switchs to QWERTY mode.

Why do i keep trying to spell QWERTY as QUWERTY? or even QUERTY..