Running Gunicorn webserver from Python with state preserving object
This article demonstrates how to configure and run Gunicorn directly from Python 3 code without using configuration files or invoking gunicorn
from the command line.
It also demonstrates how to setup a stateful backend with Gunicorn where a single Python object is kept alive between requests such that it can …
... read more ...Introducing Notes'n'Todos
Note'n'Todos is an open source web app for managing personal notes and todos. The notes are written in markdown and have time stamps, tags and embedded todos. The back end stores the notes as plain text files on the server.
... read more ...Making ghee with a pot and a tea strainer
Ghee is a cooking fat that tolerates higher temperatures and lasts a lot longer on the shelf compared to regular butter. It has an amazing smell of buttery baked goods and caramel. Proponents say it's a healthy food item loaded with natural antioxidants, vitamins and healthy types of fat, and …
... read more ...Installing AWStats on Ubuntu 20.04 with Nginx
This is a guide for installing AWStats on an Ubuntu 20.04 server for website analytics of multiple virtual hosts served by Nginx.
AWStats is a venerable log analyzer going all the way back to year 2000. But it is still one of the better free web analytics solutions that …
... read more ...Enjoying Git without TortoiseHg workbench
Using Git as an experienced hg / Mercurial user can be frustrating. I can say that from personal experience. There is no free GUI for Git that match the power and ease of use of TortoiseHg workbench, and some terms in Git just annoy hg users to no end, like what …
... read more ...Block Trouble published!
Some time ago I stumbled on the fabulous Classic Tetris World Championship videos on YouTube and started binge watching the masters beat the heck out of good old NES Tetris. These awesome videos reinvigorated my dormant Tetris itch and started this whole thing.
I'm no stranger to Tetris and can …
... read more ...Copy-pasting files in the Linux terminal
The clipboard cut, copy and paste functions can be a great timesaver when organizing files.
But there didn't seem to be an obvious way to use those functions with the command line in Linux while targeting the main clipboard of the desktop environment such that files can be transferred between …
... read more ...Fixing a stalling Slava 2414 mechanical watch
This is a photo post about repairing a Russian Slava 2414 21-jewel movement with a loose cannon pinion, that causes the hour and minute hands to stall at about 10 pm. I managed to fix the problem without replacing any parts. Just cleaning and turning a gear wheel the opposite …
... read more ...