Skip to content

Instantly share code, notes, and snippets.

0: ["close up human eye by alex grey | close up human eye by alex grey | large brain neurons by Zdzisław Beksiński | picnic by mario martinez art | Brain by Johfra Bosschart | Neurons by beeple | Neurons by alex grey"],
48: ["thumbs down vector art by johfra bosschart"],
63: ["racism photography oil painting | racist illustrated in art by moebius"],
95: ["thumbs up vector art by beeple"],
114: ["pride flag by moebius | pride flag by beeple | pride flag | rainbow flag"],
144: ["metal heart by beeple, Ben Tolman and Moebius"],
184: ["human being by beeple, Ben Tolman and Moebius | people by beeple, Ben Tolman and Moebius | person by beeple, Ben Tolman and Moebius"],
202: ["electrical grid by johfra bosschart | electric power station by moebius"],
260: ["matrix code wallpaper | computer keyboard | programming | supercomputer"],
313: ["thumbs up vector art by moebius"],
@ItsCuzzo
ItsCuzzo / disassembler.py
Created December 24, 2022 06:08
EVM Bytecode Disassembler
opcodes = {
0x00: 'STOP',
0x01: 'ADD',
0x02: 'MUL',
0x03: 'SUB',
0x04: 'DIV',
0x05: 'SDIV',
0x06: 'MOD',
0x07: 'SMOD',
0x08: 'ADDMOD',

Understanding the UTXO Model: A Guide for Bitcoin Cash Developers

Introduction

Welcome to Bitcoin Cash development! If you're coming from other blockchain platforms or traditional web development, the UTXO (Unspent Transaction Output) model might be a new concept to grasp. This guide will break down how UTXOs work in Bitcoin Cash and provide insights on how to design effective smart contracts using this model.

What is a UTXO?

In Bitcoin Cash, think of UTXOs as individual digital bills in your wallet. Unlike account-based blockchains (like Ethereum) that track a single balance for each address, Bitcoin Cash tracks specific "bills" of cryptocurrency.

@dabit3
dabit3 / pi_tutorial.md
Last active May 10, 2026 21:35
How to Build a Custom Agent Framework with PI: The Agent Stack Powering OpenClaw

PI is a TypeScript toolkit for building AI agents. It's a monorepo of packages that layer on top of each other: pi-ai handles LLM communication across providers, pi-agent-core adds the agent loop with tool calling, pi-coding-agent gives you a full coding agent with built-in tools, session persistence, and extensibility, and pi-tui provides a terminal UI for building CLI interfaces.

These are the same packages that power OpenClaw. This guide walks through each layer, progressively building up to a fully featured coding assistant with a terminal UI, session persistence, and custom tools.

By understanding how to compose these layers, you can build production-grade agentic software on your own terms, without being locked into a specific abstraction.

Pi was created by @badlogicgames. This is a great writeup from him that explains some of the design decisions made when creating it.

The stack