Skip to content

Instantly share code, notes, and snippets.

@nielsbom
nielsbom / split-to-scenes.sh
Last active November 6, 2026 03:08 — forked from achesco/split-to-scenes.sh
Detect and split video to scenes with ffmpeg
#!/bin/bash
# set -Eeuo pipefail
# Splits video to separate scenes files
# Source: https://gist.github.com/achesco/4dc2ebf13378a0a61fc26c7fe01f539e
# Inspired by https://stackoverflow.com/a/38205105
# The "-c:v h264_videotoolbox \" argument makes it work faster on Apple Silicon
# computers.
# ❗The bitrate argument is overriden in this version, we look at the original bitrate.
@ivanfioravanti
ivanfioravanti / day_in_forest.md
Created November 5, 2026 05:55
Prompt: A Day in the Forest

Build a polished, interactive 3D pop-up book called “A Day in the Forest” as a single self-contained HTML file. It should feel like a handcrafted paper theatre, not a flat web page with pictures pasted on it.

The book follows one forest day from dawn to night. It has six two-page spreads plus a front and back cover:

  1. Dawn — a doe and her fawn in a misty clearing.
  2. Morning — a red squirrel and a great spotted woodpecker in a big oak; the tree unfolds upward and becomes the tall centerpiece.
@std-microblock
std-microblock / main.md
Last active November 6, 2026 03:06
关于"小米反诈监控"传闻的技术核验

结论

传闻中"系统内置反诈数据库、记录截屏时间与通话、屏幕共享行为"这部分属实;"域名用途"部分与实际不符;"GuardProvider 静默录屏"在部分机型上属实;"关掉开关仍在运行""卸载 GuardProvider 无效"属实;"669 次连续读写""每台手机都在录"不成立。


一、功能名称与开关位置

传闻描述的行为属于手机管家中的"电诈防护",不是独立的后台程序。

@psmux
psmux / 07_psmux_cheat_sheet.md
Created February 18, 2026 07:35
psmux Cheat Sheet — tmux Commands for Windows Quick Reference. All tmux keybindings and commands for psmux on Windows PowerShell.

psmux Cheat Sheet — tmux Commands for Windows (Quick Reference)

psmux is a tmux-compatible terminal multiplexer for Windows. All tmux commands work with psmux, pmux, or tmux.

Installation

cargo install psmux          # Cargo
scoop install psmux          # Scoop (after adding bucket)
choco install psmux          # Chocolatey

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.

@MangaD
MangaD / perf.md
Created February 27, 2025 06:31
Comprehensive Guide to Using `perf` for C++ Applications

📌 Comprehensive Guide to Using perf for C++ Applications

CC0

Disclaimer: ChatGPT generated document.

Linux’s perf is a powerful profiling tool that helps analyze CPU usage, cache misses, function call costs, branch mispredictions, and more in C++ applications. This guide will cover:

✅ Installing and setting up perf ✅ Basic and advanced profiling commands

@veekaybee
veekaybee / normcore-llm.md
Last active November 6, 2026 02:50
Normcore LLM Reads

Anti-hype LLM reading list

Goals: Add links that are reasonable and good explanations of how stuff works. No hype and no vendor content if possible. Practical first-hand accounts of models in prod eagerly sought.

Foundational Concepts

Screenshot 2023-12-18 at 10 40 27 PM

Pre-Transformer Models