Skip to content

Instantly share code, notes, and snippets.

@robertbaker
robertbaker / README.md
Last active May 12, 2026 10:25
A small post‑processing script that removes OrcaSlicer metadata lines the Kobra 3 Max firmware cannot parse, ensuring every sliced G‑code file uploads and prints reliably.

🛠️ Using the K3M Cleanup Script with OrcaSlicer

The Anycubic Kobra 3 Max’s stock firmware cannot parse several metadata comment lines that OrcaSlicer adds to every G‑code file.
This causes prints to fail during the “Parsing…” stage or return 500 errors.

This cleanup script automatically removes those problematic lines from every file you slice, ensuring the G‑code is fully compatible with the K3M firmware.


1. Download one of the scripts from this Gist

@robertbaker
robertbaker / .env
Last active March 26, 2021 08:34
Traefik 2.0 example config with google forward-auth
UID=1000
TLD=mydomain.com
# ACME
ACME_EMAIL=admin@mydomain.com
CLOUDFLARE_EMAIL=admin@mydomain.com
CLOUDFLARE_API_KEY=xxxx
# OAUTH
OAUTH_CLIENT_ID=xxxx