Django middleware for the rescue!
Finally, I can have a better working middleware which can catch HTTP status errors, make a redirect-response to the main page and also save a visitor.
Now I can also …
I finally made the comments at this site.
Please use the comments form below any post.
Or leave feedback on the Feedback page if you want to ask a general question.
I use Disqus for comments, you might …
Raspberry 5 test-to-speech using Piper
I wanted to make my Raspberry tell me about power outages and air alerts near my location.
The setup is pretty simple and described ar the repo:
I didn't …
Installing NUT - Network Ups Tool Notifications and emails
Notifications and email
Just a simple work log of installing NUT and configuring email notifications from it.
- Start here: Installing NUT
Simple
Go to file:
sudo vi …
Вначале ты...
Вначале, ты решаешь поучить Python, начинаешь немного углубляться... ... и приходишь в себя в тот м…
Test automation or: How I Learned to Stop Worrying and Love Async __init__
Morning everybody…
I recommend reading this part of the blog only in the morn…
!-->!-->!-->MySQL how to Alter multiple schema tables
To MyISAM from all InnoDB:
SET @DATABASE_NAME = 'db_name'; SELECT CONCAT('ALTER TABLE `', table_…
SAM Broadcaster queue/playlist rotation
Использую несколько вариантов добавления треков в очередь, попеременно меняю способ работы программ…
Python - Django Celery - кейс длиною в вечность.
Вкратце: когда добавляешь пачку тасок на Celery worker'ы, случается так, что парочка из них отвалив…
Django, Apache2, Sublime Text 3 build system and developing process.
At first be sure that you are using this path to run pure apache: http://www.trianglesis.org.u…
Redmine digest emails
Digest plugin
Есть такой волшебный плагин, который в заданные промежутки времени может отправлять …