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:

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.

 

Simple

 Go to file:

sudo vi …

MySQL how to Alter multiple schema tables

To MyISAM from all InnoDB:

SET @DATABASE_NAME = 'db_name';
SELECT  CONCAT('ALTER TABLE `', table_…

Read...

Plone installation

Will try to use Plone CMS for test cases, interesting to see what and how CMS on Python worked. Sta…

Read...

Python schedule how to

Задачка на вечер: Дано: задание, которое нужно выполнять в заданные промежутки времени, модуль Pyth…

Read...

Django + Python 3.4 + WAMP Apache 2.4.23 + Pycharm

Finally worked instance for hosting DEV site code on python and ability to resolve is as "on live" …

Read...

centos mount smb

Shitty task I can`t resolve:

[root@web-server tmp]# smbclient -L 192.168.1.22 -U samba
WARNING: T…

Read...

Redmine Plugin Install

Просто напоминание себе: Каждый плагин копируется:

root@tet-redmine redmine/plugins# git clone htt…

Read...

Perforce - Centos start investigation and install

The Perforce service and applications are available from the Downloads page on the Perforce web sit…

Read...

Свое интернет-радио

Для настройки своей собственной интернет станции нам потребуется что-то из следующего списка, на вы…

Read...

vSphere Datastore usage on disk - alert

Yo! Check this out and try to understand why this happens? Alerts saying there is less than 8Gb fre…

Read...

Python 3 showing progressbar while subprocess.Popen

Have an interesting case I want to share and save for future. One small problem in this system:&nb…

Read...