Profile
Achievement
plexus's Recent Snippets
- All /
« Prev 1 Next »
Command line currency convertor, just copy and paste. I named mine 'coin'. Make sure you have Ruby, Rubygems and Hpricot (gem install hpricot).
e.g.
~$ coin 100 eur usd
158.3300
Uses the site xurrency.com.
1
847
posted 16 years ago by plexus
Converts whitespace that spans multiple lines into a single newline, needs improvement
0
866
posted 17 years ago by plexus
There's another snippet here that's pure Ruby. This one can be used from the command line directly. The previous version still used Ruby, this one is pure shell.
0
830
posted 17 years ago by plexus