• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

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
 
Let's go to the waterfront with this tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic