Skip to content

Instantly share code, notes, and snippets.

@sigmike
Created April 5, 2011 18:36
Show Gist options
  • Save sigmike/904202 to your computer and use it in GitHub Desktop.
Save sigmike/904202 to your computer and use it in GitHub Desktop.
#!/usr/bin/env ruby
require 'rubygems'
require 'twurl'
begin
Twurl::CLI.run(ARGV.dup)
rescue Timeout::Error
STDERR.puts "Timeout. Retrying..."
retry
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment