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 …

Installation Perforce Helix Proxy

From here Download here

Installation on Windows

Just using installer: Windows evidence…

Read...

Python Run External Command And Get Output On Screen or In Variable

Отседова: http://www.cyberciti.biz/faq/python-run-external-command-and-get-output/ The basic syntax…

Read...

php upgrade Centos 6

Bookmarked

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

Read...

Вначале ты...

Вначале, ты решаешь поучить Python, начинаешь немного углубляться... ... и приходишь в себя в тот м…

Read...

All about Atlassian JIRA 2.2

THE problem:

Neither the JAVA_HOME nor the JRE_HOME environment variable is defined
At least one …

Read...

Django fast hints

Here some fast hints to remember: Migration:

cd ~/myproject
python manage.py makemigrations
pyth…

Read...

ADDM Stopping Reasoning service

ADDM can stuck on reloading.

ADDMrestart ADDM_500 This doesn`t help: Before ADDM 8.2 you will need to restart reasoni…

Read...

For list of dicts: merge same key values, sum another diff. values, count each merge iteration +1 Python

If anybody can help me with some task? I have list of dicts(or tuples), where: if tuples:

 comment…

Read...

Perforce - Windows start investigation and install

Perforce is a commercial, proprietary revision control system developed by Perforce Software, Inc. …

Read...

Который по счету "блог"

Такое себе интересное чувство, когда ты завел в своей жизни уже дюжину блогов, и то и дело таскал т…

Read...