Skip to content

Instantly share code, notes, and snippets.

View michaelgold's full-sized avatar

Michael Gold michaelgold

View GitHub Profile
@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
# ▓▓░ ░▓ ░▓░
# ░██ ▓█ ▓▓ ░▓ ░▓████▓ ░▓ ░▓▓
# ██▓ ▓█▓ █▓ ░█░ ▓██▓░░█▓ █▓ ▓█
# ▓██░ ▓██ ▓▓ ▓█░ ▓▓ ▓█▓░ ▓█░ ░█░ ░█▓
# ░██▓ ▓██▓ ░██░ ▓▓ ░█░ ▓█▓ ░█▓ ▓▓ ▓█░
# ░█▓█▓ ░██▓ ░█▓ ░█░ ▓█ ▓█▓ ░█▓ ░█░ █▓
# ▓█▓█ ░█▓█▓ ▓▓ █▓ ▓█▓ ░█▓ ▓▓ ░█░
# ▓█░▓▓░▓▓▓█ ░ █▓ ░ ░█ ░█▓ ░█▓ ░ █▓ ░▓▓
# ▓█▓ █▓▓▓░█▓ ▓▓ ▓██▓ ░█░▓█▓ ░▓██▓ ░███░ ▓▓ █▓ ░ ▓██▓ ░█ ░▓███
# ░█▓ ▓██▓ ▓█░ ░█░ ▓▓ ▓▓ ▓█▓██▓ ▓█▓░░ ▓█░ █░ ░█░ ░█░ ░▓░▓▓░██▓░░▓▓ ▓▓░░▓
@michaelgold
michaelgold / docker-compose.yml
Created December 23, 2019 16:10
Wordpress Docker NGINX Letsencrpyt
https-portal:
image: steveltn/https-portal:1
ports:
- '80:80'
- '443:443'
links:
- wordpress
restart: always
environment:
DOMAINS: 'wordpress.mike.gold -> http://wordpress:80'
@font-face {
font-family: 'Source Code Pro Powerline FontAwesome';
font-style: normal;
font-weight: normal;
src: local('Source Code Pro Powerline FontAwesome'), url('https://raw.githubusercontent.com/gabrielelana/awesome-terminal-fonts/patching-strategy/patched/SourceCodePro%2BPowerline%2BAwesome%2BRegular.ttf') format('truetype');
}
body {
font-family: 'Source Code Pro Powerline FontAwesome' !important;
}