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 …
!-->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…
LoadError: cannot load such file -- /var/www/config/environment
Итак, снова бок: LoadError: cannot load such file -- /var/www/config/environment Неразрешенная, эта…
Allow Apache run python scripts
This is a simple ex. to allow apache run .py
# Python site at /var/www/py_site LoadModule wsgi_…
Redmine Plugin Install
Просто напоминание себе: Каждый плагин копируется:
root@tet-redmine redmine/plugins# git clone htt…
PowerShell randomizer
Интересная мутотень, надо не забыть. Пригодится, споры решать.
PS C:\> Get-Random -Mini…
SAM Broadcaster TOP spins
Еще одна непонятная и неприятная фигофина творится с логикой вопспроизведения библиотеки музыка у С…
Свое интернет-радио
Для настройки своей собственной интернет станции нам потребуется что-то из следующего списка, на вы…
Django fast hints
Here some fast hints to remember: Migration:
cd ~/myproject python manage.py makemigrations pyth…