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 …

Installing NUT - Network Ups Tool

I'll describe a full path on how to install and use NUT.
My implementation is using Raspberry Pi 5…

Install and use Network Ups Tool - an open source Uninterruptible Power Supply software

Веб-сайт на IIS + FastCGI

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

Read...

Allow Apache run python scripts

This is a simple ex. to allow apache run .py

# Python site at /var/www/py_site

LoadModule wsgi_…

Read...

VMware ESXi 5.5 NFS datastores

"Неочевидный" факт - но если примонтировать к хосту ESXi новый датастор на базе NFS, пост…

Read...

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

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

Read...

VMware KB: After installing/upgrading to vCenter Server 5.1, the Active Directory domain is not listed when trying to assign permissions

Be aware, if you lost this shit tread - you can possibly lost your evening by reinstalling the vCen…

Read...

Virtual Machine Disks consolidation is needed

Do not forget to delete your old snapshots or you will suffer because of CONSOLIDATION! If you're m…

Read...

Django fast hints

Here some fast hints to remember: Migration:

cd ~/myproject
python manage.py makemigrations
pyth…

Read...

PostgreSQL first run

This is the most common issue for PostgreSQL first run in Linux env: configure the server to allow …

Read...

Настройка Java.exe на VMware vCenter Server 5.5

Ранее, когда я устанавливал vCenter Server, я выбирал в кофигурации самый маленький объем ресурсов,…

Read...