Skip to content

Instantly share code, notes, and snippets.

@cmbaughman
cmbaughman / nc.md
Created January 6, 2015 17:18
Netcat (nc) cheatsheet

##Netcat Commands

NOTE: - If on Ubuntu, you need the REAL nc package, to get it use:

sudo apt-get -y install netcat-traditional
sudo update-alternatives --config nc
# Select the nc.traditional option

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.

@JackTYM
JackTYM / tripo3d_model_downloader.js
Created May 13, 2026 05:33
Tripo3d.ai Model Downloader
/**
* tripo3d_model_downloader.js
* ─────────────────────────────────────────────────────────────────────────────
* Extracts the loaded 3D model directly from the TresJS/Three.js renderer on
* studio.tripo3d.ai, bypasses the export tool entirely, and triggers a .glb
* download.
*
* HOW IT WORKS
* ─────────────────────────────────────────────────────────────────────────────
* 1. The site is a Nuxt 3 / Vue 3 app using TresJS (Vue wrapper for Three.js).
@a55uka
a55uka / roblox-play-in-browser-linux.user.js
Created December 3, 2026 16:01
Roblox: Play in browser (Linux)
// ==UserScript==
// @name Roblox: Play in browser (Linux)
// @namespace local.roblox-wasm-linux
// @version 2.0.0
// @description Recreates Roblox's beta "Play in browser" button on Linux and launches the WASM web client.
// @match https://www.roblox.com/*
// @match https://play.roblox.com/games/start*
// @run-at document-start
// @grant GM_registerMenuCommand
// @grant GM_getValue
@orepras
orepras / english-plain.md
Last active December 4, 2026 07:12
english-plain.md

name: english-plain description: > Write and edit English text that is plain, inclusive, and easy for everyone to read, using plain language principles, trauma-informed design, cognitive accessibility, and the RASA framework (Rhythmic, Accurate, Substantive, Authentic) to judge quality. Use for UI copy, microcopy, error messages, guides, reports, documentation, public-service content, or any text that should be understood on the first read, including by non-native readers. user-invokable: true

@rednafi
rednafi / agent.py
Last active December 4, 2026 07:11
Write agents as reconciliation loops. Details here: https://rednafi.com/ai/agent-reconciliation-loop/
#!/usr/bin/env -S uv run --script
# /// script
# requires-python = ">=3.14"
# dependencies = [
# "httpx>=0.29",
# "openai>=3.62",
# "pydantic>=2.14",
# "strands-agents[openai]>=1.68",
# ]
# ///
@carefree-ladka
carefree-ladka / Google 2026 Interview Preparation - Complete Weekly Roadmap.mdx
Created December 31, 2025 15:09
Google 2026 Interview Preparation - Complete Weekly Roadmap

Google 2026 Interview Preparation - Complete Weekly Roadmap

image

Target: Crack Google L3/L4/L5 by 2026 Duration: 24 weeks (6 months intensive preparation) Daily Time Commitment: 3-4 hours minimum


@AhmedMostafa16
AhmedMostafa16 / .font.conf
Created July 25, 2021 13:39
My .font.conf for perfect font rendering
<?xml version="1.0"?><!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<dir>~/.fonts</dir>
<!--
Documented at
http://linux.die.net/man/5/fonts-conf
To check font mapping run the command at terminal
$ fc-match 'helvetica Neue'
// ==UserScript==
// @name New minefunking v7.2 日本語版---開き方はInsertキーで開きます
// @namespace *://minefun.io/*
// @version 26.7.23.JP.1
// @author kqkwwowow - New minefunking v7.2
// @description New minefunking v7.2
// @match *://minefun.io/*
// @grant ****
// @license ***
// @downloadURL https://update.greasyfork.org/scripts/588223/New%20minefunking%20v72%20%E6%97%A5%E6%9C%AC%E8%AA%9E%E7%89%88---%E9%96%8B%E3%81%8D%E6%96%B9%E3%81%AFInsert%E3%82%AD%E3%83%BC%E3%81%A7%E9%96%8B%E3%81%8D%E3%81%BE%E3%81%99.user.js