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
- Start here: Installing NUT
Simple
Go to file:
sudo vi /etc/nut/upsmon.conf
# Email script for NOTIFYCMD
# Simple
NOTIFYCMD "/etc/nut/notifycmd.sh" …
Installing NUT - Network Ups Tool
WSGI mod, Python, Django, Celery and a nice fella virtualenv
Here I'll show how to use Python (3.8.0 in the current example, but legit for latest 3.+ versions, not for os.name == 'NT') and virtualenv to setup WGSI enabled …
!-->WSGI mod, Python, Django, Celery and a nice fella virtualenv
Here I'll show how to use Python (3.8.0 in the current example, but legit for latest 3.+ versions…
!-->For list of dicts: merge same key values, sum another diff. values, count each merge iteration +1 Python
If anybody can help me with some task? I have list of dicts(or tuples), where: if tuples:
comment…
Ну здравствуй, Google Drive API
Ну здравствуй, Google API! Всего каких-от пару месяцев назад, я бы никуй не понял, в этом эльфийско…
MySQL how to Alter multiple schema tables
To MyISAM from all InnoDB:
SET @DATABASE_NAME = 'db_name'; SELECT CONCAT('ALTER TABLE `', table_…
Django static files
How to find where def. static stores?
[root@test smm_py]# python3 manage.py findstatic css/base.cs…
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…
!-->!-->!-->How to Serve Multiple Domains Using Virtual Hosts
Снова себе напоминалка себе, забыл про вирт. хосты. На мульти доменном сервере всегда нужно делать …