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
adamveld12 / cooked.md
Created September 6, 2025 02:24 — forked from breadchris/cooked.md
compiling dinner

Compiling Dinner

When you read a recipe, you’re already programming. Ingredients are inputs. Actions—chop, stir, simmer—are instructions. The kitchen is your runtime environment, and you, the cook, are the processor. If you follow the recipe to the letter, you get the expected output: a finished dish. Miss a step, and you’ve introduced a bug. Burn the onions, and you’ve hit a runtime error.

Seen this way, recipes are languages, and cooking is compilation.

Recipes as Grammar

@adamveld12
adamveld12 / base.yml
Created January 5, 2020 03:25
traefik setup
apiVersion: apiextensions.k8s.io/v1beta1
kind: CustomResourceDefinition
metadata:
name: ingressroutes.traefik.containo.us
spec:
group: traefik.containo.us
version: v1alpha1
names:
kind: IngressRoute
plural: ingressroutes
@adamveld12
adamveld12 / license-badges.md
Created November 21, 2019 23:56 — forked from lukas-h/license-badges.md
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.

Notes

@adamveld12
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 (
"net"
"os/exec"
"github.com/k0kubun/pp"
)
func Hosts(cidr string) ([]string, error) {
@adamveld12
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 (
"fmt"
"github.com/google/gopacket"
"github.com/google/gopacket/layers"
"github.com/google/gopacket/pcap"
"log"
"net"
)
using UnityEngine;
using System;
public class ScreenshotCamera
{
static Vector3 FocusPoint;
static float Aperture = 20.0f;
RealTimeSince timeSinceMessage;
string MessageText;
0x8B0c12EAb7D40D7CB57F435F96b56145516DADdF
@adamveld12
adamveld12 / dm.sh
Last active September 12, 2016 17:35
Docker Machine Bash Shortcuts
# simplifies using docker-machine
function dm() {
local TARGET=$2
if [ -z "$2" ]; then
TARGET="default"
fi
case $1 in
"start" | "up" )
@adamveld12
adamveld12 / debian_jessie.sh
Last active February 29, 2016 14:08
Linux Setup Scripts
apt-get purge lxc-docker*;
apt-get purge docker.io*;
apt-get update;
apt-get install -y apt-transport-https ca-certificates;
apt-key adv --keyserver hkp://p80.pool.sks-keyservers.net:80 --recv-keys 58118E89F3A912897C070ADBF76221572C52609D;
echo "deb https://apt.dockerproject.org/repo debian-jessie main" >> /etc/apt/sources.list.d/docker.list;
apt-get update;
@adamveld12
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