QuoteOfTheDay

A simple quote of the day script
Download

QuoteOfTheDay Ranking & Summary

Advertisement

  • Rating:
  • License:
  • GPL
  • Price:
  • FREE
  • Publisher Name:
  • Yuen Ho Wong
  • Publisher web site:
  • http://bitbucket.org/wyuenho/

QuoteOfTheDay Tags


QuoteOfTheDay Description

A simple quote of the day script QuoteOfTheDay is a simple quote of the day script that users can invoke from their home directories without modifying /etc/motd.What is this?Have you ever wondered how you get the login messages when you log into your school's or companies' servers?Have you ever wondered why some people get quotes of the day as their login message and some get the same boring notices everyday?Have you ever wondered how you can configure your system to deliver you some reasonably smart quotes and only discovered that you don't have write permission to /etc/motd?If you have answered yes to any of the above questions, then QuoteOfTheDay is for you. This module simply goes to The Quotations Page (www.quotationspage.com) to pull the quotes and motivational quotes of the day for the past 10 days, pickles the cached quotes in your home directory (so we are all good netizens), and randomly picks one to display on your console everytime you invoke the qotd` script. As a bonus feature, you can also invoke this script in your .login files to see a quote of the day (or the session anyway).Install:Unzip or untar the package, change directory into the extract distribution and type:$ python setup.py installor if you want to do a user-specific installation:$ python setup.py install --install-lib $YOUR_PYTHON_SITE_PACKAGES_PATH --install-scripts $YOUR_PYTHON_SCRIPT_PATHor$ python setup.py install --home ~/or something to these effects, as long as the end-users have access to the qotd script.If you want to see a quote every time you login using a terminal, you can put something similiar to the following in your .bash_profile or .bashrc if you use BASH.if ; then ~/bin/qotd; fiAs usual, consult your shell's manual to find out how to invoke a script at login time. Requirements: · Python What's New in This Release: · Simplified error handling code


QuoteOfTheDay Related Software