Skip to content

Instantly share code, notes, and snippets.

View qdm12's full-sized avatar

Quentin McGaw qdm12

View GitHub Profile
@qdm12
qdm12 / devcontainer.json
Last active September 13, 2019 00:52
Go Dev devcontainer.json
{
"name": "Your project Dev",
"dockerFile": "Dockerfile",
// "appPort": 8000,
"extensions": [
"ms-vscode.go",
"davidanson.vscode-markdownlint",
"shardulm94.trailing-spaces",
"IBM.output-colorizer"
],
@qdm12
qdm12 / Dockerfile
Last active September 16, 2019 17:23
Go Dev Dockerfile
ARG GO_VERSION=1.13
ARG ALPINE_VERSION=3.10
FROM golang:${GO_VERSION}-alpine${ALPINE_VERSION}
ARG USERNAME=vscode
ARG USER_UID=1000
ARG USER_GID=1000
# Setup user
RUN adduser $USERNAME -s /bin/sh -D -u $USER_UID $USER_GID && \
@qdm12
qdm12 / readme.md
Last active February 27, 2026 22:19
Wireguard setup for Ubuntu server with LAN access

Wireguard setup for LAN access

Assumptions

  • The network 192.168.1.0/24 is your LAN
  • Your Ubuntu server is on your LAN at 192.168.1.10, through the network interface eth0
  • The network 192.168.5.0/24 is non existent
  • Your LAN DNS is at 192.168.1.1

Keybase proof

I hereby claim:

  • I am qdm12 on github.
  • I am quentinmcgaw (https://keybase.io/quentinmcgaw) on keybase.
  • I have a public key ASBlAMEoY0Klst0SL3OKjRWJoHypVzpY9eEfyFvwxZWvGAo

To claim this, I am signing this object: