Skip to content

Instantly share code, notes, and snippets.

@thoroc
thoroc / agent-stars.md
Created March 18, 2026 14:00
Agentic harness ranking - based on github stars
@leonletto
leonletto / beads_server_to_embedded_migration_guide.md
Created April 10, 2026 23:06
Beads (bd) migration guide: any pre-1.0 install (SQLite-era, server-mode Dolt, orphaned JSONL) → bd 1.0 embedded mode. Covers two recovery paths, schema drift repair, auto-commit/auto-push setup, and sync re-establishment for private repos.

Beads: Any-Source to Embedded Mode Migration (→ bd 1.0)

How to upgrade any pre-1.0 beads install — SQLite-era (bd < 0.55), server-mode Dolt (bd 0.55–0.63), or orphaned JSONL export — to bd v1.0.0+ (embedded Dolt, no server).

How this guide came to be

I maintain beads databases across a lot of repositories — personal projects, work repos, experiments, backups, and a couple of long-lived

@quoha
quoha / Working-With-XCode
Created January 21, 2013 17:58
Using XCode with github
Using XCode with github
=======================
0. These steps were pulled from the documentation on github
1. Create an empty repository on GitHub
do not initialize with a README
2. Note the SSH path to the new repository
git@github.com:quoha/derp-octo-sansa.git
@JackTYM
JackTYM / tripo3d_model_downloader.js
Created May 13, 2026 05:33
Tripo3d.ai Model Downloader
/**
* tripo3d_model_downloader.js
* ─────────────────────────────────────────────────────────────────────────────
* Extracts the loaded 3D model directly from the TresJS/Three.js renderer on
* studio.tripo3d.ai, bypasses the export tool entirely, and triggers a .glb
* download.
*
* HOW IT WORKS
* ─────────────────────────────────────────────────────────────────────────────
* 1. The site is a Nuxt 3 / Vue 3 app using TresJS (Vue wrapper for Three.js).
@lukehedger
lukehedger / ffmpeg-compress-mp4
Last active December 2, 2026 21:36
Compress mp4 using FFMPEG
$ ffmpeg -i input.mp4 -vcodec h264 -acodec mp2 output.mp4
@TheGalaxiaN
TheGalaxiaN / bbc-adguard-blocklist.txt
Last active December 2, 2026 21:26
BBC blocklist for AdGuard
# ============================================================================
# BBC Blocker — filter list for AdGuard Home / AdGuard
# ============================================================================
# Blocks BBC domains, apps, iPlayer, Sounds, news/sport, and BBC-specific
# CDN endpoints hosted on shared delivery networks.
#
# FORMAT : AdGuard / Adblock syntax.
# "||domain^" blocks that domain AND every subdomain of it, which is
# why this list is short — everything on *.bbc.co.uk is already
# covered by the single ||bbc.co.uk^ line. No need to enumerate
@Samraaj
Samraaj / 00-START-HERE.md
Created October 25, 2026 21:45
Build a beautiful TV home screen with AI — Samraaj’s prompt, camera watcher workflow, and Samsung / Android TV references

Give your TV a beautiful new home screen

The expanded prompt from Samraaj's TV makeover video. Identify your TV, give your coding agent eyes through a phone camera, then build and install a home screen for the platform you actually own.

Start here

  1. Have your TV, its remote, a computer, and a phone ready. Put the TV and computer on the same trusted home network.
  2. Open a coding agent on your computer with permission to work with local files and development tools, and the ability to inspect images. A text-only chat cannot deploy to your TV by itself.
  3. Open 01-TV-MAKEOVER-PROMPT.md below, copy its entire contents, and paste it into the agent. Fill in any preferences you already know; leave everything else as unknown.
  4. Let the agent identify the hardware first. It will then build the camera watcher, show you a QR code, and ask you to grant camera access and point your phone at the TV.
@xikhar
xikhar / metroidvania-prompt.md
Created December 1, 2026 22:06
metroidvania-prompt

Build a high quality complete pixel style metroidvania game in the browser.

Platform and constraints: It should run in the browser. Graphics drawn using webgl. Gameplay engine built on top of webgl as well, no external libraries. you need to invent all the code to make and run the game great.

First part: Research. It needs to be a Metroidvania, so research on how they look like and what are the gameplay mechanisms, camera movements, world design, Techniques to build it. Webgl things to understand. study the existing games for some references. Read ENGINE section below for what more to research on that.

Second part: reference & Design. Use PIXELGAME.jpg in main-ref folder as the source of truth. Use available models on FAL MCP to generate more reference images as you need, or any video that you need. The first part of the process is to explore reference ideas and have a concrete plan of what to build, along with what it should look like. And the entire theme should be consistent across the game. generate mo

@niro1987
niro1987 / zha_ikea_tradfri_2button_remote_brightness.yaml
Last active December 2, 2026 20:59
Home Assistant - Blueprint - ZHA - IKEA TRADFRI - 2 Button Remote - OnOff and Brightness
---
# This automation simulates the use of the IKEA TRADFRI Dimmer control
# connected through ZHA.
# | Button | Action |
# | ----------- | ------------------- |
# | on (short) | Turn the light on |
# | off (short) | Turn the light off |
# | on (long) | Increase brightness |
# | off (long) | Decrease brightness |