Skip to content

Instantly share code, notes, and snippets.

@ncomet
ncomet / Anagrams.kt
Last active December 3, 2026 15:06
Anagrams in Kotlin
// we create a sequence that generates prime numbers
fun primes(): Sequence<Long> {
var i = 2L
return generateSequence { i++ }
.filter { n -> (2L until n).none { n % it == 0L } }
}
// we map chars to a unique prime
val charToPrime = ('a'..'z').zip(primes().take(26).toList()).toMap()
NetLimiter 3
Registration name: Peter Raheli
Registration code: C99A2-QSSUD-2CSBG-TSRPN-A2BEB
NetLimiter 4
Registration Name: Vladimir Putin #2
Registration Code: XLEVD-PNASB-6A3BD-Z72GJ-SPAH7
https://www.netlimiter.com/download
# Netlimiter Full Netlimiter Activated Netlimiter cracked Netlimiter Full Version Netlimiter Serial Netlimiter keygen Netlimiter crack Netlimiter 4 serial Netlimiter 4 Crack Netlimiter 4 register Netlimiter 4 patch Netlimiter full Full version Netlimiter 4 Activated Netlimiter 4 Cracked Netlimiter Pro

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.

@cgonzalezdai
cgonzalezdai / como-subir-un-proyecto-local-a-github.md
Last active December 3, 2026 15:01
Como subir un proyecto local a github

Cómo subir un proyecto local a GitHub

Una guía rápida para subir a GitHub un proyecto que ya tienes en tu equipo.

1. Crear un repositorio vacío en GitHub

Crea un nuevo repositorio en GitHub.

Indica:

@iamwildtuna
iamwildtuna / gist:7772b7c84a11bf6e1385f23096a73a15
Last active December 3, 2026 15:00
VPN IP Addresses (IP адреса ChatGPT, Copilot, Meta, Facebook, Instagram, YouTube, Medium, X ex. Twitter, Discord)
Meta (Instagram, Facebook)
// Узлы
157.240.253.174, 157.240.253.172, 157.240.253.167, 157.240.253.63, 157.240.253.32
157.240.252.174, 157.240.252.172, 157.240.252.167, 157.240.252.63, 157.240.252.38
57.144.112.34, 57.144.110.1, 157.240.205.174, 87.245.223.97
// Подсети
213.102.128.0/24
204.15.20.0/22
199.201.0.0/16
@avrahamappel
avrahamappel / album.conf
Last active December 3, 2026 14:58
yt-dlp configuration for downloading music with metadata and cover art
# Download in m4a format
--format="ba"
--extract-audio
--audio-format m4a
# Continue downloading if the download failed previously
--continue
--no-overwrites
# Set track number, album name, and artist name metadata tags
@MelbourneDeveloper
MelbourneDeveloper / Agents.md
Last active December 3, 2026 14:58
Global Agents.md
  • 1 feature branch, 1 working tree: merge all loose branches/stashes/uncommitted files into it & push. Delete branches already merged into it
  • ❌ ask user questions. Decide, act, report. Act autonomously
  • Duplication = bug. Use deslop
  • Important lints → error. Run static analysis routinely
  • 🧹 After work: delete safe system caches & unneeded build files, kill your owned processes that eat CPU or memory and check disk space
  • Refactors: violent, immediate, no back-compat. Legacy code banned → delete now
  • Centralize cross platform path handling; no dupes
  • Minimize code; decide toward less. Delete dead code now
  • 📦 Minimize 3rd-party deps: routinely delete unused packages/crates, add none without need, consolidate overlapping deps into one, avoid those with a vulnerability history
  • Reply ≤2 sentences, emojis for emphasis. Don't stream responses
@fnky
fnky / ANSI.md
Last active December 3, 2026 14:57
ANSI Escape Codes

ANSI Escape Sequences

Standard escape codes are prefixed with Escape:

  • Ctrl-Key: ^[
  • Octal: \033
  • Unicode: \u001b
  • Hexadecimal: \x1B
  • Decimal: 27
@heymind
heymind / claude-3p-fix-prompt.md
Created April 26, 2026 13:58
Claude Desktop 3P SSH Fix — prompt for Claude agent to enable SSH Code-tab sessions in third-party inference mode

Claude Desktop 3P SSH Fix

Enable SSH-based Code tab sessions in Claude Desktop when running in 3P mode (bedrock / vertex / foundry / gateway inference provider).

Prerequisites — verify BEFORE touching anything

Ask the user to confirm all of the following, in order. Do not proceed until each is checked.