@ochafik's gists
Last updated: 2025-12-01 00:35 UTC | Total: 273 gists | (61 public, 212 private)
- Gist Index (2 files)
- Security / Deployment Oriented Products ๐
- OpenAI Pizzas Node Server Fix ๐ (2 files)
- Ad Skipper.md ๐ (3 files)
- MCP Adventure ๐ (3 files)
- Micropilot: mini MCP client ๐ (3 files)
- llama-auto: use cached llama.cpp models to auto configure... ๐ (3 files)
- crun: to make, what npx is to npm and uvx to uv ๐ (3 files)
- MCP Continuation Backfill ๐ (3 files)
- http-as-stdio ๐ (3 files)
- stdio-as-http ๐ (3 files)
- Callables for MCP TypeScript SDK ๐ (3 files)
- ~/.claude/CLAUDE.md ๐ (3 files)
- Multiverse MCP Server ๐
- Multiverse CLAUDE.md ๐
- GPT Researcher Deep Research Algo Analysis ๐
- cc.md ๐
- OpenSCAD launch script to get blazingly fast nightly buil... (2 files)
- JSON schema examples ๐
- Cline + llama.cpp ๐
- test_tool_call benchmark results ๐
- Knowledge Graph visitation as Gradient Descent! ๐
- Maximilian Winter Memory System ๐
- OpenSCAD 3D rendering just got an order of magnitude fast... ๐
- Multiple llama.cpp models under same endpoint ๐ (2 files)
- Alternative manifold3d python bindings for pyodide (wrapp... ๐ (2 files)
- llama.cpp resampling fix test ๐
- llama.cpp quantization for the disk-poor ๐
- C grammar for llama.cpp converted from ANTLR's grammar ๐ (2 files)
- Pending PR ๐
- Heavy llama.cpp grammar copied from https://github.com/gg... ๐ (4 files)
- llama.cpp Grammar constrained post ๐
- Raspberry Pi 5 ML Setup (llama.cpp + Vulkan, etc) ๐
- llama.cpp: Test skipping unused logits w/ TinyLlamas models ๐
- falcon.cpp testing scripts (June 2023) ๐ (2 files)
- Falcon and OpenLLaMA Inference & Fine-Tuning w/ llama.cpp... ๐
- OLD README.md ๐ (2 files)
- StableDiffusion CoreML Mac M1/M2 ๐
- OpenSCAD branches benchmark script for https://github.com... ๐ (2 files)
- An OpenSCAD model that's heavy to evaluate (uses BOSL2 in... ๐ (2 files)
- Glitch.me cache for Mastodon with domain rewrite ๐ (3 files)
- OpenSCAD slicing utility to use dual-extruder printers wi... ๐ (2 files)
- BOSL2 Smooth Skin + Turtle for OpenSCAD ๐ (2 files)
- Building OpenSCAD with remeshing to fix fast-csg's perfor...
- Repro instructions for a CGAL compilation bug that starte... (3 files)
- Build an optimized OpenSCAD locally on MacOS X (checkout ... (2 files)
- MeshroomCL OpenCL kernels extracted from its Windows64 bi... ๐ (4 files)
- colmap + CUDA on a remote VM w/ GPU ๐
- RGB QR code experimentation ๐ (2 files)
- README.md (2 files)
- Static page that displays URL #hash content safely. Ideal... (2 files)
- OpenSCAD Minkowski benchmarks ๐ (2 files)
- CGAL corefinement vs. potentially-invalid inputs vs. atte... (2 files)
- Opinion(Burkini รฉtรฉ 2016): Dรฉlit de terrorisme vestimenta...
- Nested property access notation for types ๐
- burkini.md ๐
- Partial json parser w/ healing support ๐ (2 files)
- Generic partial parsing / oai compat stream diffs! ๐
- Minja normalization logic as template ๐
- Feature complete jinja C++11 implementation w/o deps for ... ๐ (3 files)
- llama.cpp: detect left recursion in grammars ๐
- Example C++ Transpiling of OpenSCAD ๐
- CGAL: convert between CGAL::CartesianCGAL::Gmpq and CGA... (2 files)
- OpenSCAD STL Export - float conversions w/ double-convers... ๐
- OpenSCAD parallel.h w/ TBB directly ๐
- OpenSCAD Manifold rejects / deleted code ๐
- OpenSCAD Tree Flatterning: push transforms down and bubbl... ๐ (2 files)
- CGAL SINGLETON Numeric ๐
- BridJ JNI trampolines using modern C++ (Variadic macros +... ๐ (3 files)
- OpenSCAD++: C++ API to write OpenSCAD programs in C++ ๐
- OpenSCAD Eigen Vector Hybrid v2 ๐ (2 files)
- Test eigen api + possible dynamic lazy wrapper for OpenSCAD ๐
- Optimized OpenSCAD Vector w/ Eigen types ๐ (2 files)
- CGAL Number that wraps another with an interval, for a ma... ๐
- Draft ideas re/ pluggable CSG engines in OpenSCAD ๐
- Repro test case for suspicion of T-junctions in CGAL core... ๐
- fast-csg-remesh VERBOSE_REMESHING ๐
- scalable_map.h: pair->flat_map->unordered_map as growth d... ๐
- WIP CGAL Cached Number for Kernels ๐ (3 files)
- CGAL corefinement visitor to remesh the remains of split ... ๐ (5 files)
- CGAL ApproxDouble Kernel: pushing naive inexact operation... ๐
- OpenSCAD Epick minkowski ๐
- CGAL nef/polyhedron/surface mesh CSG operation tests ๐ (5 files)
- Check edge cases of CGAL::Polygon_mesh_processing::corefi...
- Surface_mesh version of CGALHybridPolyhedron ๐ (2 files)
- CGAL::Polyhedron_3 repair code with CGAL::Polygon_mesh_pr...
- The ultimate union of CGAL::{Polyhedron_3,Nef_polyhedron_... ๐ (2 files)
- Experiment w/ fast-union heuristic to break local overlap... (3 files)
- Macro Extensions Plugin Input / Output with macro body (2 files)
- Macro Extensions Plugin Input / Output (2 files)
- Runtime Extension Plugin (2 files)
- Scala 2.9 Extensions.scala
- Scala 2.10 Extensions.scala
- Example of simplified macro definition that could be made...
- Ideas on how to extend Scalaxy/Compilets to support untyp...
- TransformBeforeTyper.scala
- TediousAssertMessage.scala
- ScalaxyDebugAssert.scala
- build.sbt
- StringInterpolatedAssertMessage.scala
- gistfile1.scala
- gistfile1.scala
- gistfile1.scala
- gistfile1.scala
- gistfile1.scala
- an_example.scala (2 files)
- Beans factory implementation
- Beans setters
- Beans factory example
- test.scala ๐
- gistfile1.scala
- Reduction.scala ๐ (3 files)
- dart parser.scala ๐
- OpenCL Tuples in Scala ๐
- Scala OpenCL AnyVal wrappers ๐ (3 files)
- ScalaCL v3 unit test ๐ (2 files)
- gistfile1.scala ๐ (9 files)
- cox-oauth-diagnostic-commands.sh ๐
- MCP Calling Skill ๐ (3 files)
- Chrome MCP Server ๐ (3 files)
- WebTop ๐
- llama.cpp install script ๐
- Build Piper TTS on MacOS ๐
- RPi 5 llama.cpp + Piper TTS continuous hallucination stream ๐
- llama.cpp Colab CUDA build ๐
- Emscripten build of OpenSCAD w/ OneTBB + pthreads ๐
- llama.cpp hyperfine commands ๐ (3 files)
- OpenAI tool call in chat completion ๐
- Performance benchmark script for Manifold ๐
- BridJ Docker cross-build image ๐
- List all the files belonging to all the (apt) packages on... ๐ (2 files)
- tryadactyl OpenSCAD hyperfine timing script ๐
- Unicode block art in Bash for animated progress indicator... ๐ (4 files)
- Wrapper around
wg showthat uses pivpn configuration na... - Hardlink: access devices from anywhere, securely. ๐
- OpenSCAD benchmarking utility (compares various features ...
- gistfile1.txt ๐
- move_ddc_runtime_js_to_dart.sh
- angular2 code size ๐
- mcp_oauth_probe.py ๐
- mini MCP server ๐
- llama.cpp agent example ๐ (15 files)
- GGUF template checker against original model ๐
- llama.cpp tool call stats eval ๐
- sqlite-vec + sqlite-lembed + sqlite-rembed in one neat pa... ๐
- SQLite-vec memory for RAG w/ DB migration builtin! ๐
- llama.cpp agent runner that allows local tools ๐
- Python -> FastAPI converter ๐
- RAG.py llama.cpp ๐
- llama.cpp OpenAI-compatible server w/ tools support for F... ๐ (4 files)
- llama.cpp tool usage / agent example ๐ (2 files)
- llama.cpp + Pydantic w/ or w/o Instructor & OpenAI packages ๐
- Test llama.cpp + server + openai fastapi wrapper + instru... ๐ (3 files)
- Evaluate impact of lit-gpt Q&A fine-tuning tokenization f... ๐
- scad2py (OpenSCAD implementation in Python) ๐ (4 files)
- OLD - OO layer atop GGML's python bindings ๐
- Python: list iOS RAW Photos that can be deleted or downgr... ๐
- https://www.waveshare.com/servo-driver-hat.htm ๐
- Dart Development Server
- Script to get the GGUF file from an Ollama image for use ...
- COMPLETE sheet macro for any LLMs ๐
- LlamaIndexTS Tutorial ๐
- List Tabs Browser Extension (Chrome) ๐ (5 files)
- ChatGPT Chrome Extension Experiment ๐ (4 files)
- TypedFunction: a pure-JS typed function that can be seria... ๐
- Google Spreadsheet Apps Script to Create / Update Calenda... ๐
- URL encode of json ๐
- Confusables Unicode characters demo ๐ (3 files)
- null-inference ๐ (3 files)
- ES6 destructuring in DDC ๐ (3 files)
- generics.js ๐ (2 files)
- es6_runtime.js (3 files)
- needle ๐ (5 files)
- Diagrammed Assertions for JavaScript / ES6 !!! ๐ (3 files)
- Poor man's Proxy polyfill
- Experiment on Closure Compiler's function types (behaviou...
- transformers.js phi 3.5 ๐
- RAG Example - MediaPipe + hnswlib-wasm + Gemma 2b it + js... ๐ (3 files)
- Mediapipe Embedding Test ๐
- Interactive Deps w/ Mermaid.js ๐
- Sandboxed iframe messaging example ๐ (2 files)
- Complete echo + create w/ brotli support ๐ (5 files)
- Static page that displays URL #hash content safely (Also,... ๐ (2 files)
- Overload - preload links! ๐ (5 files)
- Deconstruct ECMAScript 6 Proxy-based Lenses ๐
- es6 proxy sandbox ๐
- Web bot with voice recognition & synthesis ๐ (2 files)
- Typer demo: adds TypeScript types to JavaScript code, in ... ๐
- dom abduction ๐
- skygular
- designer
- index.ts ๐
- Pattern to reuse iframe-embed as an MCP App ๐
- MCP-UI v2 Prototype ๐ (27 files)
- MCP Apps capabilities negotiation ๐
- MCP TS Remove Passthrough Trick ๐
- MCP proxy options for antechamber ๐ (4 files)
- MCP Proxy ๐ (2 files)
- OpenSCAD.js TS definitions brainstorming ๐
- Copy of github.com/ochafik/typer for the purpose of exami... ๐ (9 files)
- Infer missing typescript types ๐ (5 files)
- Mutable -> Immutable transition library ๐
- TypeScript protobufs ๐ (2 files)
- ES6 Proxy-based Sandbox in TypeScript ๐
- example.ts ๐ (4 files)
- generate_content_async_bug.ipynb ๐
- -financial-rag-llama3.ipynb ๐
- test-impact-of-lit-gpt-qa-training-set-tokenization-fix.i... ๐
- llama-cpp-skip-unused-logits-computations.ipynb ๐
- Open-Interpreter Demo ๐
- llama-cpp-skip-unused-logits-computations.ipynb ๐
- CRASHES ggml-llama2.c.py.ipynb ๐
- ggml-cffi-python.ipynb ๐
- install.ipynb ๐
- install.ipynb ๐
- Flat buffers in dart... with idiomatic but inefficient bu... ๐
- dart:js doesn't unwrap IntersectionObserver
- dart:js IntersectionObserver unwrapping bug
- test.dart ๐
- dart_jvm_test.dart ๐ (14 files)
- Simple example of async/await transform for Dart's dev_co... (2 files)
- opencl tuples dart ๐
- Dart Closure Placeholders ๐ (2 files)
- transformer.dart ๐
- Prototype Ruler Axes For OpenScad Web Playground ๐
- OpenSCAD Examples sped up by fast-csg feature (9 files)
- OpenSCAD + Manifold rendering time examples ๐ (45 files)
- OctreeBuilder.h ๐ (4 files)
- Bezier Turtle for BOSL2 / OpenSCAD ๐
- An OpenSCAD model of scalemail (source included below) th... (4 files)
- OpenSCAD Chainmail benchmark for fast-union evaluation
- Some stress test for lazier unions
- OpenSCAD file with an irregular pattern
- MCP Elicitation Backfill w/ Claude API ๐ (5 files)
- MCP-UI Server - let the model create its own UIs. ๐ (5 files)
- llama.cpp / ollama tool bench results ๐ (26 files)
- Example of 10 wikidata items from the JSON dump ๐
- ochafik.com.json AI index ๐
- llama-server payloads ๐ (2 files)
- Simple llama.cpp benchmark ๐ (4 files)
- Command R7B Thinking Prompt ๐
- llama.cpp DeepSeek R1 alternative chat template ๐
- PYTHON mode llama.cpp DeepSeek R1 alternative chat template ๐
- Comparing ollama's template w/ the original for Llama-3.3... ๐ (2 files)
- Tool call generic template: tests/chat/templates/generic.... ๐
- Examples of non-trivial LLM chat templates ๐ (2 files)
- DFT.java
- TestOpenCLDataTransfers.java
- SomeAssert.java (2 files)
- DFT2.java
- DiscreteFourierTransformProgram.java
- Find tokens matching pattern in tokenizer.json ๐
- llama.cpp_ggml-vocab.bin.txt ๐ (2 files)
- Color change bug for PrusaSlicer / BambuStudio ๐
- Decompress from data uri ๐
- crash repro for sqlite_lembed large inputs ๐ (2 files)
- llama2.c BATCH prompt eval + data extraction for visualiz... ๐
- DiscreteFourierTransformProgram.c
- Ideal Emscripten CMakeFile.txt ๐ (3 files)
- Emscripten OpenSCAD Updated Options ๐
- URL Shortener Stub ๐ (4 files)
- Bambulab AMS Savings - OpenSCAD model for simple multicol... ๐ (2 files)
- Export Tweets w/ unofficial API ๐ (5 files)
This index is generated by the index.ts script in this gist.
Run locally:
# Requires: deno, gh CLI (authenticated)
GITHUB_TOKEN=$(gh auth token) GIST_ID=a1ccb90267fc6558bb3aafbe90b64048 \
deno run --allow-net --allow-env \
https://gist.githubusercontent.com/ochafik/a1ccb90267fc6558bb3aafbe90b64048/raw/index.tsOptions:
DRY_RUN=1- Preview without updatingINCLUDE_PRIVATE=0- Exclude private gists
Generated by gist-indexer