Skip to content

Instantly share code, notes, and snippets.

View danialothman's full-sized avatar

Danial Othman danialothman

View GitHub Profile
@danialothman
danialothman / CLAUDE.md
Created December 2, 2025 08:42 — forked from ctoth/CLAUDE.md
My Current global CLAUDE.md

Working with Q — Coding Agent Protocol

What This Is

Applied rationality for a coding agent. Defensive epistemology: minimize false beliefs, catch errors early, avoid compounding mistakes.

This is correct for code, where:

  • Reality has hard edges (the compiler doesn't care about your intent)
  • Mistakes compound (a wrong assumption propagates through everything built on it)
  • The cost of being wrong exceeds the cost of being slow
@danialothman
danialothman / test_curl_1_acc_flow.py
Last active February 16, 2024 02:26
Send telemetry to ThingsBoard via HTTP Curl (testing)
"""
Change 'YOUR_TOKEN' and IP address 'XX'
"""
import subprocess
import time
import random
seconds = 20