Skip to content

Instantly share code, notes, and snippets.

View suchasplus's full-sized avatar

suchasplus suchasplus

  • xmly.work
  • Beijing
View GitHub Profile
@suchasplus
suchasplus / discourse.ts
Last active July 14, 2026 15:00
discourse 刷阅读量 from opus4.6
(async () => {
// ============ CONFIG ============
const FLUSH_INTERVAL = 30000; // 30s flush 一次,远低于频控线
const SCROLL_STEP = 300;
const SCROLL_INTERVAL = 1200;
const IDLE_WAIT = 4000;
const MAX_IDLE_RETRIES = 5;
const sleep = ms => new Promise(r => setTimeout(r, ms));
// ============ 共享缓冲区 ============
@suchasplus
suchasplus / claude-sessions.md
Last active May 18, 2026 13:37
List Claude Code sessions named via /rename or --name/-n (UTC+8 output)

claude-sessions

List Claude Code sessions you've named — via the /rename slash command or the --name / -n startup flag.

Reads ~/.claude/projects/*/*.jsonl directly. Output times are in UTC+8 (Asia/Shanghai). No external dependencies — Python stdlib only.

Install

Drop the script into a directory on your PATH:

@suchasplus
suchasplus / json
Created June 30, 2026 12:38
disabled-app-list
[
"org.telegram.messenger",
"com.llamalab.automate",
"jp.co.cyberagent.stf",
"com.vivo.demoitos",
"com.oppo.cloudtest.androidagent",
"cts.gmssetuptool",
"com.tencent.ctrlapp",
"com.vivo.atphonemanager",
"com.emanuelef.remote_capture",