Skip to content

Instantly share code, notes, and snippets.

View michaelgold's full-sized avatar

Michael Gold michaelgold

View GitHub Profile
@michaelgold
michaelgold / init.sh
Created April 6, 2026 13:44
Ostris AI Toolkit Volume Init for Runpod
#!/usr/bin/env bash
set -e
echo "Runpod init starting..."
# Create persistent dirs
mkdir -p /mnt/{datasets,models,output,configs,hf,cache}
link_dir () {
TARGET=$1
@michaelgold
michaelgold / docker-compose.yml
Created March 18, 2026 01:48
docker-compose NVIDIA-Nemotron-3-Super-120B-A12B-NVFP4
services:
vllm:
image: vllm/vllm-openai:v0.17.1-cu130
restart: unless-stopped
container_name: vllm-nemotron
deploy:
resources:
reservations:
devices:
- driver: nvidia
@michaelgold
michaelgold / docker-compose.yml
Created February 28, 2026 13:43
Qwen3.5-35B-A3B-Q4_K_M Docker Compose
services:
reasoning:
image: ghcr.io/ggml-org/llama.cpp:server-cuda
container_name: qwen35-a3b-gguf
restart: unless-stopped
deploy:
resources:
reservations:
devices:
@michaelgold
michaelgold / docker-compose.yml
Last active February 28, 2026 08:33
minimax 2.5 docker compose
services:
minimax:
image: ghcr.io/ggml-org/llama.cpp:server-cuda
container_name: minimax-m25
restart: unless-stopped
deploy:
resources:
reservations:
devices:
#!/bin/bash
set -euo pipefail
# 1) Prepare persistent layout + symlinks (same migrate_link you already have)
WORK="/workspace"; [ -d /runpod-volume ] && WORK="/runpod-volume"
migrate_link() {
src="$1"; dst="$2"
mkdir -p "$dst"
if [ -d "$src" ] && [ ! -L "$src" ]; then
shopt -s dotglob; mv "$src"/* "$dst"/ 2>/dev/null || true; shopt -u dotglob
# configure the docker repository
curl -fsSL https://nvidia.github.io/libnvidia-container/gpgkey | sudo gpg --dearmor -o /usr/share/keyrings/nvidia-container-toolkit-keyring.gpg \
&& curl -s -L https://nvidia.github.io/libnvidia-container/stable/deb/nvidia-container-toolkit.list | \
sed 's#deb https://#deb [signed-by=/usr/share/keyrings/nvidia-container-toolkit-keyring.gpg] https://#g' | \
sudo tee /etc/apt/sources.list.d/nvidia-container-toolkit.list
# update the repository
sudo apt-get update
# Install the NVIDIA Container Toolkit packages:
@michaelgold
michaelgold / checkout.sh
Last active April 10, 2024 12:36
Shallow checkout / branch switching for Unreal
#!/bin/bash
# Script to fetch and checkout a shallow clone of a specific branch
# Check if a branch name was provided
if [ $# -eq 0 ]; then
echo "Usage: $0 <branch-name>"
exit 1
fi

Tasks

Priority Tasks


	dv.table(["Status", "Task", "Link",], dv.pages().file.tasks
	.where(t => {
		console.log("today:")
		console.log(dv.date('today'))
		const isScheduled = t.scheduled <= dv.date('today')
{
"collection": {
"collectionName": "Inscribed Coins",
"collectionDescription": "Inscribed coins are the first collection of on-chain generative art made from a single Blender file which is stored on the Bitcoin blockchain. Each piece is procedurally generated from a unique seed and can be regenerated from the on-chain data at higher levels of detail and other viewing angles.",
"maxSupply": 94,
"collectionExternalUrl": "https://inscribedcoins.com"
},
"artist": {
"artistName": "Michael Gold",
"artistTwitterUrl": "https://twitter.com/michaelgold",
@michaelgold
michaelgold / decode_jpeg_embedded_content.py
Created February 10, 2023 22:18
Blender script to decode embedded generative art content from a JPEG file inscribed in an ordinal
# ▓▓░ ░▓ ░▓░
# ░██ ▓█ ▓▓ ░▓ ░▓████▓ ░▓ ░▓▓
# ██▓ ▓█▓ █▓ ░█░ ▓██▓░░█▓ █▓ ▓█
# ▓██░ ▓██ ▓▓ ▓█░ ▓▓ ▓█▓░ ▓█░ ░█░ ░█▓
# ░██▓ ▓██▓ ░██░ ▓▓ ░█░ ▓█▓ ░█▓ ▓▓ ▓█░
# ░█▓█▓ ░██▓ ░█▓ ░█░ ▓█ ▓█▓ ░█▓ ░█░ █▓
# ▓█▓█ ░█▓█▓ ▓▓ █▓ ▓█▓ ░█▓ ▓▓ ░█░
# ▓█░▓▓░▓▓▓█ ░ █▓ ░ ░█ ░█▓ ░█▓ ░ █▓ ░▓▓
# ▓█▓ █▓▓▓░█▓ ▓▓ ▓██▓ ░█░▓█▓ ░▓██▓ ░███░ ▓▓ █▓ ░ ▓██▓ ░█ ░▓███
# ░█▓ ▓██▓ ▓█░ ░█░ ▓▓ ▓▓ ▓█▓██▓ ▓█▓░░ ▓█░ █░ ░█░ ░█░ ░▓░▓▓░██▓░░▓▓ ▓▓░░▓