Update README.md
parent
139d31b823
commit
b19b3e908e
10
README.md
10
README.md
|
@ -7,19 +7,29 @@ I'll hand code an ecommerce in wasm before I learn python
|
||||||
All standard utilities that come pre-installed on debian except jq (and maybe curl?)
|
All standard utilities that come pre-installed on debian except jq (and maybe curl?)
|
||||||
|
|
||||||
::$ chmod +x run getlink linkloc reply_post
|
::$ chmod +x run getlink linkloc reply_post
|
||||||
|
|
||||||
::$ ./run
|
::$ ./run
|
||||||
|
|
||||||
If you comment out the post API call and remove the link regex,
|
If you comment out the post API call and remove the link regex,
|
||||||
|
|
||||||
this bot can get you a list of all links posted,
|
this bot can get you a list of all links posted,
|
||||||
|
|
||||||
as well as which are text-posts and unauthorized (e.g. deleted)
|
as well as which are text-posts and unauthorized (e.g. deleted)
|
||||||
|
|
||||||
Instead of
|
Instead of
|
||||||
|
|
||||||
::$ ./run
|
::$ ./run
|
||||||
|
|
||||||
just
|
just
|
||||||
|
|
||||||
::$ nohup ./run &
|
::$ nohup ./run &
|
||||||
|
|
||||||
and exit the terminal. All outputted code will go into nohup.out and you can close the ssh session.
|
and exit the terminal. All outputted code will go into nohup.out and you can close the ssh session.
|
||||||
|
|
||||||
::$ ps -e | grep run
|
::$ ps -e | grep run
|
||||||
|
|
||||||
to get the process id to cancel it
|
to get the process id to cancel it
|
||||||
|
|
||||||
::$ kill ####
|
::$ kill ####
|
||||||
|
|
||||||
15000 post id checks hardcoded in the while loop, just in case
|
15000 post id checks hardcoded in the while loop, just in case
|
Loading…
Reference in New Issue