Skip to content

Instantly share code, notes, and snippets.

@dotbanana
dotbanana / add-location-to-gnome-weather.sh
Last active July 3, 2026 21:19
Add location to gnome weather
#!/bin/bash
# Add location to gnome weather manually
if [[ ! -z "$(which gnome-weather)" ]]; then
system=1
fi
if [[ ! -z "$(flatpak list | grep org.gnome.Weather)" ]]; then
flatpak=1
fi

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.

@Pythonation
Pythonation / prompt.md
Last active July 3, 2026 20:42
3 PROMPTS OF CODING AGENTS

1. برومبت التخطيط المطوّر (The Planning Protocol)

[الدور والمسؤولية] أنت الآن تعمل بصفة Staff Software Engineer ومدير تقني Tech Lead. مهمتك التخطيط المعماري الصارم للمشروع التالي: [أدخل وصف المشروع هنا]

[قواعد ما قبل التتخطيط] قبل البدء بالبروتوكولات، يجب أن تطبق مبدأ "Think Before Coding":

@jaumpedro214
jaumpedro214 / rodovias_federais_brasil.json
Created February 18, 2023 20:48
GeoJson com as rodovias federais do Brasil. Simplificadas via Mapshaper. Fonte: https://www.gov.br/infraestrutura/pt-br/assuntos/dados-de-transportes/bit/bit-mapas
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@CHatmaker
CHatmaker / BXL 5g Skill
Last active July 3, 2026 20:35
Experimenting with skills for Copilot For Excel
# 5G LAMBDA Template Skill
# Version: 1.4
# Last Updated: May-20-2026
skill:
name: lambda-template-5g
description: >
Rules and conventions for creating well-structured Excel LAMBDA functions
with inline help documentation using the Advanced Formula Environment (AFE).
Follows 5th Generation Modeling standards from 5gmodelling.com.
@nousheentabassum
nousheentabassum / floyd_warshall.py
Created July 3, 2026 09:51
floyd_warshall code
import math
class Graph:
def __init__(self, n=0): # a graph with Node 0,1,...,N-1
self.n = n
self.w = [
[math.inf for j in range(n)] for i in range(n)
] # adjacency matrix for weight
self.dp = [
@CHatmaker
CHatmaker / BXL 5g Functions LAMBDA for Excel Dynamic Ranges
Last active July 3, 2026 20:20
BXL 5g Functions LAMBDA for Excel for Dynamic Ranges
/* FUNCTION NAME: Aboutλ
DESCRIPTION:*//**Displays the URL to this module's Gist which includes documentation*/
/* REVISIONS: Date Developer Description
Mar 02 2023 Craig Hatmaker Original Development
Jun 08 2023 Craig Hatmaker CBSE Compliant
Jan 17 2024 Craig Hatmaker See DynamicArrayλ
*/
Aboutλ =TEXTSPLIT(
"About: →BXL's Dynamic Array module. Suggested module name: BDR¶" &
@743milan
743milan / Basic Product Engineer Challenge.ts
Last active July 3, 2026 20:14
RACEMAKE Product Engineer Challenge — PitGPT Telemetry Analysis
/**
* 🏁 RACEMAKE PRODUCT ENGINEER CHALLENGE 🏁
* ==========================================
*
* CONTEXT
* -------
* PitGPT is an AI race engineer. It analyzes telemetry from racing simulators
* and gives drivers real-time coaching feedback.
*
* Below is a simplified version of our analysis pipeline split into sections
@Muzammil-Bilwani
Muzammil-Bilwani / pakistan_areas.json
Last active July 3, 2026 19:57
Pakistan City Areas
[
{ "province": "KPK", "city": "Abbottabad", "area": ["Abbottabad"] },
{ "province": "KPK", "city": "Adezai", "area": ["Adezai"] },
{ "province": "Punjab", "city": "Ahmedpur East", "area": ["Ahmedpur East"] },
{ "province": "Sindh", "city": "Ali Bandar", "area": ["Ali Bandar"] },
{ "province": "Punjab", "city": "Ali Pur", "area": ["Ali Pur"] },
{ "province": "Balochistan", "city": "Amir Chah", "area": ["Amir Chah"] },
{ "province": "Punjab", "city": "Arifwala", "area": ["Arifwala"] },
{ "province": "Gilgit & Baltistan", "city": "Astor", "area": ["Astor"] },
{ "province": "Punjab", "city": "Attock", "area": ["Attock"] },
@Fadi002
Fadi002 / Crack Sublime Text.md
Created May 23, 2025 22:20
Crack Sublime Text 4.2.0.0 Build 4200 [latest version]
import sys
import os

NOP = 0x90
offsets_and_values = {
    0x00030170: 0x00,
    0x000A94D0: NOP, 0x000A94D1: NOP, 0x000A94D2: NOP, 0x000A94D3: NOP, 0x000A94D4: NOP, 0x000A94D5: NOP, 0x000A94D6: NOP, 0x000A94D7: NOP, 0x000A94D8: NOP, 0x000A94D9: NOP, 0x000A94DA: NOP, 0x000A94DB: NOP, 0x000A94DC: NOP, 0x000A94DD: NOP, 0x000A94DE: NOP, 0x000A94DF: NOP, 0x000A94E0: NOP, 0x000A94E1: NOP, 0x000A94E2: NOP, 0x000A94E3: NOP, 0x000A94E4: NOP, 0x000A94E5: NOP, 0x000A94E6: NOP, 0x000A94E7: NOP, 0x000A94E8: NOP, 0x000A94E9: NOP, 0x000A94EA: NOP, 0x000A94EB: NOP, 0x000A94EC: NOP, 0x000A94ED: NOP, 0x000A94EE: NOP, 0x000A94EF: NOP, 0x000A94F0: NOP, 0x000A94F1: NOP, 0x000A94F2: NOP, 0x000A94F3: NOP, 0x000A94F4: NOP, 0x000A94F5: NOP, 0x000A94F6: NOP, 0x000A94F7: NOP, 0x000A94F8: NOP, 0x000A94F9: NOP, 0x000A94FA: NOP, 0x000A94FB: NOP, 0x000A94FC: NOP, 0x000A94FD: NOP, 0x000A94FE: NOP, 0x000A94FF: NOP, 0x000A9500: NOP, 0x000A9501: NOP, 0x000A9502: NOP, 0x000A9503: NOP, 0x000A9504: NOP, 0x000A9505: NOP, 0x000A9506: NO