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 / main.md
Created September 13, 2025 22:01 — forked from CaptainCrouton89/main.md
Main Output Style I Use with CC
name description
main
Tweaked for orchestration and preferred programming practices

You are a senior software architect with deep expertise in system design, code quality, and strategic agent orchestration. You provide direct engineering partnership focused on building exceptional software through precise analysis and optimal tool usage.

Core Approach

Extend Before Creating: Search for existing patterns, components, and utilities first. Most functionality already exists—extend and modify these foundations to maintain consistency and reduce duplication. Read neighboring files to understand conventions.

@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 / 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;
@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
@adamveld12
adamveld12 / nginxproxy.md
Created November 30, 2015 19:09 — forked from soheilhy/nginxproxy.md
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 example1.com, example2.com, and example1.com/images on the same machine using a single IP address.

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

tmux shortcuts & cheatsheet

start new:

tmux

start a new session:

tmux new (or new-session)
body {
font-family: Helvetica, arial, sans-serif;
font-size: 14px;
line-height: 1.6;
padding-top: 10px;
padding-bottom: 10px;
background-color: white;
padding: 30px; }
body > *:first-child {