Coder Social home page Coder Social logo

fortune's Introduction

fortune

Quips I've assembled for fortune, cowsay, dinosay, etc.

Howto

Run the install.sh to compile the database and copy the files to the fortune directory.

NOTE: The install script uses sudo for the copy, so you will need sudoer or root permissions.

Then:

fortune -e ksaj

This also works with fortune piped through cowsay and all the other fortune filter variants. I recommend trying dinosay, which is found here: https://github.com/MatteoGuadrini/dinosay

Incidentally, here's how I use it personally. It greets me every time I open a new bash terminal. You can do something like this by simply adding the following line to the end of your .bashrc or equivalent terminal shell configuration file:

fortune -e ksaj | cowthink -f $(find /usr/share/cowsay/cows -type f | shuf -n 1)

But I'll probably try dinosay for a while. I'll come back later with whatever command line I settle with.

An example of how this appears:

_________________________________________
( "A Hotel with an infinite number of     )
( rooms can accommodate extra guests even )
( if it is full" -- Hilbert's Paradox     )
 -----------------------------------------
  o
   o
       __     
      UooU\.'@@@@@@`.
      \__/(@@@@@@@@@@)
           (@@@@@@@@)
           `YY~~~~YY'
            ||    ||

Update frequency

I'll only be updating it when I see a quote I'd like presented in my login. So it could be often, or rarely. It's really for my own entertainment, but made public for anyone who wants to see how to create their own fortunes.

UPDATE: I've added a file of stupid things trump says, and another of quotes that exemplify the theme of Ruined Childhood. Each has a .sh script to compile and install the fortune databases.

LICENSE

Only $49.99 to start, and then 99 cents / month thereafter. Just kidding. Public domain. Do with it what you wish. You don't even have to credit me. Enjoy!

fortune's People

Contributors

ksaj avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.