Compare commits

...

3 Commits

Author SHA1 Message Date
Johann 922e239c5c added example to Readme 2021-06-14 08:54:25 +02:00
Johann 4bcd9b4b75 „README.md“ ändern 2021-06-10 23:35:45 +02:00
Johann 70e22cb0ef „README.md“ ändern 2021-06-10 23:31:29 +02:00
1 changed files with 14 additions and 8 deletions

View File

@ -1,19 +1,25 @@
# 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`
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)
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!
---
or download only the right file
``` bash
## Sample Output
``` bash
user@pc:~$ lol
why do python programmers wear glasses?
Because they can't C.
```