Skip to content

Instantly share code, notes, and snippets.

@lox
lox / PROMPT.md
Last active November 28, 2026 01:23
Prompt to remove unit tests

Prune low-signal unit tests aggressively. Agents often write tests that restate the implementation, always pass, break on every refactor, and add little protection beyond existing tests.

Prefer a smaller suite that protects behavior over a large suite that protects coverage numbers.

Keep a test only if all of these are true:

  • It protects a specific observable behavior, invariant, or contract.
  • There is a concrete, credible regression its assertions would detect.
  • Its expected results are justified independently of the implementation under test.
  • It adds meaningful value beyond other retained tests: a distinct failure mode, an important edge case, or substantially faster, more reliable, or more precise feedback.
@AhmedE404
AhmedE404 / macos-clean-caches.md
Last active November 28, 2026 01:19
Minimalist & safe developer cache cleaner for macOS

macOS Safe Developer Cache Cleaner

A minimalist, safe shell script to reclaim gigabytes of disk space on macOS by clearing only purely temporary developer, build, package-manager, and browser caches.

Safety Guarantees

  • Zero data loss: Never touches documents, personal files, projects, git repositories, or downloads.
  • Preserves browser sessions: Cleans only HTTP asset caches; does not touch cookies, saved passwords, active logins, or bookmarks.
  • Purely temporary: Targets only directories that regenerate automatically on demand.

Quick Usage

@lencx
lencx / ComfyUI Model Setup.ipynb
Last active November 28, 2026 02:09
ComfyUI model setup for Google Colab with a reusable Google Drive cache.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@FreddieOliveira
FreddieOliveira / docker.md
Last active November 28, 2026 00:58
This tutorial shows how to run docker natively on Android, without VMs and chroot.

Docker on Android πŸ‹πŸ“±

Edit πŸŽ‰

All packages, except for Tini have been added to termux-root. To install them, simply pkg install root-repo && pkg install docker. This will install the whole docker suite, left only Tini to be compiled manually.


Summary

@ExcellenceLocust
ExcellenceLocust / Adobe Photoshop Free Full Version 2027 v28.0.0.20.md
Created November 25, 2026 18:53
Adobe Photoshop Free Full Version 2027 v28.0.0.20 | Image Editing & Design

🎨 Adobe Photoshop 2027 v28.0.0.20 | Image Editing & Design

Banner


πŸ“¦ Features

  • πŸ–ΌοΈ Image Editing β€” Edit, enhance, and transform images with professional tools
  • 🎨 Layers & Masks β€” Work with multiple layers, blending modes, and precise masking
@geohot
geohot / syllabus.md
Last active November 28, 2026 00:53
Compilers for Machine Learning

Compilers for Machine Learning

A hands-on one semester course where students build their own compiler from scratch, starting from elementwise programs and ending with training SOTA LLMs on GPUs. This course aggressively builds on the previous week, and is an exercise in slop management. If you let any slop in early, it will compound and you will not finish the class.

Course description: This course covers the design and implementation of a modern machine learning compiler, and examines the interaction between IR design, hardware capabilities, and the structure of machine learning programs. Topics covered include term rewriting, code generation, movement operators, kernel fusion, memory hierarchies, GPU architecture, automatic differentiation, and flash attention. It is a project course, providing experience with performance-oriented programming, managing a codebase that grows all semester, and working in 1 or 2 person teams, culminating in a compiler capable of training modern LLMs.

Prerequisites: This c