Go to file
Johann 922e239c5c added example to Readme 2021-06-14 08:54:25 +02:00
__pycache__ jokeapi 2021-06-10 23:11:49 +02:00
LICENSE Initial commit 2021-06-10 22:33:04 +02:00
README.md added example to Readme 2021-06-14 08:54:25 +02:00
jokeapi.py jokeapi 2021-06-10 23:11:49 +02:00
lol.py jokeapi 2021-06-10 23:11:49 +02:00

README.md

lol

First edit the bashrc with vim ~/.bashrc or if you have a bash_alias vim ~/.bash_aliases and add there python3 ~/git/lol/lol.py. Also you need to install one python library with sudo pip3 install simplejson. Now restart the terminal.

Then clone this repo (you can copy all lines and insert in your command line, it will execute the commands automatically with exeption of the last line, there you have to press enter).

cd
mkdir git
cd git
git clone https://git.johann-brauer.de:3000/Johann/lol.git

Now you can type lol and see what you get - have fun!


Sample Output

user@pc:~$ lol
why do python programmers wear glasses?
Because they can't C.