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 …

Install Bacula on debian systems

Failed to load the database DBI driver SQLite at ./bacula-backup-lib.pl line 45 Based on:

Read...

VK_execute

Для всех страждущих наконец выкладываю нормальные примеры использования VK Script: https://github.c…

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

Инсталим Redmine на Centos 6

Для начала следует сразу прочесть: официальный гайд СДЕЛАЛ СНЕПШОТ ВИРУАЛКИ После чего пойдем по не…

Read...

Atlassian Confluence REST API Logic structure (Eng)

Read this article after you know how to make REST API request to Atlassian Confluence! atlassian_con This topic …

Read...

How tired I am of Google way how get API tokens

Google APIYou must:

  1. Create application and take its id and secret.
  2. Make a GET request to send secret and …

Read...

Django fast hints

Here some fast hints to remember: Migration:

cd ~/myproject
python manage.py makemigrations
pyth…

Read...

Better, then best vk execute and python part. 2

Крайняя степень эффективности.py_vk Теперь скрипт не парсит данные, их парсит сам ВК и возвращает мне ли…

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

Test automation or: How I Learned to Stop Worrying and Love Async __init__

Morning everybody…

 

I recommend reading this part of the blog only in the morn…

Read...