Skip to content

Instantly share code, notes, and snippets.

View romor001's full-sized avatar

Rolf Morgenstern romor001

View GitHub Profile
@mojzis
mojzis / CLAUDE.md
Last active July 14, 2025 04:55
rules for claude code to be able to generate reasonable notebooks
  • For marimo notebooks: See MARIMO_RULES.md for specific marimo conventions

🚨 CRITICAL MARIMO RULE - NEVER VIOLATE

BEFORE writing ANY marimo cell, check:

  1. Are you putting mo.md(), mo.ui.table(), or ANY display function inside if, try, for, while, or with blocks?
  2. If YES → STOP! You must prepare content inside control blocks, then display OUTSIDE them.

Template pattern:

@MMMZZZZ
MMMZZZZ / Nextion_Simulator_Messages.txt
Last active October 3, 2023 08:26
Nextion Simulator Detection and Startup Messages
// Copyright 2021 Max Zuidberg
// This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0.
// If a copy of the MPL was not distributed with this file, You can obtain one at
// https://mozilla.org/MPL/2.0/.
//
// The MPL is easy to comply with as described here:
// https://tldrlegal.com/license/mozilla-public-license-2.0-(mpl-2)
// Tested with Nexton Editor v1.63.3. Might not work with future versions.