• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Jeanne Boyarsky
  • Ron McLeod
Sheriffs:
  • Paul Clapham
  • Liutauras Vilda
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
Bartenders:

My first usefull..ish script

 
Greenhorn
Posts: 9
  • Likes 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
pie sneak
Posts: 4727
Mac VI Editor Ruby
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Cool!

I forked you: https://github.com/marcpeabody/Inspiring-Quotes
 
snakes are really good at eating slugs. And you wouldn't think it, but so are tiny ads:
Smokeless wood heat with a rocket mass heater
https://woodheat.net
reply
    Bookmark Topic Watch Topic
  • New Topic