Skip to content

Instantly share code, notes, and snippets.

@mary-ext
mary-ext / bluesky-osa.md
Last active July 15, 2026 13:55
Bluesky's age assurance sucks, here's how to work around it.

Bluesky's age assurance sucks, here's how to work around it.

Bluesky has implemented age verification measures in response to regional laws that restrict access, prompting users to verify their age through Epic Games' Kids Web Services before they can access adult content.

This sucks, but thankfully there are ways to work around it.

Before diving in: I encourage you to read this entire document, including the

@yoh2
yoh2 / 00note.md
Last active July 15, 2026 13:55
吉里吉里ムービー再生関連

吉里吉里ムービー再生関連メモ

概要

吉里吉里を利用した作品において、ムービーの再生に失敗する。失敗時の挙動は作品によって異なり、以下のパターンを観測している。

[2017-10-20追記]: 吉里吉里以外でも発生。後述の現象が発生する作品には CatSystem2 のものもある。

  • 何も再生されずにムービー再生が完了したように振る舞う。
  • アプリケーションの強制終了が発生する。
@madaraviv
madaraviv / citation-verify.md
Last active July 15, 2026 13:54
citation-verify: fetch-don't-recall guardrail for research agents (CC0)
@mminer
mminer / NSImage+Oval.swift
Last active July 15, 2026 13:53
Creates a new NSImage with a circular mask.
import AppKit
extension NSImage {
/// Copies this image to a new one with a circular mask.
func oval() -> NSImage {
let image = NSImage(size: size)
image.lockFocus()
NSGraphicsContext.current?.imageInterpolation = .high
Set up these as real Codex lifecycle hooks by following the official documentation:
https://learn.chatgpt.com/docs/hooks
Important: use ~/.codex/hooks.json and a PreToolUse command hook. Do not implement this only as a ~/.codex/rules/*.rules execution-policy file.
First inspect any existing hooks and preserve them. Then:
1. Create or merge ~/.codex/hooks.json with a PreToolUse matcher for Bash.
2. Create ~/.codex/hooks/destructive_commands.py.
3. The script must read the hook JSON payload from stdin and inspect tool_input.command.
@Thlb
Thlb / export-vba-components.bas.vb
Last active July 15, 2026 13:51
Extract all vba modules and save to external file
' Export all vba components in external files in order to be able to git them
'
' How does it work :
' 1 - Export all vba components in temporary folder (pathTmp)
' 2 - Compare each files exported in temporary folder (pathTmp) with the files exported previously (path)
' -> if file in pathTemp = path --> no modification in the module since last export --> no action
' -> if file in pathTemp != path --> module modified --> old version of module in "path" is replaced by new version of "pathTmp"
'

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.

@amxv
amxv / svelte5.mdc
Last active July 15, 2026 13:43
Svelte 5 and SvelteKit Cursor Rules (scroll down to see sveltekit.mdc) - Pop these in the `.cursor/rules` folder in the root of your project.
---
description: writing svelte code
globs: *.svelte, *.svelte.ts
---
In this project, we use Tailwind CSS for styling and shacn-svelte as the UI component library (built on top of Bits UI).
It is a port of shadcn/ui to Svelte. You can use their CLI to install all the same shadcn components by running this command `bunx shadcn-svelte@next add <component-1> <component-2>`, just like the Original React version.
Please use the new Svelte 5 syntax when working in .svelte and .svelte.ts files.
Some key points include:
@notmahi
notmahi / springer-free-maths-books.md
Created December 29, 2015 02:25 — forked from bishboria/springer-free-maths-books.md
Springer have made a bunch of maths books available for free, here are the direct links