How many users on
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
Mature, refined and elegant. Almost, but not entirely unlike the geek equivalent of a good wine.
How many users on
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
The database for my old blog got corrupted, so I’m going to rebuild it on the latest Wordpress. It’ll probably take a while and lots of links could be broken. Apologies for any inconvenience