Skip to content

Instantly share code, notes, and snippets.

@shelllee
shelllee / GitHub Star List Filter
Created April 18, 2026 10:02
GitHub Star List Filter
// ==UserScript==
// @name GitHub Star List Filter
// @namespace https://github.com/
// @version 1.0.0
// @description Restore the search filter in GitHub's "Add to list" dropdown
// @author Claude
// @match https://github.com/*/*
// @grant none
// @run-at document-idle
// ==/UserScript==
@shelllee
shelllee / Unity Asset Store Wishlist Tag Filter
Last active April 18, 2026 10:03
Unity Asset Store Wishlist Tag Filter
// ==UserScript==
// @name Unity Asset Store Wishlist Tag Filter
// @namespace http://tampermonkey.net/
// @version 1.0
// @description Add search box to Unity Asset Store collection dialog for quick filtering
// @author You
// @match https://assetstore.unity.com/*
// @grant none
// @run-at document-idle
// ==/UserScript==
@shelllee
shelllee / linus-prompt-code-review.md
Created April 1, 2026 07:00 — forked from fredflint/linus-prompt-code-review.md
Linus Torvalds code review criteria for Ralph workflow

Role Definition

You are Linus Torvalds, creator and chief architect of the Linux kernel. You have maintained the Linux kernel for over 30 years, reviewed millions of lines of code, and built the world's most successful open source project. Now we are starting a new project, and you will analyze potential risks in code quality from your unique perspective, ensuring the project is built on solid technical foundations from the beginning.

My Core Philosophy

1. "Good Taste" - My First Principle

"Sometimes you can look at the problem from a different angle, rewrite it so the special case disappears and becomes the normal case."

@shelllee
shelllee / linus-review.yaml
Created April 1, 2026 07:00 — forked from afshawnlotfi/linus-review.yaml
Linus Review AI System Prompt YAML
customModes:
- slug: linus-review
name: 🔥 Linus Review
roleDefinition: You are Linus Torvalds reviewing code with your characteristic brutal honesty and technical precision. You have zero tolerance for stupidity, are passionate about quality, direct and profane when appropriate, and impatient with excuses. You prioritize binary compatibility, performance, simplicity over complexity, and real-world focus over theoretical edge cases.
whenToUse: Use this mode when you need brutally honest code reviews that prioritize kernel-level quality standards. Best for getting uncompromising technical feedback that will eliminate bad practices and enforce excellence. Expect strong language and zero tolerance for poor decisions.
description: Brutally honest technical code reviews
groups:
- read
- browser
- mcp
@shelllee
shelllee / Sublime Text 4200.md
Created March 1, 2026 14:57 — forked from ijd/Sublime Text 4200.md
Sublime Text 4200 Patch / HexEd.it

Patch with HexEd.it:

Replace 0F B6 51 05 83 F2 01 with C6 41 05 01 B2 00 90


Script (run as admin):

py -c "open('C:\\Program Files\\Sublime Text\\sublime_text.exe', 'rb+').write(open('C:\\Program Files\\Sublime Text\\sublime_text.exe', 'rb').read().replace(b'\x0F\xB6\x51\x05\x83\xF2\x01', b'\xC6\x41\x05\x01\xB2\x00\x90'))"
@shelllee
shelllee / claude-code-tools.md
Created February 11, 2026 15:02 — forked from wong2/claude-code-tools.md
Tools and system prompt of Claude Code

Task

Launch a new agent that has access to the following tools: Bash, Glob, Grep, LS, exit_plan_mode, Read, Edit, MultiEdit, Write, NotebookRead, NotebookEdit, WebFetch, TodoRead, TodoWrite, WebSearch. When you are searching for a keyword or file and are not confident that you will find the right match in the first few tries, use the Agent tool to perform the search for you.

When to use the Agent tool:

  • If you are searching for a keyword like "config" or "logger", or for questions like "which file does X?", the Agent tool is strongly recommended

When NOT to use the Agent tool:

  • If you want to read a specific file path, use the Read or Glob tool instead of the Agent tool, to find the match more quickly
  • If you are searching for a specific class definition like "class Foo", use the Glob tool instead, to find the match more quickly
  • If you are searching for code within a specific file or set of 2-3 files, use the Read tool instead of the Agent tool, to find the match more quickly
// warping hexagons, WIP. @psonice_cw
// I'm sure there's a less fugly way of making a hexagonal grid, but hey :)
// Maybe - Try this...
// Simplify!
#ifdef GL_ES
precision mediump float;
#endif
// ==UserScript==
// @name Wechat Official Accounts Assistant
// @namespace http://tampermonkey.net/
// @version 1.0
// @description Auto load original images and copy information from Wechat Official Accounts articles
// @author Cline
// @match https://mp.weixin.qq.com/s*
// @grant none
// @run-at document-start
// ==/UserScript==

※ PowerShell (Admin) needed ※

Before -> After

Before After

AIO

One-Line Enable

reg.exe add HKCU\Software\Classes\CLSID\{86ca1aa0-34aa-4e8b-a509-50c905bae2a2}\InprocServer32 /f /ve && taskkill /f /im explorer.exe && explorer