Output a random pun (from punoftheday.com) by running the following command:
./pun.py
See it running at https://pun.andrewmacheret.com.
Prereqs:
- python
- py-bs4 (you can install it with
easy_install bs4
)
Usage:
./pun.py
Prereqs:
Usage:
-
npm install
-
node pun-server.js
Prereqs:
Usage:
-
docker run --rm -it -p 9999:80 andrewmacheret/pun-server
-
curl localhost:9999
To install the motd updater so you see a new random pun every time you ssh into your server, run:
sudo motd/setup.sh
Result: