Skip to content

Instantly share code, notes, and snippets.

@chrislloyd
Created October 20, 2008 04:16
Show Gist options
  • Save chrislloyd/18014 to your computer and use it in GitHub Desktop.
Save chrislloyd/18014 to your computer and use it in GitHub Desktop.
#!/usr/bin/env ruby
require 'rubygems'
require 'twitter'
require 'faker'
trap('INT') do
puts 'Finishing tweet_hax00r session.'
exit
end
puts 'Starting tweet_hax00r...'
loop do
Twitter::Base.new('username','password').update(Faker::Lorem.words(5+rand(10)).join(' ') + '.')
puts ' + Tweeted'
sleep(1)
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment