Skip to content

Instantly share code, notes, and snippets.

Alexander Leisentritt Alex9779

Block or report user

Report or block Alex9779

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View OctoPi Webcam Start Stop Script
#!/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
@Alex9779
Alex9779 / hostnames.sql
Last active Feb 14, 2017
DDNS for PowerDNS with MySQL backend
View hostnames.sql
CREATE TABLE hostnames (
hostname VARCHAR(255) PRIMARY KEY,
username VARCHAR(255) NOT NULL
);
CREATE UNIQUE INDEX hostname_index ON hostnames(hostname);
You can’t perform that action at this time.