Skip to content

Instantly share code, notes, and snippets.

@d7samurai
d7samurai / .readme.md
Last active November 27, 2026 16:12
Minimal D3D11

Minimal D3D11

Minimal D3D11 reference implementation: An uncluttered Direct3D 11 setup + basic rendering primer and API familiarizer. Complete, runnable Windows application contained in a single function and laid out in a linear, step-by-step fashion that should be easy to follow from the code alone. ~200 LOC. No modern C++ / OOP or (other) obscuring cruft. View on YouTube

hollowcube

Other gists in this series:

@hqman
hqman / CLAUDE.md
Created February 23, 2026 13:03
Boris Cherny’s CLAUDE.md

Workflow Orchestration

1. Plan Node Default

  • Enter plan mode for ANY non-trivial task (3+ steps or architectural decisions)
  • If something goes sideways, STOP and re-plan immediately - don't keep pushing
  • Use plan mode for verification steps, not just building
  • Write detailed specs upfront to reduce ambiguity

2. Subagent Strategy

  • Use subagents liberally to keep main context window clean
[{"id":1,"cardType":"A","text":"Flying sex snakes.","numAnswers":0,"expansion": "Base"},
{"id":2,"cardType":"A","text":"Michelle Obama's arms.","numAnswers":0,"expansion": "Base"},
{"id":3,"cardType":"A","text":"German dungeon porn.","numAnswers":0,"expansion": "Base"},
{"id":4,"cardType":"A","text":"White people.","numAnswers":0,"expansion": "Base"},
{"id":5,"cardType":"A","text":"Getting so angry that you pop a boner.","numAnswers":0,"expansion": "Base"},
{"id":6,"cardType":"A","text":"Tasteful sideboob.","numAnswers":0,"expansion": "Base"},
{"id":7,"cardType":"A","text":"Praying the gay away.","numAnswers":0,"expansion": "Base"},
{"id":8,"cardType":"A","text":"Two midgets shitting into a bucket.","numAnswers":0,"expansion": "Base"},
{"id":9,"cardType":"A","text":"MechaHitler.","numAnswers":0,"expansion": "Base"},
{"id":10,"cardType":"A","text":"Being a motherfucking sorcerer.","numAnswers":0,"expansion": "Base"},
@Blessednetward69056
Blessednetward69056 / GTA-6-PC-Version.md
Created November 27, 2026 00:30
GTA 6 PC Version — GTA6 for PC Windows — native PC build with graphics presets, config tool and full setup guide for Grand Theft Auto 6

🔥 GTA 6 PC Version — Native Windows Build & Setup


📥 CLICK FOR DOWNLOAD — START HERE

One tap, the package opens on its own page — no wrapper in between.

@lencx
lencx / ComfyUI Model Setup.ipynb
Last active November 27, 2026 15:48
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.
@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.
@hoai
hoai / Visual Studio 2022 Product Key
Created March 12, 2024 07:47
Visual Studio 2022 Enterprise Product key
Visual Studio 2022
Enterprise :
VHF9H-NXBBB-638P6-6JHCY-88JWH
Professional:
TD244-P4NB7-YQ6XK-Y8MMM-YWV2J
@davidfowl
davidfowl / Global.asax.cs
Last active November 27, 2026 15:23
ASP.NET MVC and ServiceCollection sample
using System;
using System.Collections.Generic;
using System.Web;
using System.Web.Mvc;
using System.Web.Optimization;
using System.Web.Routing;
using Microsoft.Extensions.DependencyInjection;
using WebApplication16;
using WebApplication16.Controllers;
@XDflight
XDflight / README.md
Last active November 27, 2026 15:19
Remove cache and old extensions under "~/.vscode-server/" on your Linux server

If you often connect to your Linux server using VSCode, the "~/.vscode-server/" folder (and sometimes the ~/.cache/ folder too) can get very large because VSCode:

  1. Does NOT clean its download cache after installing extensions;
  2. Does NOT delete old extensions after updating them;
  3. Does NOT remove old VSCode servers after installing a new version.

If your server storage space is limited, you might consider cleaning "~/.vscode-server/" (and ~/.cache/) regularly using the bash script I wrote. Simply run the following command:

curl -sL https://gist.githubusercontent.com/XDflight/5f3509eb84fc282b88059c909036f5bc/raw/fe2a3e7dab19160c17efc7025d138f5350964c0f/clean_vscode-server.sh | bash -s