How many users on Twitter have all “u”s as a username?
require 'net/http'
Net::HTTP.start( 'twitter.com' ) { |http|
us=0
us+=1 until Net::HTTPNotFound==http.request_head('/'+'u'*us).class
puts us
}
# 15
This entry was posted by Libertus on July 12, 2009 at 4:48 pm under Uncategorized.
You can leave a response, or trackback from your own site. Follow any responses to this entry through the RSS 2.0 feed.
Leave a Reply
You must be logged in to post a comment.