Skip to content

Instantly share code, notes, and snippets.

@mmozeiko
mmozeiko / !README.md
Last active July 14, 2026 21:26
Download MSVC compiler/linker & Windows SDK without installing full Visual Studio

This downloads standalone MSVC compiler, linker & other tools, also headers/libraries from Windows SDK into portable folder, without installing Visual Studio. Has bare minimum components - no UWP/Store/WindowsRT stuff, just files & tools for native desktop app development.

Run py.exe portable-msvc.py and it will download output into msvc folder. By default it will download latest available MSVC & Windows SDK from newest Visual Studio.

You can list available versions with py.exe portable-msvc.py --show-versions and then pass versions you want with --msvc-version and --sdk-version arguments.

To use cl.exe/link.exe first run setup_TARGET.bat - after that PATH/INCLUDE/LIB env variables will be updated to use all the tools as usual. You can also use clang-cl.exe with these includes & libraries.

To use clang-cl.exe without running setup.bat, pass extra /winsysroot msvc argument (msvc is folder name where output is stored).

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.

@eenblam
eenblam / linux_reading_list.md
Last active July 14, 2026 20:15
Linux Networking Reading List

Linux Networking Reading List

Currently in no particular order. Most of these are kind of ancient.

Where's all the modern documentation? So much of what I've turned up searching is other folks complaining about having few options beyond reading source code.

The OREILLY books, while dated, seem to be some of the best available. Note that these can be read with a 7-day trial. Do this! At least get through the introduction section and first chapter of each to see if it's what you're after.

https://www.netfilter.org/

@reinaldocoelho
reinaldocoelho / install_ubuntu.sh
Last active July 14, 2026 20:02
Bash script para instalacão dos softwares Ubuntu (After reinstall)
# Movido para projeto pessoal Chezmoi na pasta ~/.myscripts/install_ubuntu.sh
@JulioBorges
JulioBorges / n8n-affiliate-links.md
Last active July 14, 2026 19:59
n8n workflow de criação de links de afiliados
@tandpfun
tandpfun / SKILL.md
Created July 14, 2026 02:16
Extract Clothing Skill
name extract-clothing-cutouts
description Extract high-quality, deduplicated transparent ecommerce clothing cutouts from a folder of photographs where people wear one or more garments. Use when Codex must find outfit or model photos, identify unique clothing across images, create focused references, reconstruct complete garments with Imagegen, remove a solid chroma background into RGBA PNGs, and output only the finished clothing images into a new folder under the current working directory.

Extract Clothing Cutouts

Turn photographs of worn clothing into source-faithful standalone catalog PNGs. Treat each result as a reconstruction from visible evidence, not literal segmentation whenever the wearer or another layer occludes part of the garment.

Start by asking for two paths

@jdemartino78
jdemartino78 / vvs_optuna_tuner.py
Created July 6, 2026 17:27
Automated Reciprocal Rank Fusion (RRF) tuning script for Google Cloud Vertex AI Vector Search 2.0. Uses Optuna Bayesian optimization to sweep and discover optimal hybrid search weights.
import math
import optuna
import google.auth
from google.cloud import vectorsearch_v1beta as vectorsearch
# --- CONFIGURATION (UPDATE THESE VALUES) ---
PROJECT_ID = "YOUR_PROJECT_ID"
LOCATION = "us-central1" # e.g., us-central1
COLLECTION_NAME = "YOUR_COLLECTION_NAME"
COLLECTION_PATH = f"projects/{PROJECT_ID}/locations/{LOCATION}/collections/{COLLECTION_NAME}"
@jadilson12
jadilson12 / vscode.md
Last active July 14, 2026 19:19
Todos os atalhos do VS Code

Geral

  • Ctrl + Shift + P, paleta de comando F1 Show
  • Ctrl + P Quick Open, vá para o arquivo ...
  • Ctrl + Shift + N Nova janela / instância
  • Ctrl + Shift + W Fechar janela / instância
  • Ctrl +, configurações do usuário
  • Ctrl + K Ctrl + S Atalhos de teclado