hoodwink.d enhanced
RSS
2.0
XHTML
1.0

RedHanded

Stream Copy YouTube, Revver, Etc. #

by why in inspect

said on

Awesome syntax highlighter. When can we expect the etch-a-sketch version to be released?

said on

Could you please use a mono-space font next time?

said on

Where’s the pastie?

said on

I admire your artistry and attention to detail, and the style is refreshingly different. It is a bit tricky to enlarge this in Firefox, unlike other text on the site for which I can use the scroll wheel. Would you consider making these artworks into links to the plain text versions, please? I don’t want to cramp your style, or stifle creativity – you’ll have to continue these until you have have enough for 3 volumes [“The Art of Computer Programming” :-)]. These things (more prographs then programs, but I think that name is taken] must take a long time to do.

said on

My dad always said I should take coloured pencils into exams, just in case.

Why do you use Net::HTTP.start in the 1st instance, instead of another Hpricot(KEEPVID.read)? Is it the only way to do the POST call with the additional params?

said on

But that would defeat the whole point! We are to live as scribes do.

said on

Oh my god. Is your wonderful editor available on mac ? Or your font freely usable ? Have you ever though making a font from the divine moves of your hands ?

said on

The editor is in your mind.

said on

I think this is good. It reminds me of the 80s when you had to type in code from the back of magazines.

said on

So where’s the checksum column already?

said on

http://pastie.caboo.se/41538 I’m reasonably certain I transcribed it correctly.

said on

Maybe we should be careful where/when we transcribe such things—perhaps why is trying to give those of us among us who identify as human a slight headstart on those of us who are more machine…

said on

WhyStiff… perpetually stuck in kindergarten…

said on
said on

More like _why: perpetually sexy! I am pleased to report that the balloon works quite well. Now I can enjoy my crazy cat videos offline!

said on

Ben: Ha! Look beneath the surface. If someone saves your life with a Lego brick, are they in kindergarten too?

said on

When in doubt, 303 See Other:

module YouTube
  class << self
    def flv_url(id)
      url = nil
      Net::HTTP.start('youtube.com', 80) do |http|
        t = http.head("/v/#{id}")['location'].split('&').last
        url = http.head("http://youtube.com/get_video?video_id=#{id}&#{t}")['location']
      end
      url
    end
  end
end
said on

Oh my, a boo-boo. Apologies.

said on

ruby keepvid.rb URL to a video ( to quit): http://keepvid.com/watch/4 keepvid.rb:13:in `keep_vid’: undefined method `[]’ for nil:NilClass (NoMethodError) from /usr/lib/ruby/1.8/net/http.rb:545:in `start’ from /usr/lib/ruby/1.8/net/http.rb:440:in `start’ from keepvid.rb:11:in `keep_vid’ from keepvid.rb:44 from keepvid.rb:41

What to do?

said on DD Mon YYYY at HH:MM

* do fancy stuff in your comment.

PREVIEW PANE