Skip to content

Instantly share code, notes, and snippets.

View ytechie's full-sized avatar
😁

Jason Young ytechie

😁
View GitHub Profile
@chrisswanda
chrisswanda / WireGuard_Setup.txt
Last active June 29, 2024 07:53
Stupid simple setting up WireGuard - Server and multiple peers
Install WireGuard via whatever package manager you use. For me, I use apt.
$ sudo add-apt-repository ppa:wireguard/wireguard
$ sudo apt-get update
$ sudo apt-get install wireguard
MacOS
$ brew install wireguard-tools
Generate key your key pairs. The key pairs are just that, key pairs. They can be
@stewartadam
stewartadam / 00-docker-linuxserver-README.md
Last active October 11, 2022 17:13
systemd configuration for containers on boot with docker-compose (via linuxserver.io, among others)

Overview

This sample is intended for modern Linux systems using systemd (Fedora, Ubuntu, Arch, etc).

Installation

Install the files in this gist, replacing dashes for slashes (e.g. etc-systemd-system-dockercompose.service should be installed to /etc/systemd/system/dockercompose.service) and then run systemctl enable --now dockercompose.service to get things started.

Usage

Any manual docker-compose commands should be run from /srv/appdata/linuxserver so that the values from the .env file are applied properly.

Log files can be viewed by running docker-compose -f --tail=50.

@WilliamBerryiii
WilliamBerryiii / dockerfile.txt
Created June 21, 2017 16:13
Dockerfile to build .netstandard 2.0 capable bindings for IoT-Edge
FROM buildpack-deps:jessie-scm
# Install .NET CLI dependencies
RUN apt-get update \
&& apt-get install -y --no-install-recommends \
libc6 \
libcurl3 \
libgcc1 \
libgssapi-krb5-2 \
libicu52 \