Code Monkey home page Code Monkey logo

developers-quotes's Introduction

Developer quotes

This repo tries to recover several quotes related with development world and put all together.

Here's how to download the project and how to use it with different tools:

How to use

Build in JSON

Instructions

After installing NodeJS, if you don't have it already installed. Just simply run:

~$: node build.json.js

And it will produce a json file with the quotes, ready to be consumed.

Build for Fortune

About fortune

fortune is a simple program that displays a pseudorandom message from a database of quotations that first appeared in Version 7 Unix.

If you want to add some more quotes to your database, or remove it, the only thing that you have to do is to split the qoutes with the '%' character.

Instructions

Instalation

If you don't have installed fortune yet on your system, probably you can download it from the public repositories. For example, debian distrubutions can install the software with the command:

~$: sudo apt-get install fortune

You can try if the installation was right running the command

~$: fortune

And fortune will show you a random message from its database.

Build the database

To generate the databases for the program fortune you should execute the command into the project folder, where the developers file is placed.

~$: sudo strfile developers

That command will generate developers.dat with all the qoutes in a binary file.

Place the database

The route used by fortune in a linux system is:

/usr/share/games/fortunes/

Then, you can move the generated file to the fortune quotes source folder.

~$: sudo mv developers.dat /usr/share/games/fortunes/developers.dat

Test the database

To test the new database you only have to run the command with the 'developers' param, what means that database will be used by fortune

~$: fortune developers

Expand your bounds, and make it fun

fortune can be used with other programs like cowsay. If you have cowsay installed you can run all together and show funny messages.

developers-quotes's People

Contributors

viticlick avatar gatsbimantico avatar

Watchers

James Cloos 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.