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:
I didn't …
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.
- Start here: Installing NUT
Simple
Go to file:
sudo vi …
Redmine кривые плагины ч2
Всегда, если что-то не работает, нужно делать --trace Тогда можно будет обнаружить много интересног…
vk execute method working example on python 3
vk execute
РУС: Сраный интернет и хабрахабры просто завален всякими говнопримерами про vk…
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…
!-->!-->!-->Allow Apache run python scripts
This is a simple ex. to allow apache run .py
# Python site at /var/www/py_site LoadModule wsgi_…
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…
vk execute wall get comments automation
Как использовать vk execute для получения всех комментариев со всех постов?
SAM Broadcaster TOP spins
Еще одна непонятная и неприятная фигофина творится с логикой вопспроизведения библиотеки музыка у С…
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.