Skip to content

Instantly share code, notes, and snippets.

@kazzohikaru
kazzohikaru / index.html
Created May 21, 2026 18:48
Slider transitions
<!-- Page Wrap -->
<div class="page-wrap">
<div id="home-slider">
<div class="swiper-container">
<div class="swiper-wrapper">
<div class="swiper-slide swiper-slide-one">
<div class="swiper-image" data-swiper-parallax-y="-20%">
<div class="swiper-image-inner swiper-image-left swiper-image-one">
<h1>A <span class="emphasis">Breath</span>. <br><span>Of Fresh Air.</span></h1>

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.

@ssokolow
ssokolow / pagination_example.sql
Created December 23, 2009 13:02
Reasonably efficient pagination without OFFSET (SQLite version)
-- Reasonably efficient pagination without OFFSET
-- SQLite version (Adapted from MS SQL syntax)
-- Source: http://www.phpbuilder.com/board/showpost.php?p=10376515&postcount=6
SELECT foo, bar, baz, quux FROM table
WHERE oid NOT IN ( SELECT oid FROM table
ORDER BY title ASC LIMIT 50 )
ORDER BY title ASC LIMIT 10
@kazzohikaru
kazzohikaru / gsap-splittext-kinetic-typography-experiment-gsap-challenge-1.markdown
Created May 21, 2026 18:38
[gsap/splittext] ❍ Kinetic Typography Experiment GSAP - Challenge #1
@n1snt
n1snt / Oh my ZSH with zsh-autosuggestions zsh-syntax-highlighting zsh-fast-syntax-highlighting and zsh-autocomplete.md
Last active May 21, 2026 18:38
Oh my ZSH with zsh-autosuggestions zsh-syntax-highlighting zsh-fast-syntax-highlighting and zsh-autocomplete.md
@w568w
w568w / antigravity.sh
Last active May 21, 2026 18:37
Antigravity workaround
#!/bin/bash
readonly UNIT_NAME="antigravity-$(date +%s)"
readonly APP_BIN="/usr/bin/antigravity --verbose"
readonly TRIGGER="Lifecycle#onWillShutdown - end 'antigravityAnalytics'"
echo "[*] Start as: $UNIT_NAME"
systemd-run --user \
--scope \
@ErFUN-KH
ErFUN-KH / v2ray-fragment.sh
Created September 23, 2023 16:43
v2ray + ws + cloudflare + fragment
bash <(curl -sL https://bit.ly/realityez)
@babysource
babysource / agent-aware.md
Created May 21, 2026 18:37
元悟启智

Andrej Karpathy 的观察andrej-karpathy-skills 启发,我对 Agent Harness 有了更深的感悟与理解:

给 AI 设定的提示规则,也许不应是束缚手脚的镣铐,而是能指引其思想腾飞的明灯。

比起冰冷冗长的指令集,我更愿凭借先贤的智慧,凝练成一份极简中文的"启思哲学":

"勿忘禁忌"是边界意识,"铭记准则"是思维方法。

正如 Karpathy 所洞察的,好的引导不是罗列"做什么",而是定义"如何思考"——比如"简洁优先"、"目标驱动"。

@neggles
neggles / New-GPUPDriverPackage.ps1
Last active May 21, 2026 18:36
Hyper-V GPU Virtualization
<#
.SYNOPSIS
Create a GPU-P Guest driver package.
.DESCRIPTION
Gathers the necessary files for a GPU-P enabled Windows guest to run.
.EXAMPLE
New-GPUPDriverPackage -DestinationPath '.'
.EXAMPLE
New-GPUPDriverPackage -Filter 'nvidia' -DestinationPath '.'
.INPUTS