Created
October 20, 2008 04:16
-
-
Save chrislloyd/18014 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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