Skip to content

Instantly share code, notes, and snippets.

View Alex9779's full-sized avatar

Alexander Leisentritt Alex9779

View GitHub Profile
@Alex9779
Alex9779 / hostnames.sql
Last active February 14, 2017 15:20
DDNS for PowerDNS with MySQL backend
CREATE TABLE hostnames (
hostname VARCHAR(255) PRIMARY KEY,
username VARCHAR(255) NOT NULL
);
CREATE UNIQUE INDEX hostname_index ON hostnames(hostname);
#!/bin/bash
# Start / stop streamer daemon
start() {
sudo -u pi /home/pi/scripts/webcamDaemon >/dev/null 2>&1 &
echo "$0: started"
}
stop() {
pkill -x webcamDaemon

Step 1. Starting the Rescue System - Linux 64bit

Activating the Rescue System

To start a server in the Rescue System, it needs to be activated in the Robot.

Under "Main Functions; Server" select the desired server and then open the tab "Rescue". Here the desired variant can be activated.

The password that was given to you when you activated the Rescue System can now be used to login as "root" via SSH. Restarting the Server

@Alex9779
Alex9779 / main.go
Created June 2, 2021 06:23
ALITECS ADR 1 algorithm for Chirpstack (like default but with DR reduction)
package main
import (
"github.com/hashicorp/go-plugin"
log "github.com/sirupsen/logrus"
"github.com/brocaar/chirpstack-network-server/v3/adr"
)
// Type Handler is the ADR handler.