File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Ruby and the fly likes My first usefull..ish script Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Languages » Ruby
Bookmark "My first usefull..ish script" Watch "My first usefull..ish script" New topic

My first usefull..ish script

Tyrel Richey

Joined: Oct 10, 2010
Posts: 9
Hello Everyone,

I don't know if this is the right place for this but I am trying to get some constructive criticism for my programming style and I made my first usefull...ish script.

I used to love fortune and I would always add it to .bashrc so I would get a cool greeting. However I am pretty sure I have memorized all of them and I wanted to make something similar for the new Unix world.

So I used my new ruby skills and made a script that downloads a random inspirational quote and displays it to standard output.

If any one is interested they can download it and give it try from

There are instructions on how to get it up and running please let me know what you think.

Please note you will need a ruby interpreter for it to work as well as ruby gems and the colorize gem.

Thank you every one

What if every thing around you is an elaborate dream?
-Trent Reznor
Marc Peabody
pie sneak

Joined: Feb 05, 2003
Posts: 4727


I forked you:

A good workman is known by his tools.
I agree. Here's the link:
subject: My first usefull..ish script
It's not a secret anymore!