Doomsday trainer on bash startup
Force yourself to find the weekday of a random date every time you open your terminal
Table of contents
Expect something like this to happen every time you open your terminal:
2016-01-07: 1 Incorrect. Correct answer: 4 2018-03-06: 2 Correct! Time: 7.01 s yourprompt: ~$
(You'll get your prompt back on your first success).
You can also train more intensively by typing
yourprompt: ~$ dm Enter q to quit. 1946-07-08: 1 Correct! Time: 18.47 s 2018-10-18: 4 Correct! Time: 4.63 s
- Python 3
- Go to your desired installation path:
- Clone the repo:
git clone https://github.com/timotheechauvin/doomsday-on-bash-startup
- Go to the end of your
- Add the following lines at the end:
alias dm='your/path/doomsday-on-bash-startup/main.py loop' python your/path/doomsday-on-bash-startup/main.py
If you're really in a hurry, you can press Ctrl + C to kill the process and get back your prompt.
Issues, feedback and pull requests are all warmly welcome!
A significant part of this code is heavily inspired from https://github.com/sguichard/doomsday_trainer.
This project is under the MIT license.