Skip to content

Instantly share code, notes, and snippets.

@d7samurai
d7samurai / .readme.md
Last active June 27, 2026 17:12
Minimal D3D11 bonus material: pixel art antialiasing

Minimal D3D11 bonus material: pixel art antialiasing

A minimal Direct3D 11 implementation of "antialiased point sampling", useful for smooth fractional movement and non-integer scaling of pixel art AKA "fat pixel" aesthetics.

Also view below side-by-side point sampling comparison on YouTube (video is zoomed in to counter implicit downsampling & compression artifacts and make aa effect more apparent) or check out the original Shadertoy.

skull

The actual sampler is set to bilinear filtering (the default D3D11 sampler state) in order to utilize single texture-read hardware interpolation, then emulating point sampling in the shader and applying AA at the fat pixel boundaries. Use with premultiplied alpha textures* and keep a one pixel transparent border around

@miurhz
miurhz / BMW_USB_Software_Update.md
Last active June 27, 2026 17:03
USB firmware update files for BMW CIC (Multimedia) and Combox (Bluetooth/Telephone), no longer available on official servers. Includes download links (from official site) and instructions for updating via USB.

BMW CIC & Combox USB Firmware Updates

Officially titled: BMW Software Update for External Devices – Multimedia and Telephone

ℹ️ About This Guide:

  • I am not pro at any of this. I started to search for information how to update vehicle's multimedia because of my own Bluetooth issue.
  • As BMW no longer provided software updates on their main site at that time, the task was to find is it still possible to get them.
  • After long searches I managed to solve my issue successfully and decided to put everything I found in one place.
@wojteklu
wojteklu / clean_code.md
Last active June 27, 2026 17:01
Summary of 'Clean code' by Robert C. Martin

Code is clean if it can be understood easily – by everyone on the team. Clean code can be read and enhanced by a developer other than its original author. With understandability comes readability, changeability, extensibility and maintainability.


General rules

  1. Follow standard conventions.
  2. Keep it simple stupid. Simpler is always better. Reduce complexity as much as possible.
  3. Boy scout rule. Leave the campground cleaner than you found it.
  4. Always find root cause. Always look for the root cause of a problem.

Design rules

@cassidyjames
cassidyjames / tweaks-for-mastodon.css
Last active June 27, 2026 16:54
CSS Tweaks for Mastodon
/* Cassidy’s CSS tweaks for mastodon.blaede.family
Inspired in part by TangerineUI:
https://github.com/nileane/TangerineUI-for-Mastodon/
…but much smaller in scope.
by @cassidy@blaede.family
*/
:root {
@milnak
milnak / Behringer TD-3 Tutorial.md
Last active June 27, 2026 16:51
Behringer TD3 Tutorial

Behringer TD-3 Tutorial

System overview

  • 4 Pattern Groups (PG): I, II, III, iV
  • 16 Patterns (PA) per PG, eight "A" patterns and eight "B" patterns.
  • Each PA can have up to 16 steps. Default step is a 16th note.
  • 7 Tracks (TR)
    • PG I consists TR 1, 2
  • PG II consists TR 3, 4

LLM Wiki

A pattern for building personal knowledge bases using LLMs.

This is an idea file, it is designed to be copy pasted to your own LLM Agent (e.g. OpenAI Codex, Claude Code, OpenCode / Pi, or etc.). Its goal is to communicate the high level idea, but your agent will build out the specifics in collaboration with you.

The core idea

Most people's experience with LLMs and documents looks like RAG: you upload a collection of files, the LLM retrieves relevant chunks at query time, and generates an answer. This works, but the LLM is rediscovering knowledge from scratch on every question. There's no accumulation. Ask a subtle question that requires synthesizing five documents, and the LLM has to find and piece together the relevant fragments every time. Nothing is built up. NotebookLM, ChatGPT file uploads, and most RAG systems work this way.

@JLCareglio
JLCareglio / # Xbox Store Price & Deals Filter.md
Last active June 27, 2026 16:49
🇺🇸 Add price range filters and deal filters to Xbox store. 🇦🇷 Agrega filtros de rango de precios y ofertas a la tienda Xbox.

Xbox Store Price & Deals Filter

This script or UserScript adds price range filters and deal filters to Xbox store.

image

License: MIT Tampermonkey Xbox

@JLCareglio
JLCareglio / # Xbox-Now Enhanced Filters.md
Last active June 27, 2026 16:48
Enhanced Xbox-Now Filters

Xbox-Now Enhanced Filters

This UserScript enhances the Xbox-Now website with more filtering options for game listings, allowing you to customize the view of the available games by customizing tags or ignore lists.

captura-botones-(300x800)captura-modal-filtros-(300x800)

License: MIT Tampermonkey Xbox