Skip to content

Instantly share code, notes, and snippets.

<createTable tableName="contact">
<column name="id" type="bigint" autoIncrement="true">
<constraints primaryKey="true"
nullable="false" />
</column>
<column name="first_name" type="varchar(50)" />
<column name="middle_initial" type="varchar(5)" />
<column name="last_name" type="varchar(50)" />
<column name="gender" type="varchar(50)" />
<column name="email_address" type="varchar(100)" />
@surjikal
surjikal / graphite.md
Created May 17, 2012 18:14 — forked from caged/graphite.md
Installing Graphite on OS X Lion

Follow these steps to install graphite on OS X Lion.

Prerequisites

  • Python 2.7
  • Brew
  • Git

Install dependencies

Install Cairo

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.

@spikebike
spikebike / client.go
Created March 29, 2012 01:13
TLS server and client
package main
import (
"crypto/tls"
"crypto/x509"
"fmt"
"io"
"log"
)
@karpathy
karpathy / microgpt.py
Last active November 14, 2026 17:31
microgpt
"""
The most atomic way to train and run inference for a GPT in pure, dependency-free Python.
This file is the complete algorithm.
Everything else is just efficiency.
@karpathy
"""
import os # os.path.exists
import math # math.log, math.exp
@bzg
bzg / gouv.fr.csv
Last active November 15, 2026 00:00
Liste de noms de domaines en .gouv.fr (données AFNIC + collecte ad hoc)
Nom de domaine Pays BE Departement BE Ville BE Nom BE Sous domaine Type du titulaire Pays titulaire Departement titulaire Domaine IDN Date de crtion Date de retrait du WHOIS
08victimes.gouv.fr FR 49 ANGERS NAMESHIELD gouv.fr ORG FR 75 0 31-05-2005
1000paysages.gouv.fr FR 49 ANGERS NAMESHIELD gouv.fr ORG FR 75 0 06-03-2015
100projetspourleclimat.gouv.fr FR 49 ANGERS NAMESHIELD gouv.fr ORG FR 75 0 19-04-2016
2019.semaine-industrie.gouv.fr
24octobre.gouv.fr FR 72 SAINT SATURNIN DIGITAL RURAL INFORMATIQUE gouv.fr ORG FR 75 0 10-10-2012
3939.gouv.fr FR 49 ANGERS NAMESHIELD gouv.fr ORG FR 75 0 04-06-2007
92.accueil-etrangers.gouv.fr
95.accueil-etrangers.gouv.fr
abonnement-presse.gouv.fr FR 75 PARIS GANDI gouv.fr ORG FR 75 0 17-04-2019
@repsejnworb
repsejnworb / CrossOverLicence.sh
Last active June 13, 2026 01:39
unlimited CrossOver 24 trial (MacOS)
We couldn’t find that file to show.
@Raukze
Raukze / contact-sensor-left-open-notification.yaml
Last active November 14, 2026 23:33
Home Assistant Blueprint: Contact Sensor Left Open Notification
blueprint:
name: 🚪 Contact Sensor Left Open Notification by Malte
description: |
📲 Notifies you when a door or window is left open.
🚀 Version 2024.04.23.1
Are you tired of worrying about open doors or windows? This blueprint has got you covered! It's designed to send you a prompt notification when a door or window remains open for a specified duration.
📖 For Details see this [Blog post](https://community.home-assistant.io/t/contact-sensor-door-or-window-left-open-notification/652571)
This file has been truncated, but you can view the full file.
#EXTM3U
#EXTINF:-1 tvg-id="AE" tvg-name="A&E ALTERNATIVO" tvg-logo="https://image.winudf.com/v2/image/Y29tLmFjY2Vkby5hZS5hbmRyb2lkLmRlYnVnX2ljb25fMTUyMTg4NTU1NF8wNzg/icon.png?w=170&fakeurl=1" group-title=" Canais | Alternativos",A&E ALTERNATIVO
http://udq.me:80/live/7SyrYN0fMy/3772288787/13359.m3u8
#EXTINF:-1 tvg-id="AE" tvg-name="A&E HD" tvg-logo="https://image.winudf.com/v2/image/Y29tLmFjY2Vkby5hZS5hbmRyb2lkLmRlYnVnX2ljb25fMTUyMTg4NTU1NF8wNzg/icon.png?w=170&fakeurl=1" group-title="Canais | Filmes e Séries",A&E HD
http://udq.me:80/live/7SyrYN0fMy/3772288787/7035.m3u8
#EXTINF:-1 tvg-id="AE" tvg-name="A&E SD" tvg-logo="https://image.winudf.com/v2/image/Y29tLmFjY2Vkby5hZS5hbmRyb2lkLmRlYnVnX2ljb25fMTUyMTg4NTU1NF8wNzg/icon.png?w=170&fakeurl=1" group-title="Canais | Filmes e Séries",A&E SD
http://udq.me:80/live/7SyrYN0fMy/3772288787/7034.m3u8
@StarWishsama
StarWishsama / mixin.yml
Last active November 14, 2026 22:42
Clash Verge Personal Config
# Profile Enhancement Merge Template for Clash Verge
mode: rule
unified-delay: true
geodata-mode: true
geo-auto-update: true
geo-update-interval: 24
geox-url: