Führt der eigene Code http-Calls aus, z.B. um Dateien von einem externen Server runterzuladen stellt sich die Frage nach der Testbarkeit. Idealerweise ist der Code so aufgebaut, daß er nicht direkt von einer http-Library abhängt und man entsprechende Calls mocken kann. Ist dies nicht einfach möglich, kann man den in der Standarlibrary eingebauten http.server
als localhost-Gegenstelle für Tests verwenden.
Category: network
How to fix mumble-server startup with letsencrypt certificates on Ubuntu
On Ubuntu 20.04 the default installation of mumble server doesn’t startup with a certbot letsencrypt certificate. The reason is unsufficent permission to the key files which are owned by root.
Continue reading “How to fix mumble-server startup with letsencrypt certificates on Ubuntu”Homeassistant with Traefik and SSH
So the idea is to have a home router listen on port 443 for HTTPS and SSH connection simultanously, route HTTPS traffic to a local homeassistant instance and SSH traffic to a local SSH server:

Find syncthing conflict files
Synthing is an encrypted open source file synchronization tool. It synchronizes pairs of folders between two or more computers.
In case of a conflict (a file changed on both sides since the last synchronization) the conflicting file is saved as <filename>.sync-conflict-<date>-<time>-<modifiedBy>.<ext>
.
Manually trigger a syncthing rescan
Synthing is an encrypted open source file synchronization tool. It synchronizes pairs of folders between two or more computers. The synchronization runs usually time triggered. From time to time there might be a need to start the synchronization manually.
Continue reading “Manually trigger a syncthing rescan”