This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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 Murach's Java Servlets and JSP this week in the Servlets 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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: My first usefull..ish script
 
Similar Threads
Can't start with Ruby on Windows
Problems while executing unix script from Java...
Ruby: the new Perl ? (syntax sugar that kills, too many ways to write stuff)
BufferdReader/Writer problem
Jar files, Script Engines, File associations, OH MY!