Skip to content

Instantly share code, notes, and snippets.

@Hzzone
Hzzone / gpustat.py
Last active April 21, 2026 11:37
A basic gpu query util for python
#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
Implementation of gpustat
@author Jongwook Choi
@url https://github.com/wookayin/gpustat
"""
@qoomon
qoomon / conventional-commits-cheatsheet.md
Last active April 21, 2026 11:35
Conventional Commits Cheatsheet
@koaning
koaning / marimo-remote-guard.ts
Created April 13, 2026 13:45
marimo pi remote guard
import path from "node:path";
import type { ExtensionAPI } from "@mariozechner/pi-coding-agent";
import { isToolCallEventType } from "@mariozechner/pi-coding-agent";
const SKILL_DIR = "/Users/vincentwarmerdam/.agents/skills/marimo-pair";
const ALLOWED_READ_ROOTS = [SKILL_DIR];
function hasDangerousShellSyntax(command: string): boolean {
return /(&&|\|\||;|\||>|`)/.test(command);
}
@fnky
fnky / ANSI.md
Last active April 21, 2026 11:33
ANSI Escape Codes

ANSI Escape Sequences

Standard escape codes are prefixed with Escape:

  • Ctrl-Key: ^[
  • Octal: \033
  • Unicode: \u001b
  • Hexadecimal: \x1B
  • Decimal: 27

LLM Wiki

A pattern for building personal knowledge bases using LLMs.

This is an idea file, it is designed to be copy pasted to your own LLM Agent (e.g. OpenAI Codex, Claude Code, OpenCode / Pi, or etc.). Its goal is to communicate the high level idea, but your agent will build out the specifics in collaboration with you.

The core idea

Most people's experience with LLMs and documents looks like RAG: you upload a collection of files, the LLM retrieves relevant chunks at query time, and generates an answer. This works, but the LLM is rediscovering knowledge from scratch on every question. There's no accumulation. Ask a subtle question that requires synthesizing five documents, and the LLM has to find and piece together the relevant fragments every time. Nothing is built up. NotebookLM, ChatGPT file uploads, and most RAG systems work this way.

@1wErt3r
1wErt3r / SMBDIS.ASM
Created November 9, 2012 22:27
A Comprehensive Super Mario Bros. Disassembly
;SMBDIS.ASM - A COMPREHENSIVE SUPER MARIO BROS. DISASSEMBLY
;by doppelganger (doppelheathen@gmail.com)
;This file is provided for your own use as-is. It will require the character rom data
;and an iNES file header to get it to work.
;There are so many people I have to thank for this, that taking all the credit for
;myself would be an unforgivable act of arrogance. Without their help this would
;probably not be possible. So I thank all the peeps in the nesdev scene whose insight into
;the 6502 and the NES helped me learn how it works (you guys know who you are, there's no
@denji
denji / vmx_documentation.md
Last active April 21, 2026 11:31
VMware/ESXi .vmx Configuration Parameters

VMware VMX Configuration Parameters — Reference

⚠️ USE AT YOUR OWN RISK
Most parameters listed here are undocumented and unsupported by VMware/Broadcom.
Always back up your .vmx file before editing. Test in non-production environments first.
Parameter availability depends on VMware product version, host OS, and virtualHW.version.


Table of Contents

@emschwartz
emschwartz / README.md
Last active April 21, 2026 11:31
The Most Popular Blogs of Hacker News in 2025

This is an OPML version of the HN Popularity Contest results for 2025, for importing into RSS feed readers.

Plug: if you want to find content related to your interests from thousands of obscure blogs and noisy sources like HN Newest, check out Scour. It's a free, personalized content feed I work on where you define your interests in your own words and it ranks content based on how closely related it is to those topics.