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 …

Python array

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

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

Read...

How to Serve Multiple Domains Using Virtual Hosts

Снова себе напоминалка себе, забыл про вирт. хосты. На мульти доменном сервере всегда нужно делать …

Read...

MySQL key efficiency 100

MySQL key efficiency 100% key efficiency 100 This is to remember the conf for this: for 1GB RAM dedicated server:

qu…

Read...

vSphere Datastore usage on disk - alert

Yo! Check this out and try to understand why this happens? Alerts saying there is less than 8Gb fre…

Read...

Perforce - Windows start investigation and install

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

Read...

Веб-сайт на IIS + FastCGI

Многие считают это извращением, но для собственного опыта и для закрепления понимания общего процес…

Read...

VMware KB: After installing/upgrading to vCenter Server 5.1, the Active Directory domain is not listed when trying to assign permissions

Be aware, if you lost this shit tread - you can possibly lost your evening by reinstalling the vCen…

Read...

Update Redmine 2.6*

Redmine_2_6Как-то совсем упустил момент, когда вышли 2 новых версии редмайна с кучей исправлений и вот обновля…

Read...

Который по счету "блог"

Такое себе интересное чувство, когда ты завел в своей жизни уже дюжину блогов, и то и дело таскал т…

Read...

Webmin SSL disable

Как выключить SSL  в вебмине:

/etc/webmin/miniserf.conf
ssl=0
~service webmin restart

Read...