Skip to content

Instantly share code, notes, and snippets.

View adamveld12's full-sized avatar
Working from home

Adam Veldhousen adamveld12

Working from home
View GitHub Profile
adamveld12 / base.yml
Created January 5, 2020 03:25
traefik setup
kind: CustomResourceDefinition
version: v1alpha1
kind: IngressRoute
plural: ingressroutes
adamveld12 /
Created November 21, 2019 23:56 — forked from lukas-h/
Markdown License Badges for your Project

Markdown License badges

Collection of License badges for your Project's README file.
This list includes the most common open source and open data licenses.
Easily copy and paste the code under the badges into your Markdown files.


adamveld12 / ipcalc.go
Created January 27, 2019 15:44 — forked from kotakanbe/ipcalc.go
get all IP address from CIDR in golang
package main
import (
func Hosts(cidr string) ([]string, error) {
adamveld12 / arp-packet-scanner.go
Created January 23, 2019 05:24 — forked from herry13/arp-packet-scanner.go
Catching ARP packet in Go
package main
import (
using UnityEngine;
using System;
public class ScreenshotCamera
static Vector3 FocusPoint;
static float Aperture = 20.0f;
RealTimeSince timeSinceMessage;
string MessageText;
adamveld12 /
Last active September 12, 2016 17:35
Docker Machine Bash Shortcuts
# simplifies using docker-machine
function dm() {
local TARGET=$2
if [ -z "$2" ]; then
case $1 in
"start" | "up" )
adamveld12 /
Last active February 29, 2016 14:08
Linux Setup Scripts
apt-get purge lxc-docker*;
apt-get purge*;
apt-get update;
apt-get install -y apt-transport-https ca-certificates;
apt-key adv --keyserver hkp:// --recv-keys 58118E89F3A912897C070ADBF76221572C52609D;
echo "deb debian-jessie main" >> /etc/apt/sources.list.d/docker.list;
apt-get update;
adamveld12 / gist:1a827a75aca4108baee1
Created January 9, 2016 23:44 — forked from saetia/gist:1623487
Clean Install – OS X 10.11 El Capitan

OS X Preferences

most of these require logout/restart to take effect

# Enable character repeat on keydown
defaults write -g ApplePressAndHoldEnabled -bool false

# Set a shorter Delay until key repeat
adamveld12 /
Created November 30, 2015 19:09 — forked from soheilhy/
How to proxy web apps using nginx?

Virtual Hosts on nginx (CSC309)

When hosting our web applications, we often have one public IP address (i.e., an IP address visible to the outside world) using which we want to host multiple web apps. For example, one may wants to host three different web apps respectively for,, and on the same machine using a single IP address.

How can we do that? Well, the good news is Internet browsers