-
-
Save matsimitsu/243523 to your computer and use it in GitHub Desktop.
Improved Jeff's Version, made it more awesome-o
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/ruby | |
require 'cgi' | |
puts 'please type the text you want to #hashtagerize and press [ENTER]...' | |
IO.popen 'open http://twitter.com/?status=' << CGI::escape(gets.split(' ').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