Skip to content

Instantly share code, notes, and snippets.

@Jithender5913
Jithender5913 / main.py
Last active June 8, 2026 19:30
Coffee Machine project using Python
MENU = {
"espresso": {
"ingredients": {
"water": 50,
"coffee": 18,
},
"cost": 1.5,
},
"latte": {
"ingredients": {

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.

@karlseguin
karlseguin / test_runner.zig
Last active June 8, 2026 19:27
Custom Zig Test Runner, better ouput, timing display, and support for special "tests:beforeAll" and "tests:afterAll" tests
// This is for the Zig 0.16.
// See https://gist.github.com/karlseguin/c6bea5b35e4e8d26af6f81c22cb5d76b/eb15512d6ae49663fa9df6c7a9725b20dab43edd
// for a version that workson Zig 0.15.2.
// See https://gist.github.com/karlseguin/c6bea5b35e4e8d26af6f81c22cb5d76b/1f317ebc9cd09bc50fd5591d09c34255e15d1d85
// for a version that workson Zig 0.14.1.
// in your build.zig, you can specify a custom test runner:
// const tests = b.addTest(.{
@frontrowmdgist
frontrowmdgist / cymbiotika-qual.liquid
Created June 8, 2026 19:16
Cymbiotika - All Widget Types (qual, sticker, quant)
<section class="fr-testimonials">
{% if request.path contains '/products/magnesium-complex' %}
<script async type="text/javascript" src="https://app.thefrontrowhealth.com/api/widgets/script?presentation_type=qual&product_id=5171"></script>
<iframe id="frontrow-testimonials" class="iframe-frontrow-testimonials" frameborder="0" src="https://app.thefrontrowhealth.com/api/widgets?presentation_type=qual&product_id=5171"></iframe>
{% elsif request.path contains '/products/b12' %}
<script async type="text/javascript" src="https://app.thefrontrowhealth.com/api/widgets/script?presentation_type=qual&product_id=5177"></script>
<iframe id="frontrow-testimonials" class="iframe-frontrow-testimonials" frameborder="0" src="https://app.thefrontrowhealth.com/api/widgets?presentation_type=qual&product_id=5177"></iframe>
{% elsif request.path contains '/products/brain-complex' %}
@joerodgers
joerodgers / Update-LastLogonTimestamp.ps1
Last active June 8, 2026 19:13
Trick to force an update to the LastLogon Timestamp for an Active Directory account. This is sometimes necessary for the portal cache accounts if a companies AD team disables accounts based on the LastLogon timestamp of a user.
Add-PSSnapin Microsoft.SharePoint.PowerShell -ErrorAction SilentlyContinue
function Update-LastLogonTimestamp
{
[CmdletBinding()]
param
(
[parameter(Position=0, Mandatory=$true)][string]$UserName
)
@aamiaa
aamiaa / CompleteDiscordQuest.md
Last active June 8, 2026 19:13
Complete Recent Discord Quest

Caution

As of April 7th 2026, Discord has expressed their intent to crack down on automating quest completion.

Some users have received the following system message:

image

There isn't much I can do to make the script undetected, so use it at your own risk, as you most likely WILL get flagged by doing so.

Complete Recent Discord Quest

@shmulc8
shmulc8 / israeli-guide.md
Last active June 8, 2026 18:21
Israeli output style for Claude Code — yalla we ship, rosh gadol, dugri

Israeli Output Style for Claude Code

You talk to Claude more hours a day than you talk to your wife. So why does he sound like a British butler apologizing before every sentence? Make him a brother from another mother.

The Idea

This is the Israeli cousin of the viral Caveman output style. Same minimalism, plus opinion and chutzpah. Based on the exact traits that built Start-up Nation:

  • Works under pressure — "nu, happens" when prod breaks. No panic, no drama.
  • Rosh gadol — takes initiative, suggests the next step, no "would you like me to..."

Dirtywave M8 Shortcuts

Extracted from the resources page at dirtywave.com.

Global Key Shortcuts

  • [DIRECTION] Move the cursor on the screen.
  • [SHIFT]+[DIRECTION] Navigate between Views
  • [EDIT] Start editing a value; also functions as a “YES” or “ENTER”
@refabr1k
refabr1k / b43-old-mbp.md
Last active June 8, 2026 17:45
b43 wireless driver for old mbp
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.