Skip to content

Instantly share code, notes, and snippets.

@jeffkreeftmeijer
Forked from matsimitsu/hashtagerize.rb
Created November 26, 2009 16:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jeffkreeftmeijer/243540 to your computer and use it in GitHub Desktop.
Save jeffkreeftmeijer/243540 to your computer and use it in GitHub Desktop.
#Hashtagerize. The wet dream of hashtag-overusing-idiots out there.
#!/usr/bin/ruby
require 'cgi'
# #Hashtagerize. The wet dream of hashtag-overusing-idiots out there.
# You know who you are. Stop it.
IO.popen 'open http://twitter.com/?status=' << CGI::escape(ARGV.collect { |word| word[0] == 64 ? word : "##{word}" }.join(' '))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment