Skip to content

Instantly share code, notes, and snippets.

thunfischbrot

Block or report user

Report or block thunfischbrot

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
@thunfischbrot
thunfischbrot / docker-compose.yml
Created Mar 18, 2018
plik docker-compose.yml for docker-compose-letsencrypt-nginx-proxy-companion
View docker-compose.yml
version: '3'
services:
plik:
hostname: upload.xyz.com
container_name: upload
image: rootgg/plik:latest
environment:
- VIRTUAL_HOST=upload.xyz.com
- VIRTUAL_PORT=8080
@thunfischbrot
thunfischbrot / unison@.service
Created Feb 20, 2018
Unison systemd service
View unison@.service
# /etc/systemd/system/unison@.service
# Starts unison with the .prf-config of your choice
# Create a unison .prf-config such as
# https://gist.github.com/thunfischbrot/3efbd4a87785615a61e4f5fd875f2699
# Set the HOME Environment variable below to the user's home dir
# Reload systemd services
# systemctl daemon-reload
# Start service with name of your .prf
# systemctl start unison@20Documents
# systemctl status
@thunfischbrot
thunfischbrot / 10Documents.prf
Last active Feb 20, 2018
Unison settings for continuous mirror
View 10Documents.prf
# /root/.unison/10Documents.prf
# Create one config file for each folder, or add one per
# root folder and add subfolders via
# path = 10Documents
# path = 20Media
# To make this unison job load at machine startup use an init-script
# or systemd service such as
# https://gist.github.com/thunfischbrot/0b6a21a84f166c4fa74fc5df4a470b17
# local root to sync
@thunfischbrot
thunfischbrot / autossh.init.sh
Last active Jan 23, 2018 — forked from Clement-TS/autossh.init.sh
Autossh init script (Ubuntu) for ssh tunneling
View autossh.init.sh
#! /bin/sh
# author: Clément Désiles
# date: 01/08/2016
# source: https://gist.github.com/suma/8134207
# source: http://stackoverflow.com/questions/34094792/autossh-pid-is-not-equal-to-the-one-in-pidfile-when-using-start-stop-daemon
### BEGIN INIT INFO
# Provides: autossh
# Required-Start: $remote_fs $syslog
# Required-Stop: $remote_fs $syslog
View Building Blink on OS X.md
You can’t perform that action at this time.