Skip to content

Instantly share code, notes, and snippets.

Design Thinking

X → Graph → Effect<A, E, R>
│              │   │  │  │
│              │   │  │  └─ what each node needs     (§5)
│              │   │  └──── where the graph breaks   (§4)
│              │   └─────── what flows through nodes  (§2)
│              │
│ └─ nodes = functions, edges = data flow
@jacobsebek
jacobsebek / tone_gen.c
Last active September 27, 2026 13:59
SDL2 tone generator
#include <SDL.h> // The SDL library
#include <math.h> // sin, fmod
#include <stdio.h> // printf
#define BUFFER_DURATION 1 // Length of the buffer in seconds
#define FREQUENCY 48000 // Samples per second
#define BUFFER_LEN (BUFFER_DURATION*FREQUENCY) // Samples in the buffer
void play_buffer(void*, unsigned char*, int);
@DmitriiTrifonov
DmitriiTrifonov / build-script.sh
Created April 26, 2026 16:37
Ky X1 llama.cpp build script
cd /home/orangepi/llama.cpp
rm -rf build
unset CFLAGS CXXFLAGS
export CFLAGS="-march=rv64gc_zba_zbb_zbc_zbs_zvl256b_zve32f_zve64f_zve64d_zvfh"
export CXXFLAGS="-march=rv64gc_zba_zbb_zbc_zbs_zvl256b_zve32f_zve64f_zve64d_zvfh"
mkdir build && cd build
@shraiwi
shraiwi / readme.md
Last active September 27, 2026 13:54
Nuke Insta Slop

Nuke Insta Slop

Tired of slop? This is a uBlock Origin filter list that nukes the Reels tab, non-follower posts, and ALL video content from the platform. I'm trying to make Instagram be what my parents said Facebook was.

If you scroll past your friend's posts, this is what you get:

@hand-dot
hand-dot / neta-trend-daily-SKILL.md
Created January 29, 2026 04:59
claude-code-skills
name neta-trend-daily
description トレンドネタ収集

トレンドネタ収集

はてなブックマークIT人気エントリーとHacker Newsの人気記事を収集し、ideas/daily/YYYYMMDD-trend.md に保存する。

実行手順

文件名 下载链接 提取码
一凡评书《孙庞演义》MP3免费打包下载 123回全 https://pan.baidu.com/s/1TKRhydXv0QLRiRcHSpBfWg?pwd=2233 2233
一凡评书《辽西风雨路》MP3打包下载 220回全 https://pan.baidu.com/s/1gqssQppHCpjWjeK9iqC31g?pwd=5566 5566
于枢海评书《大刀王五》MP3免费打包下载 79回全集 https://pan.baidu.com/s/12fIxuA4oI_zTVndaFpxqbA xdqt
于海龙评书《张义传奇》MP3免费打包下载 14回 https://pan.baidu.com/s/1viC2m6xWt7kVuww0rMdQ5g?pwd=6677 6677
仲维维评书《一个女人的风景》MP3免费打包下载 7回全集 https://pan.baidu.com/s/1c227Iuc wpja
仲维维评书《一滴血》MP3免费打包下载 24回全集 https://pan.baidu.com/s/1miG45L2 xm2j
仲维维评书《七星龙王》MP3免费打包下载 30回全集 https://pan.baidu.com/s/1mhEmtmw a3wx
仲维维评书《三少爷的剑》MP3打包下载 ed2k://|file|%5B%E4%BB%B2%E7%BB%B4%E7%BB%B4%5D%E4%B8%89%E5%B0%91%E7%88%B7%E7%9A%84%E5%89%91.rar|265302041|c210a0ac46be8f474738351d8d586bc8|h=MDB2DETOEWWKIT3NKIXDCZYKYKF4DJOH|/
仲维维评书《中国瓷商》MP3打包下载 75回全集 https://pan.baidu.com/s/1wX_Hx303j5jVP9xVMS6h5Q abah

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.

@DenBread
DenBread / README.md
Created February 16, 2025 22:16
Free Activation Code for JetBrains Products

My greetings, for everyone.

How to activate any JetBrains products with 3.jetbra.in?

First we need to visit this website

https://3.jetbra.in

Click the first link with Online status, by default is ipfs.io

Screenshot 2024-12-28 at 19 22 31

@mariodian
mariodian / zte-sms-control.sh
Created December 4, 2019 11:39
Read SMS on ZTE
#!/bin/bash
URL=http://192.168.0.1
REFERER="$URL/index.html"
URL_SET="$URL/goform/goform_set_cmd_process"
URL_GET="$URL/goform/goform_get_cmd_process"
CONTENT_PREVIEW_LENGTH=40
command -v jq >/dev/null 2>&1 || { echo >&2 "'jq' is required but not installed. Aborting."; exit 1; }
name explain-diff-html
description Use when the user asks for a rich explanation of a code change, diff, branch, or PR. Produces HTML output.

Explain Diff

Please make me a rich, interactive explanation of the specified code change.

It should have these sections: