Skip to content

Instantly share code, notes, and snippets.

@marclar
marclar / dramanoes-simulation.md
Created November 13, 2026 16:47
Dramanoes 4/4 losing limits: preliminary passing and Blame trade-in simulation, 4–6 players

Dramanoes: passing and Blame trade-in simulation

2026-11-13 — Preliminary model results, not a fully canonical-rules simulation.

First player with 4 different permanent Flaw types or 4 permanent Flaws of the same type loses. Instant Flaws count; open Flaws do not. Passing without playing draws a Flaw in both variants.

Average turns per player

“Turns/player” is total table turns divided by player count, not an observed equal number of turns for every seat. Turn counts include turns lost to Skip and exclude setup. Partial final rounds mean participation can differ.

@marclar
marclar / dramanoes-simulation-results.md
Created November 13, 2026 16:45
Dramanoes 4/4 Flaw-loss simulation: turns per player

Dramanoes simulation: turns per player

Simulation configuration

  • 100,000 paired games per player-count / condition.
  • A player loses at 4 distinct Flaw types or 4 of the same type.
  • “Trade” means the canonical once-per-game action available when no Blame can be played: discard exactly 3 Blames, refill, then take the trade’s 1-Flaw cost. It is an action, so it does not also receive the pass draw.
  • “No trade” means the player passes and draws 1 Flaw.
  • Conditions use matching deterministic seed sequences.
@marclar
marclar / laptop-setup-instructions.md
Created March 22, 2026 12:48
Laptop Build Server Setup for OpenClaw Resource Offloading

Laptop Build Server Setup Instructions

On Your Laptop (macOS/Linux):

1. Add SSH Access

# Add the public key to authorized_keys
echo "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIKT/WRa6rF/mzFv5mJcA0EyJhq4ZV1TIrmRTWBME/JPs openclaw-nuc-to-laptop" >> ~/.ssh/authorized_keys

# Set proper permissions
@marclar
marclar / mac-studio-to-nuc-migration-plan.md
Last active March 13, 2026 12:55
OpenClaw Migration Plan: Mac Studio to Intel NUC

OpenClaw Migration Plan: Mac Studio → NUC

Migration Date: TBD (Mac Studio return planned)
Current Setup: Mac Studio (M2 Ultra, macOS 15.2, ARM64)
Target Setup: Intel NUC (Linux-based, likely Ubuntu/Debian, x86_64)

⚠️ Updated Requirements:

  • No local models (NUC not powerful enough)
  • Default model: Claude Sonnet (anthropic/claude-sonnet-4-20250514)
  • Must install Claude Code CLI
@marclar
marclar / git-workflow-diagram.md
Created March 8, 2026 19:38
OpenClaw GitHub Automation Workflow - Intelligent CI fixing with worktree isolation

OpenClaw GitHub Automation Workflow

Overview

This diagram shows the complete automated workflow for handling GitHub issues and PRs, including our intelligent retry strategies and worktree-based CI fixing.

Workflow Diagram

flowchart TD
    A[GitHub Agent Scan] --> B{Found Items?}
@marclar
marclar / docker-cleanup-resources.md
Created May 18, 2018 17:35 — forked from bastman/docker-cleanup-resources.md
docker cleanup guide: containers, images, volumes, networks

Docker - How to cleanup (unused) resources

Once in a while, you may need to cleanup resources (containers, volumes, images, networks) ...

delete volumes

// see: https://github.com/chadoe/docker-cleanup-volumes

$ docker volume rm $(docker volume ls -qf dangling=true)

$ docker volume ls -qf dangling=true | xargs -r docker volume rm

Keybase proof

I hereby claim:

  • I am marclar on github.
  • I am marclar (https://keybase.io/marclar) on keybase.
  • I have a public key ASBOpsmWR106eQ3kS_lphfIrsAjOA6MwgD8y7aEMMd4ulwo

To claim this, I am signing this object:

@marclar
marclar / blockchain-ideas.md
Created November 9, 2017 15:41
Some ideas for the 2017 Hackathon

Infrastructure stuff

Might be good to establish some best practices for common blockchain / smart contract scenarios.

  • Given that contracts are immutable, how can we release new versions? Maybe using a proxy contract that only points to the latest revision?
  • How can we schedule future executions?, Maybe by attaching a reward for whomever executes this contract at a certain date?

Tools

  • "bit" - easy CLI wallet with commands similar to Git. e.g., bit clone , bit add @, bit commit -m "Sending to , bit push. Important to have lots of autocomplete and help - see Keybase for a good CLI example.

Keybase proof

I hereby claim:

  • I am marclar on github.
  • I am marclar (https://keybase.io/marclar) on keybase.
  • I have a public key ASCEzH8oVGapuQwYtMCHiI-KX-iEZrWY6hXLgfyH5I9Bjgo

To claim this, I am signing this object:

{
"AWSTemplateFormatVersion": "2010-09-09",
"Description": "*** lambdas",
"Parameters": {
"aaLambdaRoleArn": {
"Type": "String",
"Default": "***"
}
},
"Resources": {