Skip to content

Instantly share code, notes, and snippets.

@DoubleGremlin181
DoubleGremlin181 / Common LeetCode Patterns.MD
Last active November 20, 2026 00:42
Coding Interview — Common LeetCode Patterns Cheat Sheet

Coding Interview — Common LeetCode Patterns Cheat Sheet

All 17 core coding interview patterns. Sorted by commonality × difficulty — most frequent and easiest patterns first, rarest and hardest at the bottom. For each: how to spot it, the core idea, a clean code example, and LeetCode practice problems.


1. Two Pointers

Frequency: ★★★★★ | Difficulty: Easy

@VictorTaelin
VictorTaelin / hoc_historical_overview.md
Last active November 20, 2026 00:33
Higher Order Company: Complete Historical Overview - WIP

Higher-Order Company: Complete Historical Overview

This document is a complete historical overview of the Higher Order Company. If you want to learn anything about our background, a good way to do so is to feed this Gist into an AI (like Sonnet-3.5) and ask it any question!

My Search for a Perfect Language

It all started around 2015. I was an ambitious 21-year-old CS student who, somehow, had been programming for the last 10 years, and I had a clear goal:

I want to become the greatest programmer alive

@jakubtomsu
jakubtomsu / ufmt.odin
Created January 19, 2026 13:57
Extremely stripped down lightweight `core:fmt` alternative
// Micro-fmt
//
// Extremely stripped down `core:fmt` alternative.
// Supports only %s, %f, %i, %x, %%
// NOTE: curly braces don't need to be doubled ({{ and }}) like in `core:fmt`
//
// By Jakub Tomšů
package ufmt
import "base:runtime"
@n-ce
n-ce / YTM_Clients_FOSS_Android.md
Last active November 20, 2026 00:28
YouTube Music clients on Android

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.

@mmozeiko
mmozeiko / win32_d3d11.c
Last active November 20, 2026 00:18
setting up and using D3D11 in C
// example how to set up D3D11 rendering on Windows in C
#define COBJMACROS
#define WIN32_LEAN_AND_MEAN
#include <windows.h>
#include <d3d11.h>
#include <dxgi1_3.h>
#include <d3dcompiler.h>
#include <dxgidebug.h>
@cellularmitosis
cellularmitosis / README.md
Last active November 20, 2026 00:06
Some inexpensive Factorio ship designs

Inexpensive Factorio ship and how to design them

Here's an overview of my Factorio ship designs which can be built inexpensively.

See also the Design topics section below.

These ships are designed for use within the first four planets.

⭐️ Recommended ships:

  • The Hornet (the cheapest useful ship)
@matheusbattisti
matheusbattisti / prompts-orchestrator-antigravity.md
Created November 15, 2026 11:39
O Orchestrator do Antigravity, testado: Hydrogen x Argon x Orchestrator em 3 projetos (Hora de Codar)

O Orchestrator do Antigravity, testado: os prompts do vídeo

Os pedidos que usei no vídeo, cada um numa pasta vazia, no Antigravity CLI com a assinatura Google AI Pro. Cada pedido rodou palavra por palavra no Gemini 4 Hydrogen sozinho e no Orchestrator (o Argon planeja e o Hydrogen executa). O Fio de Ariadne rodou também no Gemini 4 Argon sozinho, em três pedidos na mesma conversa.

Anúncio oficial: https://antigravity.google/blog/gemini-4-hydrogen-in-google-antigravity/

1 · Trilha Viva: marketplace de trilhas guiadas (o mesmo pedido no Hydrogen e no Orchestrator)

Crie nesta pasta, que está vazia, o Trilha Viva: uma plataforma para guias de trilha e ecoturismo venderem os passeios deles. O turista acha a trilha, escolhe a data, reserva as vagas e paga; o guia organiza a agenda, faz o check-in do grupo no dia e recebe as avaliações. Use Next.js com TypeScript, Tailwind e banco SQLite.
@orepras
orepras / bahasa-indonesia-plain.md
Last active November 20, 2026 00:01
An agent skill for writing in Bahasa Indonesia plain style and RASA framework

name: bahasa-indonesia-plain description: > Tulis dan edit teks antarmuka, panduan, dokumentasi, atau konten apa pun dalam Bahasa Indonesia yang lugas, inklusif, dan ramah semua orang, menggunakan prinsip bahasa polos (plain language), EYD, desain trauma-informed, aksesibilitas kognitif, dan framework RASA (Ritmis, Akurat, Sarat Makna, Alami) sebagai lensa evaluasi kualitas tulisan. Gunakan skill ini saat menulis UI copy, microcopy, laporan, panduan pengguna, komunikasi layanan publik, atau teks apa pun yang harus dipahami siapa saja sejak pertama kali membacanya.