Skip to content

Instantly share code, notes, and snippets.

View mdbecker's full-sized avatar

Michael Becker mdbecker

View GitHub Profile
@mdbecker
mdbecker / sent_mail.py
Created September 17, 2023 19:09
Script to parse .mbox email files and export them into monthly-separated CSV files.
import mailbox
import csv
import email.utils
from collections import defaultdict
import argparse
from pathlib import Path
from bs4 import BeautifulSoup
from tqdm import tqdm
# Constants for field names
@mdbecker
mdbecker / flux_schnell_meta.py
Created August 7, 2024 16:26
FLUX.1 [schnell] on Mac MPS
import hashlib
import json
import random
from datetime import datetime
import diffusers
import piexif
import torch
from diffusers import FluxPipeline
from PIL import Image
@mdbecker
mdbecker / Hunyuan_mac.md
Created February 11, 2025 01:14
Detailed Guide for Running Hunyuan Video T2V on M4 MacBook

Detailed Guide for Running Hunyuan Video T2V on Your M4 MacBook

This guide shows you how to run the Hunyuan Video text‑to‑video (T2V) workflow on your M4 MacBook (128 GB RAM with a top‑end GPU). We’ll use the pre‑built dmg file to install ComfyUI (avoiding the need to compile C++ code), set up the workflow in “fast video” mode (reducing inference steps from ~20 to 6–8), and cover downloading and organizing the required model files.


1. Overview

You will install ComfyUI using its pre‑built dmg installer, then configure the Hunyuan Video workflow from the available collection. We focus on using T2V (text‑to‑video) with the “fast video” mode to achieve faster iteration times. With your M4 MacBook’s ample resources, you can experiment confidently while monitoring system performance.

@mdbecker
mdbecker / project_zomboid_easymode.md
Created November 8, 2025 20:08
project_zomboid_easymode

Mods

1. Core helpers

  1. Antibodies
  2. Skill Recovery Journal
  3. [B41/B42] Homebound: Spawn Point

2. Maps / Radar 4. MinimapZ