Skip to content

Instantly share code, notes, and snippets.

View 0xBigBoss's full-sized avatar
🤠

Big Boss 0xBigBoss

🤠
View GitHub Profile
@0xBigBoss
0xBigBoss / canton-dapp-sdk-demo.js
Last active March 27, 2026 22:36
Canton dApp SDK demo — query active contracts via window.canton (Send extension)
// Canton dApp SDK demo — query active contracts via window.canton
//
// Run this in the browser console on any page where the Send extension is installed.
// The extension injects window.canton which provides JSON-RPC access to the Canton ledger.
//
// Key points:
// - All requests go through the extension's service worker (no CORS issues)
// - Use `eventFormat` (not `filter`) for active-contracts queries
// - Must fetch ledger-end offset and pass as `activeAtOffset`
// - `cumulative: []` inside eventFormat means "all contracts for this party"
@0xBigBoss
0xBigBoss / com.tailscale.hosts-sync.plist
Created February 18, 2026 11:59
Workaround for Tailscale MagicDNS short names broken on macOS 26 (github.com/tailscale/tailscale/issues/17096)
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Label</key>
<string>com.tailscale.hosts-sync</string>
<key>ProgramArguments</key>
<array>
<string>/usr/local/bin/tailscale-hosts-sync</string>
</array>
@0xBigBoss
0xBigBoss / gist:33adb6f99de9bb987a20619ddbd600d6
Created February 18, 2026 00:26
OneStack research: One framework, Zero sync engine, on-zero wrapper — architecture, deployment, and production readiness notes (Feb 2026)
# OneStack Research Notes (Feb 2026)
Architecture, deployment, and production readiness notes for **One**, **Zero**, and **on-zero**.
Use as scaffolding context when starting a new project with the OneStack ecosystem.
---
## One Framework (v1.8.0)
**Repo:** [github.com/onejs/one](https://github.com/onejs/one) — 4,375 stars, 308+ releases
@0xBigBoss
0xBigBoss / daml_to_pydantic.py
Last active February 16, 2026 03:34
Experiment: Generate Pydantic v2 models from DAML/DAR files via dpm damlc inspect
#!/usr/bin/env python3
"""Parse `dpm damlc inspect` output and generate Pydantic v2 models."""
from __future__ import annotations
import re
import subprocess
import sys
from dataclasses import dataclass, field
from pathlib import Path
@0xBigBoss
0xBigBoss / transparent-tmux-process-manager.md
Created January 30, 2026 17:05
RFC: Transparent tmux Process Manager for Claude Code

RFC: Transparent tmux Process Manager for Claude Code

Status: Draft Author: Allen Eubank Date: 2026-01-30

Problem

Long-running processes spawned by Claude Code sessions (dev servers, Tilt, watchers) routinely become orphaned — detached from any terminal (TTY: ??),

@0xBigBoss
0xBigBoss / Art Style Palette Reference Sheet Format.md
Last active January 23, 2026 21:52
A quick “style capsule” trick

Create a single-page “Art Style Palette Reference Sheet” as a clean graphic-design moodboard for: [ART STYLE NAME].

Purpose: a practical reference for writing AI image prompts (colors, textures, motifs, lighting, composition). Overall look: neutral, minimal, high legibility, professional design board.

CANVAS / PRINT:

  • Format: [A4 portrait OR 2048×2560 px], 300 dpi look, crisp edges
  • Background: warm light gray (#ECECEC) with generous margins
  • Layout: tidy grid with consistent spacing, aligned boxes, clear section headers
@0xBigBoss
0xBigBoss / reset-xfce
Created January 16, 2026 18:12
Reset XFCE session for xRDP - kills stale sessions and restarts services
#!/bin/bash
# Reset XFCE session for xRDP
# Kills stale sessions and restarts xrdp services
set -e
echo "Killing xfce4-session..."
pkill -u "$(whoami)" -f "xfce4-session" 2>/dev/null || true
echo "Killing orphaned Xorg..."
@0xBigBoss
0xBigBoss / clean-copy.md
Created December 8, 2025 05:43 — forked from steveruizok/clean-copy.md
Clean copy.

Reimplement the current branch on a new branch with a clean, narrative-quality git commit history suitable for reviewer comprehension.

Steps

  1. Validate the source branch

    • Ensure the current branch has no merge conflicts, uncommitted changes, or other issues.
    • Confirm it is up to date with main.
  2. Analyze the diff

  • Study all changes between the current branch and main.
@0xBigBoss
0xBigBoss / tmux-vim-cheatsheet.md
Last active January 3, 2026 11:58
Comprehensive tmux + vim cheatsheet for server work and development

TMUX + VIM ULTIMATE CHEATSHEET

Default prefix is Ctrl-b (shown as C-b below)

🚀 TMUX ESSENTIALS

Session Management

tmux new -s name           # New named session
tmux ls                    # List sessions
tmux a -t name            # Attach to named session