Chemists and biologists have a lab book. I have my diary. The diary allows to record pretty much everything: pictures of electrophoresis gel, summary of publications with good reference system, interesting websites and piece of code.
The original code was written by Jesper Kjær Nielsens from Aalborg University, Denmark, and the code is available at http://kom.aau.dk/~jkn/latex/latex.php#diary.
Python 2.7 or Python 3 and LateX.
Download the repository wherever you want.
cd path/to/the/diary/
python addTask.py 'tag1,tag2' 'Title of the task'