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 …
!-->Django fast hints
Here some fast hints to remember: Migration:
cd ~/myproject python manage.py makemigrations pyth…
Web server redirect
Во-первых, чтобы найти статьи на интересующую меня тему, пришлось по изгаляться с поиском, правильн…
PowerShell randomizer
Интересная мутотень, надо не забыть. Пригодится, споры решать.
PS C:\> Get-Random -Mini…
MySQL default my.cnf концигурация
Далее приведена конфигурация MySQL сервера файлом: /etc/my.cnf по принятым стандартам для хоста с 1…
JAVA_HOME and other Oracle tales
RUS: Открываю заявку на вступление в джентельменский клуб "Пуканы запеченые от продуктов Oracle" пр…
Redmine кривые плагины ч2
Всегда, если что-то не работает, нужно делать --trace Тогда можно будет обнаружить много интересног…
vk execute method working example on python 3
vk execute
РУС: Сраный интернет и хабрахабры просто завален всякими говнопримерами про vk…
Redmine update 3.0.1
Redmine Update
Great, there is a new Redmine 3.0.1 published!
- Changelog: http://www.redmin…
Python array
Начинаю учить Пайтон, буду набивать шпаргалки.
lst = ['spam', 'drums', 100, 1234] print(lst[2]) …