lol/README.md

25 lines
703 B
Markdown
Raw Normal View History

2021-06-10 20:33:04 +00:00
# lol
2021-06-10 21:31:29 +00:00
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`.
2021-06-10 21:35:45 +00:00
Also you need to install one python library with `sudo pip3 install simplejson`.
2021-06-10 21:31:29 +00:00
Now restart the terminal.
2021-06-10 20:49:19 +00:00
2021-06-10 21:31:29 +00:00
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).
2021-06-10 20:49:19 +00:00
``` bash
cd
mkdir git
cd git
git clone https://git.johann-brauer.de:3000/Johann/lol.git
```
2021-06-14 06:54:25 +00:00
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.
```