Last 4 posts published.
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
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 …
!-->
Under construction, see blog. Random 10 posts below.
Django + apache2 + mod_wsgi
This is conf file to allow apache run Django applications.
# Web site at /var/www/smm_tools # Pyt…
MySQL troubleshooting
Возможные проблемы:
-
отваливается сокет /var/lib/musql/mysql.sock
Can't connect to l…
VMware ESX extop command usage
Очень полезная штукень, нельзя потерять extop interpreter
VMware ESX extop command usage
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…
!-->MySQL how to Alter multiple schema tables
To MyISAM from all InnoDB:
SET @DATABASE_NAME = 'db_name'; SELECT CONCAT('ALTER TABLE `', table_…