aspose file tools*
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


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Languages » Ruby
Bookmark "My first usefull..ish script" Watch "My first usefull..ish script" New topic
Author

My first usefull..ish script

Tyrel Richey
Greenhorn

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 https://github.com/tyrel86/Inspiring-Quotes

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
Sheriff

Joined: Feb 05, 2003
Posts: 4727

Cool!

I forked you: https://github.com/marcpeabody/Inspiring-Quotes


A good workman is known by his tools.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: My first usefull..ish script