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 …
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 set…
Заводим питончика дома или установка Python на Centos 6
Хороший гайд здесь: https://github.com/h2oai/h2o/wiki/Installing-python-2.7-on-centos-6.3.-Fol…
Atlassian Confluence REST API Making request and keep the session (Eng)
In this topic I'll show you how to make session to Atlassian Confluence with python requests and ke…
php upgrade Centos 6
Bookmarked
rpm -Uvh http://download.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm…
MySQL how to Alter multiple schema tables
To MyISAM from all InnoDB:
SET @DATABASE_NAME = 'db_name'; SELECT CONCAT('ALTER TABLE `', table_…
Python schedule how to
Задачка на вечер: Дано: задание, которое нужно выполнять в заданные промежутки времени, модуль Pyth…
Redmine Plugin Install
Просто напоминание себе: Каждый плагин копируется:
root@tet-redmine redmine/plugins# git clone htt…