Skip to content

Instantly share code, notes, and snippets.

@stvhay
stvhay / king_warrior_magician_lover.md
Created February 11, 2026 17:35
King_Warrior_Magician_Lover

King, Warrior, Magician, Lover: Rediscovering the Archetypes of the Mature Masculine

Robert Moore and Douglas Gillette


Executive Summary

King, Warrior, Magician, Lover (1990) argues that four Jungian archetypes — King (ordering), Warrior (discipline), Magician (knowledge), Lover (passion) — constitute the deep structure of mature masculinity, and that the modern crisis of manhood stems from the collapse of ritual initiation processes that once helped boys access these energies. The book's bipolar shadow model (every archetype fails in two directions: grandiose inflation or passive collapse) is a genuinely useful clinical tool, its diagnosis of arrested male development was prescient, and its practical recommendations are grounded in real therapeutic technique. However, the framework is undermined by consistently unreliable historical illustrations (Cortes, Chernobyl, Hitler, Vietnam) that psychologize systemic events, unsupported empirical claims presented as established science, an unjusti

@stvhay
stvhay / iso9001.md
Created January 27, 2026 19:50
ISO 9001 in a Nutshell

ISO 9001:2015 Quality Management System

Purpose

ISO 9001:2015 helps organizations deliver products and services that satisfy customers and meet regulations. The standard demands consistent quality and continual improvement.

Principles

  1. Customer Focus — Understand what customers need. Exceed their expectations.
  2. Leadership — Leaders set direction and create conditions where people can contribute.
@stvhay
stvhay / notebook-architecture.md
Last active January 19, 2026 18:15
notebook-architecture.md
@stvhay
stvhay / mother_sauces.md
Last active January 4, 2026 23:09
Mother Sauces

French "Mother" Sauces

Escoffier codified five mother sauces in Le Guide Culinaire (1903) as the foundational building blocks of French cuisine: espagnole (brown stock), chicken velouté and fish velouté (light stock), hollandaise (butter), béchamel (milk), and tomato. The system's purpose was standardization. By mastering these five bases, a cook could derive dozens of secondary sauces through simple additions. This modular approach remains the organizational framework taught in culinary schools today.

flowchart TD
    M[Mother Sauces] --> ES["Espagnole<br/>(Brown Stock)"]
    M --> V["Velouté<br/>(Light Stock)"]
    V --> C["Chicken<br/>(Suprême)"]
 V --&gt; Fish
@stvhay
stvhay / scratchpad.md
Last active December 13, 2025 22:07
Claude Code Live Status - GL.iNet Comet Reversing

Last Updated: 2025-12-13 22:07 UTC Current Work: Issue #88: Project pause - Update status in README Last Checkpoint: 002 - Issue #88 closed - Project pause status added to README Next: No active work - project paused until further notice Status: README.md updated with pause notice and link to GL.iNet forum agreement, commits 78e91d5 and d07a925, scratchpad updated, Issue #88 closed

@stvhay
stvhay / update_pci_8086_1521.md
Last active September 23, 2025 10:40
Proxmox Update PCI pass through based on PCI ID
#!/usr/bin/env bash

vm_id="$1"
phase="$2"


[ $# -ne 2 ] || exit 1
case "$phase" in
        pre-start)  ;;
@stvhay
stvhay / backup-config.sh
Created September 4, 2025 18:21
OPNSense Restic Backup
#!/bin/sh
set -a
cd /root/restic || { >&2 echo "ERROR: Cannot change into directory."; exit 1; }
read AWS_ACCESS_KEY_ID < AWS_ACCESS_KEY_ID
read AWS_SECRET_ACCESS_KEY < AWS_SECRET_ACCESS_KEY
read RESTIC_PASSWORD < RESTIC_PASSWORD
read S3_ENDPOINT < S3_ENDPOINT
@stvhay
stvhay / Dockerfile
Created November 20, 2024 00:59
nginx-extras dockerfile
FROM debian:bookworm-slim
RUN set -x \
# create nginx user/group first, to be consistent throughout docker variants
&& groupadd --system --gid 101 nginx \
&& useradd --system --gid nginx --no-create-home --home /nonexistent \
--comment "nginx user" --shell /bin/false --uid 101 nginx \
&& apt-get update \
&& apt-get upgrade -y \
&& apt-get install --no-install-recommends --no-install-suggests -y \
@stvhay
stvhay / vscode_gpg_sign.md
Created January 27, 2024 15:12
Configuring VSCode Dev-Containers to GPG Sign Commits into GitHub

Setting Up VSCode Git Signatures

These are instructions to create an ssh-format developer key for signing git commits, and configuring this key to be used by default, and specifying defaults to apply this signature to all git commits.

Along with specifying an identity agent in ~/.ssh/config and SSH_AUTH_SOCK environment variable, this will cause VSCode to pass along obtaining your key decryption password to the system's identity agent.

These instructions have been tested on MacOSX with 1Password set as the identity agent.

@stvhay
stvhay / flac2alac.sh
Last active June 23, 2023 20:17
FLAC 2 ALAC
#!/bin/bash
# get cover art using sacad. try only once.
function get_cover_art() {
local artist="$1"
local album="$2"
local dstdir="$3"
local albumdir="${dstdir}/${artist}/${album}"
local artfile="${albumdir}/${artist} - ${album}.png"