Skip to content

Instantly share code, notes, and snippets.

@bukka
bukka / php_io_hooks.md
Last active October 1, 2026 01:23
PHP IO Hooks design docs

STF IO hooks: operations, queues and offloading

Status: design, 2026-09-28. This document describes the target architecture for the IO hooks deliverable of the STF streams project: a single integration point in php-src through which any blocking IO wait or IO operation is handed to a provider, the internal and userland APIs around it, how it integrates with existing code in the tree, and how it relates to the other work in flight. Where the io_hooks_poc branch differs from what is described here, the difference is listed in section 11; the sections before it describe the state to reach.

1. Background and related work

@birep
birep / libfix_strix_cwsr.so
Created September 30, 2026 21:48
Fix for gfx1151 (Strix Halo) ROCm "out of memory" abort on hipStreamCreate
/*
* Fix for gfx1151 (Strix Halo) ROCm "out of memory" abort on hipStreamCreate:
*
* Issue: amdkfd enforces ctx_save_restore_area_size >= topo cwsr_size (0x124c000 / 19.2 MB).
* hsakmt hardcodes 0xd4c000 (13.9 MB), causing AMDKFD_IOC_CREATE_QUEUE to return -EINVAL,
* which ROCr surfaces to HIP as hipErrorOutOfMemory.
*
* Solution: Intercept mmap/ioctl to expand CWSR buffer sizes to match kernel requirements.
*
* Build: gcc -shared -fPIC -O3 fix_strix_cwsr.c -o libfix_strix_cwsr.so -ldl
@Soheel-1
Soheel-1 / free-claude-ai-apis-tabitoken-guide.md
Last active October 1, 2026 01:16
Free Claude AI API keys and credits for agentic coding & vibe coding for developers.

TabiToken Complete Guide 2026: Get $120 Free AI API Credits + $20 Per Referral

Last Updated: August 29, 2026 | For developers testing Claude, Gemini, DeepSeek, and other AI models

TL;DR - Fast Track to Free Credits

Looking for free Claude API credits or a low-cost AI API gateway?

⚡ The 5 Providers: $500+ Total Credits Available

@olivernodex
olivernodex / NicosMenuV2.Lua
Last active October 1, 2026 01:15
Second Version of the Original Nicos Menu
-- services
local Services = {
Players = game:GetService("Players"),
UserInput = game:GetService("UserInputService"),
Run = game:GetService("RunService"),
Workspace = game:GetService("Workspace")
}
-- locals
local LocalPlayer = Services.Players.LocalPlayer

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.

@JerryLokjianming
JerryLokjianming / Crack Sublime Text Windows and Linux.md
Last active October 1, 2026 01:00
Crack Sublime Text 3.2.2 Build 3211 and Sublime Text 4 Alpha 4098 with Hex

How to Crack Sublime Text 3.2.2 Build 3211 with Hex Editor (Windows | Without License) ↓

  1. Download & Install Sublime Text 3.2.2 Build 3211
  2. Visit https://hexed.it/
  3. Open file select sublime_text.exe
  4. Offset 0x8545: Original 84 -> 85
  5. Offset 0x08FF19: Original 75 -> EB
  6. Offset 0x1932C7: Original 75 -> 74 (remove UNREGISTERED in title bar, so no need to use a license)
@dougdonohoe
dougdonohoe / jupyter_version_info.md
Last active October 1, 2026 00:50
Determine Python version and package versions from within a Jupyter notebook

Jupyter Notebook Version Info

When I am using an online Jupyter notebooks (e.g., DeepLearning.AI, Colab, Kaggle, etc.), I usually prefer to be able to reproduce it locally. I want this mainly so I can easily take snippets of Python code and incorporate them into a proper script or application outside of a notebook.

The hard part is knowing the proper version of Python and all the packages that the notebook uses. When using an online notebook, this isn't always obvious. Python, is infamous for its ability to

@suveshmoza
suveshmoza / better-nova.css
Created June 20, 2026 18:36
Better Nova — Firefox Nova without rounded corners and borders
@media -moz-pref('browser.nova.enabled') {
:root {
--chrome-content-separator-color: unset !important;
--chrome-window-gap: 0px !important;
}
#browser {
padding: 0 !important;
border-radius: 0 !important;
}
@cuonggt
cuonggt / markdown_guide.md
Last active October 1, 2026 00:44
The Ultimate Guide to Markdown

Markdown Guide

The Ultimate Guide to Markdown

Basic Markdown Formatting

Headings

# This is an <h1> tag

This is an tag

@wavezhang
wavezhang / java_download.sh
Last active October 1, 2026 00:43
download java from oracle without login
wget -c --no-cookies --no-check-certificate --header "Cookie: oraclelicense=accept-securebackup-cookie" https://download.oracle.com/otn-pub/java/jdk/12.0.2+10/e482c34c86bd4bf8b56c0b35558996b9/jdk-12.0.2_linux-x64_bin.tar.gz