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 …

Redmine update 3.0.1

Redmine Update

Great, there is a new Redmine 3.0.1 published!

Read...

php upgrade Centos 6

Bookmarked

rpm -Uvh http://download.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm

Read...

Redmine upgrade проблемы версий

Как проапгрейдить редмайн написано на оф. сайте: http://www.redmine.org/projects/redmine/wiki/Redmi…

Read...

Python HTMLParser and Vkontakte randomizer

Finally I've finish my first "program" on Python.py_vk The task is to parse people's id from web page wh…

Read...

Django middleware for the rescue!

Finally, I can have a better working middleware which can catch HTTP status errors, make a redirect…

How to use Django middleware to save visitors and response to bad status codes.

Update Redmine 2.6*

Redmine_2_6Как-то совсем упустил момент, когда вышли 2 новых версии редмайна с кучей исправлений и вот обновля…

Read...

VmWare vCenter Server clean installation

После многочасовых мучений и попыток найти гайд, я все-таки разобрался сам и смог поставить и настр…

Read...

Django + Python3.4 + Mysql(MariaDB)

Just hint for future me: [su_note]How to install django with mysqld - log[/su_note]

[root@test smm…

Read...

Redmine кривые плагины ч2

Всегда, если что-то не работает, нужно делать --trace Тогда можно будет обнаружить много интересног…

Read...

Python schedule how to

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

Read...