25 lines
703 B
Markdown
25 lines
703 B
Markdown
# 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).
|
|
``` bash
|
|
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
|
|
|
|
``` bash
|
|
user@pc:~$ lol
|
|
why do python programmers wear glasses?
|
|
Because they can't C.
|
|
``` |