GithubHelp home page GithubHelp logo

monkey-write's Introduction

Where did you arrived?

According to the infinite monkey theorem, a million monkeys at a million keyboards could produce the complete works of Shakespeare. It's time to have fun with that.

This repo has code to concatenate random words from the Linux dictionary of American English; I excluded proper nouns to make it more interesting.

To run the app, type in terminal bash src/monkey-write.sh $1, where $1 is the number of words in the sentence.

I made a monkey cow to use in cowsay (src/monkey.cow). You can use it by copying it to the cowsay file folder (cp src/monkey.cow /usr/share/cowsay/cows, maybe sudo it) and specifying cowsay -f monkey.

Example:

bash src/monkey-write.sh 25 | cowsay -f monkey

 ____________________________________
/ archenemy's eyesore's femininity's \
| contiguity's alphabet's cumulus's  |
| climaxed claimants austerity's     |
| charities guesses expression       |
| anarchist's drudge disadvantage's  |
| convulsions booms butterfingers's  |
| firstly dingo's catgut's earthworm |
\ dimensional disguising chiaroscuro /
 ------------------------------------
\
   .-"-.
 _/.-.-.\_
( ( o o ) )
 |/  "  \|
  \ .-. /
  /`"""`\
 /       \

Home is where the heart is, but the stars are made of Latinum

The quark-says.sh will trigger Quark to teach you a random Rule of Aquisition.

This script looks for relative paths, so you can alias it in ~/.bashrc if you want:

echo "alias quark='/home/whereyouputit/monkey-write/src/quark-says.sh'" >> ~/.bashrc
source ~/.bashrc
quark

Rule of Aquisition # 48 : The bigger the smile, the sharper the knife.

monkey-write's People

Contributors

emilio-berti avatar

Watchers

 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.