Skip to content

Instantly share code, notes, and snippets.

@slightfoot
slightfoot / humpday_2026-10-28_1.dart
Created October 28, 2026 18:50
Example of Certificate Pinning to get resolve eMudhra CA key compromise - by Simon Lightfoot :: Humpday Q&A on 28th October 2026 :: https://www.youtube.com/watch?v=WXy3aSu1DN4
// MIT License
//
// Copyright (c) 2026 Simon Lightfoot
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
// copies of the Software, and to permit persons to whom the Software is
// furnished to do so, subject to the following conditions:

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.

@sessions-matthew
sessions-matthew / antigravity_1.5.0.md
Created October 11, 2026 03:08
Running Google Antigravity in Eclipse Theia: Architecture, Patches & Hardening

Running Google Antigravity in Eclipse Theia: Architecture, Patches & Hardening

This document details the modifications required to run the Google Antigravity extension (google.google-antigravity@1.5.0+) inside Eclipse Theia / Theia-based IDEs instead of upstream VS Code.


1. Background & Root Causes

Out of the box, Antigravity fails to load inside Eclipse Theia due to structural differences between the VS Code webview subsystem and Theia's architecture:

@AdamBien
AdamBien / 152ndAirhacksQ&A.md
Created October 6, 2026 07:13
152ndAirhacksQ&A.md

Ask questions and see you on November 2 at 8pm CET: youtube.com/c/bienadam

Also check out the latest episode:

151st airhacks.tv

Please keep your questions as short and as concise as only possible. Feel free to ask multiple, shorter questions. I will also answer some questions in my "shorts" on youtube.com/@bienadam/shorts between the shows.

@wojteklu
wojteklu / clean_code.md
Last active November 2, 2026 09:09
Summary of 'Clean code' by Robert C. Martin

Code is clean if it can be understood easily – by everyone on the team. Clean code can be read and enhanced by a developer other than its original author. With understandability comes readability, changeability, extensibility and maintainability.


General rules

  1. Follow standard conventions.
  2. Keep it simple stupid. Simpler is always better. Reduce complexity as much as possible.
  3. Boy scout rule. Leave the campground cleaner than you found it.
  4. Always find root cause. Always look for the root cause of a problem.

Design rules

@optimista
optimista / nmcli-to-wpa2-enterprise.sh
Created January 16, 2020 12:21
Connect to WPA2-Enterprise using `nmcli`
nmcli con add type wifi ifname wlp3s0 con-name eduroam ssid eduroam
nmcli con edit id eduroam
nmcli> set ipv4.method auto
nmcli> set 802-1x.eap peap
nmcli> set 802-1x.phase2-auth mschapv2
nmcli> set 802-1x.identity myusername
nmcli> set 802-1x.password mypassword
nmcli> set wifi-sec.key-mgmt wpa-eap
nmcli> save
nmcli> activate