Skip to content

Instantly share code, notes, and snippets.

@ymrl
Created January 6, 2013 15:46
Show Gist options
  • Save ymrl/4468020 to your computer and use it in GitHub Desktop.
Save ymrl/4468020 to your computer and use it in GitHub Desktop.
block yoned_(1..99)
require 'tw'
Tw::Client.new.auth
c = Twitter::Client.new
(1..99).each do |i|
Thread.new do
begin
sn = "yoned_#{i}"
c.block(sn)
end
end
end
while Thread::list.length > 1
next
end
puts "complete"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment