Skip to content

Instantly share code, notes, and snippets.

@dollspace-gay
dollspace-gay / VSDD.md
Last active November 6, 2026 11:18
Verified Spec-Driven Development

Verified Spec-Driven Development (VSDD)

The Fusion: VDD × TDD × SDD for AI-Native Engineering

Overview

Verified Spec-Driven Development (VSDD) is a unified software engineering methodology that fuses three proven paradigms into a single AI-orchestrated pipeline:

  • Spec-Driven Development (SDD): Define the contract before writing a single line of implementation. Specs are the source of truth.
  • Test-Driven Development (TDD): Tests are written before code. Red → Green → Refactor. No code exists without a failing test that demanded it.
@LuD1161
LuD1161 / SKILL.md
Created February 20, 2026 07:14
codex-review - claude skill file
name codex-review
description Send the current plan to OpenAI Codex CLI for iterative review. Claude and Codex go back-and-forth until Codex approves the plan.
user_invocable true

Codex Plan Review (Iterative)

Send the current implementation plan to OpenAI Codex for review. Claude revises the plan based on Codex's feedback and re-submits until Codex approves. Max 5 rounds.

@ryanotella
ryanotella / pim.sh
Last active August 18, 2026 11:31
Azure CLI - Self-Activate PIM Role Assignments
ROLE="User Access Administrator"
SUBSCRIPTION=$(az account show --query id -otsv)
if [ ! -z "$RESOURCE_GROUP" ]; then
SCOPE="/providers/Microsoft.Subscription/subscriptions/$SUBSCRIPTION/resourceGroups/$RESOURCE_GROUP" # Group-scoped
echo "Scope (Group): $SCOPE"
else
SCOPE="/providers/Microsoft.Subscription/subscriptions/$SUBSCRIPTION" # Subscription-scoped
echo "Scope (Subscription): $SCOPE"
@jonesandy
jonesandy / XUnitAsserts.cs
Last active August 26, 2026 20:53
A cheat sheet of Asserts for xUnit.net in C#
/*
STRINGS
*/
Assert.Equal(expectedString, actualString);
Assert.StartsWith(expectedString, stringToCheck);
Assert.EndsWith(expectedString, stringToCheck);
// Some can also take optional params
Assert.Equal(expectedString, actualString, ignoreCase: true);
Assert.StartsWith(expectedString, stringToCheck, StringComparison.OrdinalIgnoreCase);
@joshbode
joshbode / logging.py
Last active January 14, 2026 09:06
Colour Logging - Works in Jupyter Lab/Notebook
import sys
import logging
from typing import Optional, Dict
from colorama import Fore, Back, Style
class ColoredFormatter(logging.Formatter):
"""Colored log formatter."""
#!pip install html5lib #install html5lib, only needs to be run once
import pandas as pd
import numpy as np
df=pd.read_html('https://proxy.mentoracademy.org/getContentFromUrl/?userid=brooks&url=https://en.wikipedia.org/wiki/List_of_natural_satellites', header=0)
moons=df[4][1:] #drop prehistoric moon sighting
moons=moons['Discovery year'] #we are only interested in the year discovered
moons=moons.apply(lambda x: x.split('/')[0]).astype(int) #clean dataframe to just years as ints
pre_2000=len(moons[moons<2000]) #select only that data from moons which is less than 2000
post_2000=len(moons[moons>=2000]) #select only that data from moons which is greater than or equal to 2000
@joshbuchea
joshbuchea / semantic-commit-messages.md
Last active November 8, 2026 07:22
Semantic Commit Messages

Semantic Commit Messages

See how a minor change to your commit message style can make you a better programmer.

Format: <type>(<scope>): <subject>

<scope> is optional

Example

FWIW: I (@rondy) am not the creator of the content shared here, which is an excerpt from Edmond Lau's book. I simply copied and pasted it from another location and saved it as a personal note, before it gained popularity on news.ycombinator.com. Unfortunately, I cannot recall the exact origin of the original source, nor was I able to find the author's name, so I am can't provide the appropriate credits.


Effective Engineer - Notes

What's an Effective Engineer?

@Avaq
Avaq / combinators.js
Last active October 23, 2026 10:52
Common combinators in JavaScript
const I = x => x
const K = x => y => x
const A = f => x => f (x)
const T = x => f => f (x)
const W = f => x => f (x) (x)
const C = f => y => x => f (x) (y)
const B = f => g => x => f (g (x))
const S = f => g => x => f (x) (g (x))
const S_ = f => g => x => f (g (x)) (x)
const S2 = f => g => h => x => f (g (x)) (h (x))
@gaearon
gaearon / slim-redux.js
Last active August 25, 2026 18:55
Redux without the sanity checks in a single file. Don't use this, use normal Redux. :-)
function mapValues(obj, fn) {
return Object.keys(obj).reduce((result, key) => {
result[key] = fn(obj[key], key);
return result;
}, {});
}
function pick(obj, fn) {
return Object.keys(obj).reduce((result, key) => {
if (fn(obj[key])) {