Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Generate a random inspiring quote for use with shell logins and message of the day. Or what ever other use you come up with there are no rule ;)
Ruby
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
.quote.rb.swp
README
quote.rb

README

Purpose:

	To brighten your day at the console with a randome quote much like the
old program fortune.

Work you Must Do:

	- download quote.rb from the repo

	- add this to bashrc
	    ruby /path/to/downloaded/script/quote.rb
	
	- gem install nokogiri

	- Enjoy it each time you fire up your shell

Updates:

  2/28/12: The script would hang when there was no wan connection it now ping google and exits if there is no connection 
	2/15/13: Well its been awhile. Apparently the good people at quotedb.com decided to change their api. After researching alternatives do to quotedb's somewhat latent network I found quote daddy. I moved to nokogiri for the parsing every thing else is basically the same.

Something went wrong with that request. Please try again.