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 …
!-->VK_execute
Для всех страждущих наконец выкладываю нормальные примеры использования VK Script: https://github.c…
Can't create plan: Table 'bamboo_db.NOTIFICATIONS' doesn't exist RESOLVED
An issue with clean install Bamboo + MySQL
Can't create plan: Table 'bamboo_db.NOTIFICATIONS' does…
Perforce - Centos start investigation and install
The Perforce service and applications are available from the Downloads page on the Perforce web sit…
Django + apache2 + mod_wsgi
This is conf file to allow apache run Django applications.
# Web site at /var/www/smm_tools # Pyt…
Perforce - Windows start investigation and install
Perforce is a commercial, proprietary revision control system developed by Perforce Software, Inc. …
Python array
Начинаю учить Пайтон, буду набивать шпаргалки.
lst = ['spam', 'drums', 100, 1234] print(lst[2]) …
Installing NUT - Network Ups Tool
Install and use Network Ups Tool - an open source Uninterruptible Power Supply software
MySQL how to Alter multiple schema tables
To MyISAM from all InnoDB:
SET @DATABASE_NAME = 'db_name'; SELECT CONCAT('ALTER TABLE `', table_…
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…