Coder Social home page Coder Social logo

knightrider / fortunes Goto Github PK

View Code? Open in Web Editor NEW
5.0 3.0 1.0 44 KB

Collection of quotes we like. Inspired to create this project by Hamlet D'Arcy and Dale Manthei.

License: MIT License

Makefile 100.00%
fortune fortune-cookie fortune-cookies fortunes fortune-mod fortune-command quotes

fortunes's Introduction

Fortunes

This repo contains a collection of files with quotes we like.

These files can be turned into fortune database files.

Inspired by Hamlet D'Arcy and Dale Manthei to create this repository.

Support the project

I know this is a tiny repository but people use it (high 5 to all of us) - if you happen to use this projectm, please click the star button (at the top of the page) - it means a lot to all the contributors.

What is Fortune?

Fortune is a simple Unix program that displays a random message from a database of quotations.

$ fortune

"What we see is mainly what we look for."
  ~Unknown

Installing Fortune

fortune package. If your computer has already installed it, skip this step.

# Mac
$ brew install fortune
# Debian/Ubuntu
$ sudo apt-get install fortune

Usage

Clone the repo.

$ git clone [email protected]:knightrider/fortunes.git

Then build the data files.

$ make
$ fortune [OPTIONS] [/path/to/fortunes/src]

How to automatically launch fortune when opening a shell window

Depending on which shell you use, at the end of your ~/.bashrc or ~/.zshrc file, copy the following lines into it.

fortune [OPTIONS] [/path/to/fortunes/src/]

So, that's a little boring. Snaz it up a little bit by adding CowSay.

# Mac
$ brew install cowsay
# Debian/Ubuntu
$ sudo apt-get install cowsay
# Node version of cowsay
$ npm install -g cowsay
fortune [OPTIONS] [/path/to/fortunes/src/] | cowsay

# Now you get
 _______________________________________
/ The only thing necessary for the      \
| triumph of evil is for good men to do |
\ nothing. - Edmund Burke               /
 ---------------------------------------
        \   ^__^
         \  (oo)\_______
            (__)\       )\/\
                ||----w |
                ||     ||

License

angular-bootstrap-datetimepicker is released under the MIT license and is copyright 2015 Knight Rider Consulting, Inc.. Boiled down to smaller chunks, it can be described with the following conditions.

It requires you to:

  • Keep the license and copyright notice included in files when you use them in your works

It permits you to:

  • Freely download and use the source code, in whole or in part, for personal, private, company internal, or commercial purposes
  • Use this source code in packages or distributions that you create
  • Modify the source code
  • Grant a sublicense to modify and distribute source code to third parties not included in the license

It forbids you to:

  • Hold the authors and license owners liable for damages as this source code is provided without warranty
  • Hold the creators or copyright holders of this source code liable
  • Redistribute any piece of source code without proper attribution
  • Use any marks owned by Knight Rider Consulting, Inc. in any way that might state or imply that Knight Rider Consulting, Inc. endorses your distribution
  • Use any marks owned by Knight Rider Consulting, Inc. in any way that might state or imply that you created the Knight Rider Consulting, Inc. software in question

It does not require you to:

  • Include the source code itself, or of any modifications you may have made to it, in any redistribution you may assemble that includes it
  • Submit changes that you make to the source code back to this repository (though such feedback is encouraged)

The full license is located in the project repository for more information.

fortunes's People

Contributors

dalelotts avatar hamletdrc avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

hamletdrc

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.