Skip to content

Instantly share code, notes, and snippets.

@cggjaicf
cggjaicf / arch.md
Last active October 1, 2026 01:48
Arch Linux Setup + LUKS+LVM
loadkeys us
cat /sys/firmware/efi/fw_platform_size

TODO: figure out how to get internet connection

Disk setup

fdisk partitions

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.

Design Thinking

X → Graph → Effect<A, E, R>
│              │   │  │  │
│              │   │  │  └─ what each node needs     (§5)
│              │   │  └──── where the graph breaks   (§4)
│              │   └─────── what flows through nodes  (§2)
│              │
│ └─ nodes = functions, edges = data flow
@d3v-null
d3v-null / mwa-eor1-fornaxa-calibration.md
Last active October 1, 2026 01:37
MWA EoR1: the sky-model error limiting foreground subtraction is Fornax A, not the field catalogue

MWA EoR1: the sky-model error limiting foreground subtraction is Fornax A, not the field catalogue

An investigation into why hyperdrive peel leaves a large coherent residual on MWA EoR1 data, and what actually fixes it. Short version: the field catalogue is fine, GLEAM-X DR2 confirms it, hyperdrive's shapelet code is correct, and the Fornax A model over-predicts visibility amplitude on the baselines MWA calibration uses by about 29%. Rescaling it cuts the coherent residual by a quarter in amplitude, which is 44% in power.

Setup

Envoy Gateway on RKE2 + Cilium

Installation, Upgrades, and HA (No DNS/Deadlock Surprises)

Audience

Cluster operators running Envoy Gateway with:

  • NodePort exposure (no LB)
@jinjier
jinjier / javdb-top250.md
Last active October 1, 2026 01:32
JavDB top 250 movies list. [Updated on 2026/01]
How to make custom Hak5 LAN Turtle firmware images for mass deployment/etc
Aaron, @alxrogan
All testing done on Kali 2.X Rolling, with various things already installed. Make sure you have binwalk installed as well as liblzma-dev
1) Download the latest Turtle firmware from https://downloads.lanturtle.com/
2) Download the firmware-mod-kit from https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/firmware-mod-kit/fmk_099.tar.gz
3) cd to extracted fmk/src, ./configure and make
@perfecto25
perfecto25 / resticheat.md
Last active October 1, 2026 01:29
Restic cheatsheet

Restic backup application - commands cheatsheet

Installation & config

  1. add Retic repo
  2. yum install restic

add a Restic credential file to root

vim /root/.restic
@trongtinh1212
trongtinh1212 / Tweaks.reg
Last active October 1, 2026 01:28
Registry Tweaks Windows 10
Windows Registry Editor Version 5.00
;USE AT YOUR OWN RISK!
;USE AT YOUR OWN RISK!
;USE AT YOUR OWN RISK!
;Improves system responsiveness and network speed.
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Multimedia\SystemProfile]
"SystemResponsiveness"=dword:00000001
name explain-diff-html
description Use when the user asks for a rich explanation of a code change, diff, branch, or PR. Produces HTML output.

Explain Diff

Please make me a rich, interactive explanation of the specified code change.

It should have these sections: