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

 

Simple

 Go to file:

sudo vi /etc/nut/upsmon.conf
Add at the EOF:
# Email script for NOTIFYCMD
# Simple
NOTIFYCMD "/etc/nut/notifycmd.sh" …

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 and a TP-Link router attached to 800W UPS.
RPi will be …

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…

Read...

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…

Read...

Perforce - Centos start investigation and install

The Perforce service and applications are available from the Downloads page on the Perforce web sit…

Read...

Django + apache2 + mod_wsgi

This is conf file to allow apache run Django applications.

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

Read...

Perforce - Windows start investigation and install

Perforce is a commercial, proprietary revision control system developed by Perforce Software, Inc. …

Read...

Windows mirrored volume and hard reset

When you doing a hardware reset for Windows Server 2012 Hyper-V with RAID1 you may catch "Volume S…

Read...

Python array

Начинаю учить Пайтон, буду набивать шпаргалки.

lst = ['spam', 'drums', 100, 1234]
print(lst[2])
…

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

MySQL how to Alter multiple schema tables

To MyISAM from all InnoDB:

SET @DATABASE_NAME = 'db_name';
SELECT  CONCAT('ALTER TABLE `', table_…

Read...

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…

Read...