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 …

Centos Python Installation Guide with no Pain

Centos 7 + Python 3(4,5,6,7,8) installation guide with no pain. As for me.

 

I can't e…

Centos Python Installation Guide with no Pain

qwinsta rwinsta утилиты

Здесь рассмотрим такую утилиту как: qwinsta/rwinsta Она позволяет посмотреть сессии удаленного…

Read...

vk execute - parse array or posts and get comments of each

vk executepy_vk

Родил, наконец-то, следующее детище Франкенштейна:

Read...

Oh my gosh BACULA config

Recently finished bacula config and run first one successfully! I'm really do not understand now, w…

Read...

Django static files

How to find where def. static stores?

[root@test smm_py]# python3 manage.py findstatic css/base.cs…

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.

Redmine update 3.0.1

Redmine Update

Great, there is a new Redmine 3.0.1 published!

Read...

All about Atlassian JIRA

Atlassian JIRA

Пришло время взяться за исследование своего первого продукта на работке. На этот ре…

Read...

How to Serve Multiple Domains Using Virtual Hosts

Снова себе напоминалка себе, забыл про вирт. хосты. На мульти доменном сервере всегда нужно делать …

Read...

LoadError: cannot load such file -- /var/www/config/environment

Итак, снова бок: LoadError: cannot load such file -- /var/www/config/environment Неразрешенная, эта…

Read...