require 'rubygems' require 'aqueduct' require 'open-uri' if __FILE__ == $0 [aqueduct { URI("http://www.qwantz.com/archive/000001.html").read }, aqueduct { URI("http://www.qwantz.com/archive/000002.html").read }, aqueduct { URI("http://www.qwantz.com/archive/000003.html").read }, aqueduct { URI("http://www.qwantz.com/archive/000004.html").read }, aqueduct { URI("http://www.qwantz.com/archive/000005.html").read }, aqueduct { URI("http://www.qwantz.com/archive/000006.html").read }, aqueduct { URI("http://www.qwantz.com/archive/000007.html").read }, aqueduct { URI("http://www.qwantz.com/archive/000008.html").read }, aqueduct { URI("http://www.qwantz.com/archive/000009.html").read }, aqueduct { URI("http://www.qwantz.com/archive/000010.html").read }]. each do |c| puts c.join[%r!<span class="rss-title">(.+?)</span>!, 1] end end
Bravo! Nice to see a return to RedHanded-esque teasers ;-)
Awesome! I had to add inn.close after the inn.puts to get it to work though (on a Macbook).
inn.close
inn.puts
thanks, that was fun to grok
$ sudo gem install aqueduct --source=http://code.whytheluckystiff.net Password: Updating metadata for 155 gems from http://code.whytheluckystiff.net I’m so lame…
I’m so lame…
ERROR: could not find aqueduct locally or in a repository Now I really suck.
Now I really suck.
oh, require ‘rubygems’ is for the gems listed in 1st line. Pooey. Back to typing it all out…
Don’t scare the kids!
You are nuts. In a good way.
Won’t somebody please think of the children?!
Is this childish enough for you?
Someone else has been watching Tim Brays blog too then?
I’m glad I may not be alone :D
And yes, good fun to have the old post style back, even if the parents like spoiling the fun! ;)
I really like this hack for concurrency! It struck me as cheating at first, but I think it’s more suited for all things.
Awesome job. Looks like I didn’t completely miss out of RedHanded
The style is catching on. Hooray!
Magnus, the children use win32, so if we change open3 to win32/open3, they’ll be happy.
Remember hackers! The children use win32 because they’re oppressed!
Hey _why! Remember me? :P Glad to see some of the redhanded style still here!
Comments are closed for this entry.
Hackety.org is for artful computer hacking. Hobbyists & amateurs welcome. Business trends and language wars? None for us, thankyou! More.
_why
Peter Cooper
Bravo! Nice to see a return to RedHanded-esque teasers ;-)
timf
Awesome! I had to add
inn.close
after theinn.puts
to get it to work though (on a Macbook).caleb
thanks, that was fun to grok
Dr Nic
Dr Nic
Dr Nic
oh, require ‘rubygems’ is for the gems listed in 1st line. Pooey. Back to typing it all out…
Peter
Don’t scare the kids!
chris2
You are nuts. In a good way.
Nonni
Won’t somebody please think of the children?!
Magnus Holm
Is this childish enough for you?
raggi
Someone else has been watching Tim Brays blog too then?
I’m glad I may not be alone :D
And yes, good fun to have the old post style back, even if the parents like spoiling the fun! ;)
seydar
I really like this hack for concurrency! It struck me as cheating at first, but I think it’s more suited for all things.
Awesome job. Looks like I didn’t completely miss out of RedHanded
timf
The style is catching on. Hooray!
Nonni
Magnus, the children use win32, so if we change open3 to win32/open3, they’ll be happy.
Remember hackers! The children use win32 because they’re oppressed!
J`ey
Hey _why!
Remember me? :P
Glad to see some of the redhanded style still here!
Comments are closed for this entry.