Skip to content

Instantly share code, notes, and snippets.

@matsimitsu
Forked from jeffkreeftmeijer/hashtagerize.rb
Created November 26, 2009 16:02
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save matsimitsu/243539 to your computer and use it in GitHub Desktop.
#!/usr/bin/ruby
require 'cgi'
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