Skip to content

Instantly share code, notes, and snippets.

@d7samurai
d7samurai / .readme.md
Last active December 1, 2026 19:26
Minimal D3D11 elaborations I

Minimal D3D11 elaborations I

A spin-off from the mainline Minimal D3D11 series, adding two-lane instanced rendering. As before: An uncluttered Direct3D 11 setup & basic rendering primer / API familiarizer. Complete, runnable Windows application contained in a single function and laid out in a linear, step-by-step fashion. No modern C++ / OOP / obscuring cruft.

The main difference here is that the hollow cube itself is rendered using instancing (which saves a lot of vertices compared to the original, so geometry data is now small enough to be included in the source without being too much in the way), but also all trigonometry and matrix math is moved to the vertex shader, simplifying the main code (and not needing math.h).

In this case, each instance is mere

@d7samurai
d7samurai / .readme.md
Last active December 1, 2026 19:26
Minimal D3D11 part 2: instancing

Minimal D3D11 part 2: instancing

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. ~220 LOC. No modern C++ / OOP or (other) obscuring cruft. View on YouTube

Minimal D3D11 part 2: instancing

Building directly on the canonical Minimal D3D11 this follow-up introduces instanced rendering, where each instance is described in the form of a [separate transformation matrix](https:/

Beast Mode

Beast Mode is a custom chat mode for VS Code agent that adds an opinionated workflow to the agent, including use of a todo list, extensive internet research capabilities, planning, tool usage instructions and more. Designed to be used with 4.1, although it will work with any model.

Below you will find the Beast Mode prompt in various versions - starting with the most recent - 3.1

Installation Instructions

  • Go to the "agent" dropdown in VS Code chat sidebar and select "Configure Modes".
  • Select "Create new custom chat mode file"
@merlijn-sebrechts
merlijn-sebrechts / like-entire-youtube-playlist.md
Last active December 1, 2026 19:24
How to add an entire YouTube Music playlist to "liked songs"

How to add an entire YouTube Music playlist to "liked songs"

After migrating from Spotify to YouTube Music, I had the issue that my "liked songs" became a playlist on YouTube Music, instead of "liked songs".

I automatically added this entire playlist to likes song using the following steps.

  1. Open YouTube Music in your browser.
  2. Open the playlist you want to like.
  3. Scroll to the very bottom so all songs load.
  4. Press F12 to open Developer Tools → go to the Console tab.
@kconner
kconner / macOS Internals.md
Last active December 1, 2026 19:21
macOS Internals

macOS Internals

Understand your Mac and iPhone more deeply by tracing the evolution of Mac OS X from prelease to Swift. John Siracusa delivers the details.

Starting Points

How to use this gist

You've got two main options:

@Bs-Coder-Pro
Bs-Coder-Pro / GoogleDorking.md
Created December 1, 2026 19:19 — forked from 45DR/GoogleDorking.md
Google dork cheatsheet

Google dork cheatsheet

Search filters

Filter Description Example
allintext Searches for occurrences of all the keywords given. allintext:"keyword"
intext Searches for the occurrences of keywords all at once or one at a time. intext:"keyword"
inurl Searches for a URL matching one of the keywords. inurl:"keyword"
allinurl Searches for a URL matching all the keywords in the query. allinurl:"keyword"
intitle Searches for occurrences of keywords in title all or one. intitle:"keyword"

GSoC 2026 Project Report

Project Description

The VM snapshot load feature in QEMU utilizes the precopy migration infrastructure.

@45DR
45DR / GoogleDorking.md
Created April 17, 2020 17:50 — forked from beatsfaty/GoogleDorking.md
Google dork cheatsheet

Google dork cheatsheet

Search filters

Filter Description Example
allintext Searches for occurrences of all the keywords given. allintext:"keyword"
intext Searches for the occurrences of keywords all at once or one at a time. intext:"keyword"
inurl Searches for a URL matching one of the keywords. inurl:"keyword"
allinurl Searches for a URL matching all the keywords in the query. allinurl:"keyword"
intitle Searches for occurrences of keywords in title all or one. intitle:"keyword"
@cmj
cmj / nitter_instances.md
Last active December 1, 2026 19:19
Active Nitter instances
@Hellisotherpeople
Hellisotherpeople / we_wish_you_were_here.md
Last active December 1, 2026 19:19
Philipp Emanuel Weidmann (p-e-w): Our Era's Aaron Swartz

Philipp Emanuel Weidmann (p-e-w): Our Era's Aaron Swartz

A Eulogy

I was Philipp's acquaintance (I wish it were properly a friend) and coauthor on our work around XTC (eXclude Top Choices) and DRY (Don't Repeat Yourself) sampling. Most people in the open source AI world know him as p-e-w, or PeW. He was the mathematician and engineer who built Heretic after already giving the community DRY and XTC. By now you have probably seen the news out of Bhopal. Philipp Emanuel Weidmann was found dead inside a locked room on Sunday night at age 41, a day after he archived Heretic and [po