Skip to content

Instantly share code, notes, and snippets.

View malston's full-sized avatar

Mark Alston malston

View GitHub Profile
@davidlohle
davidlohle / mysql-migrator.sh
Last active December 3, 2021 14:09
MySQL Migrator
#/bin/bash
set -e
if [[ -n "$DEBUG" ]]
then
echo "!!! Debug output enabled"
set -x
fi
set -u
@miclip
miclip / custom_stack.md
Last active June 29, 2022 17:17
Custom TBS Stack example

Create a custom stack and add to TBS

  1. Create a docker file for image:
# Set a common base
FROM alpine as base

# Set required CNB information
ENV CNB_USER_ID=1000
@malston
malston / superpowers-execute.md
Last active March 17, 2026 02:18
Explain the two execution options for the superpowers implementation phase

Two Execution Options

  1. Subagent-Driven (this session) - I dispatch fresh subagent per task, review between tasks, fast iteration

  2. Parallel Session (separate) - Open new session with executing-plans, batch execution with checkpoints

Which approach, Mark?

Mark wants more detail on the two execution options. Let me explain them clearly based on what the writing-plans skill says and my understanding of the superpowers skills.

@karpathy
karpathy / microgpt.py
Last active September 22, 2026 21:05
microgpt
"""
The most atomic way to train and run inference for a GPT in pure, dependency-free Python.
This file is the complete algorithm.
Everything else is just efficiency.
@karpathy
"""
import os # os.path.exists
import math # math.log, math.exp