Friday, March 12, 2010

http://ping.fm/6oYZz SelectorGadget: point and click CSS selectors

Mechanize Screencast and IRB copy history

And again Ryan Bates did a great screencast. This time on mechanize


“Mechanize extends the power of Nokogiri allowing you to interact with multiple pages on the site: click links, submit forms, etc.”


And if you ever wanted to extract the history of an IRB session, here it is:


puts Readline::HISTORY.entries.split("exit").last[0..-2].join("n")


readmore @t

Wednesday, March 10, 2010

http://ping.fm/f9UGZ
Programmatically Creating Website Thumbnails