Skip to content

Instantly share code, notes, and snippets.

View mikebirdgeneau's full-sized avatar

Mike Birdgeneau mikebirdgeneau

View GitHub Profile
@pamolloy
pamolloy / README.md
Last active January 23, 2024 07:28
Ubiquiti USG configuration for Wireguard

Download the latest ugw3 package from https://github.com/Lochnair/vyatta-wireguard/releases and install it on your USG using dpkg -i wireguard-ugw3-<version>.deb.

cd /config/auth
umask 077
mkdir wireguard
cd wireguard
wg genkey > wg_private.key
wg pubkey < wg_private.key > wg_public.key
@miketheman
miketheman / Makefile
Created September 1, 2016 19:54
Django + docker-compose Makefile
CURRENT_DIRECTORY := $(shell pwd)
TESTSCOPE = apps
TESTFLAGS = --with-timer --timer-top-n 10 --keepdb
help:
@echo "Docker Compose Help"
@echo "-----------------------"
@echo ""
@echo "Run tests to ensure current state is good:"
@jcheng5
jcheng5 / server.R
Created October 26, 2012 17:27
Simple matrixInput example
library(shiny)
shinyServer(function(input, output) {
output$plot <- reactivePlot(function() {
plot(input$foo)
})
})