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 …

IIS 7.5 + FTP Services

Ни для кого не секрет, из тех кто занимался этим - как поднять ФТП сервер посредствам IIS 7.5 в Win…

Read...

Django static files

How to find where def. static stores?

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

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...

Веб-сайт на Apache

Способ организации веб-хостинга на домашнем сервере CentOS при помощи следующих программных пакетов…

Read...

python script as centos service

Task completed!py_vk I made a vkontakte Bot which delete all comments are not from group members! But I …

Read...

Django + apache2 + mod_wsgi

This is conf file to allow apache run Django applications.

# Web site at /var/www/smm_tools
# Pyt…

Read...

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

How to convert an OVA virtual machine to VHD

This is "How to convert an OVA virtual machine to VHD" guide link

My approve for this guide, it's …

Read...

MySQL default my.cnf концигурация

Далее приведена конфигурация MySQL сервера файлом: /etc/my.cnf по принятым стандартам для хоста с 1…

Read...

MySQL troubleshooting

Возможные проблемы:

  •  отваливается сокет /var/lib/musql/mysql.sock

Can't connect to l…

Read...