- 按任务选型:根据任务类型,难易程度,选择合适模型和thinking
- 实现与审查互补:使用不同系列的模型做review工作
- 专家意见(oracle):遇到问题可以咨询专家意见,用最强模型,专家只给判断和建议,不直接动手
- 升级与兜底:遇阻时升同系列高档位模型,故障或限额在同档位不同系列切换
Discover gists
| import json | |
| import subprocess | |
| import time | |
| import os | |
| import math | |
| # ===== CONFIG ===== | |
| JSON_FILE = "tracks.json" | |
| OUTPUT_DIR = "music" | |
| AUDIO_FORMAT = "mp3" |
| #!/usr/bin/env python3 | |
| #ODI DFP-34X-2C2 MAC_KEY key generator by rajkosto | |
| import sys | |
| import string | |
| import hashlib | |
| args = sys.argv | |
| if len(args) != 2: | |
| sys.exit("Usage: odi_keygen.py YOURMACADDR") |
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.
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.
I pieced this together from various articles, forum posts, and published CSS resets.
The goal is to have a full reset that works for most, modern, evergreen browsers.
A few rules could be considered "normalization" - but I'm trying for as much of a clean slate as possible, with the only exceptions being things like <strong> being bold, <em> being italics, and <a> tags having an underline; for accessibility reasons, these are not things we should reset by default.
| #EXTM3U | |
| #EXTINF:-1 tvg-id="24TV.tr@SD" tvg-logo="https://i.imgur.com/8FO41es.png" http-user-agent="Mozilla/5.0 Macintosh; Intel Mac OS X 10_14_5 AppleWebKit/537.36 KHTML, like Gecko Chrome/76.0.3809.25 Safari/537.36" group-title="News",24 TV (1080p) | |
| #EXTVLCOPT:http-user-agent=Mozilla/5.0 Macintosh; Intel Mac OS X 10_14_5 AppleWebKit/537.36 KHTML, like Gecko Chrome/76.0.3809.25 Safari/537.36 | |
| https://mn-nl.mncdn.com/kanal24/smil:kanal24.smil/playlist.m3u8 | |
| #EXTINF:-1 tvg-id="360.tr@SD" tvg-logo="https://i.imgur.com/agn47sQ.png" group-title="News",360 TV (720p) [Not 24/7] | |
| https://turkmedya-live.ercdn.net/tv360/tv360.m3u8 | |
| #EXTINF:-1 tvg-id="A2TV.tr@SD" tvg-logo="https://iatv.tmgrup.com.tr/site/v2/a2tv/i/a2tv-logo.png" group-title="General",A2TV (1080p) | |
| https://rnttwmjcin.turknet.ercdn.net/lcpmvefbyo/a2tv/a2tv.m3u8 | |
| #EXTINF:-1 tvg-id="AHaber.tr@SD" tvg-logo="https://upload.wikimedia.org/wikipedia/commons/7/7c/Ahaber_Logo.png" group-title="News",A Haber (1080p) | |
| https://rnttwmjcin.turknet.ercdn.net/lcpmvefbyo/ahaber/a |
| name | audit |
|---|---|
| description | Generate a structured audit of Claude Code activity --tool invocations, bash commands, MCP calls, file operations, and security-relevant findings. Use when the user asks to audit a session, review what Claude did, check for risky commands, or get a daily activity summary. |
| license | Complete terms in LICENSE.txt |
Generate a comprehensive audit of Claude Code activity with security-relevant findings flagged.
Fix for Claude Code (and any large HTTPS upload) failing with
API Error: Unable to connect to API (ECONNRESET) on a specific home network.
- Short Claude requests always work; long sessions reset after ~5–13 min.
- Works fine on a phone hotspot, fails on home Wi-Fi.
- Debug log shows the same request retried 11 times, each dying at a
I was talking to a coworker recently about general techniques that almost always form the core of any effort to write very fast, down-to-the-metal hot path code on the JVM, and they pointed out that there really isn't a particularly good place to go for this information. It occurred to me that, really, I had more or less picked up all of it by word of mouth and experience, and there just aren't any good reference sources on the topic. So… here's my word of mouth.
This is by no means a comprehensive gist. It's also important to understand that the techniques that I outline in here are not 100% absolute either. Performance on the JVM is an incredibly complicated subject, and while there are rules that almost always hold true, the "almost" remains very salient. Also, for many or even most applications, there will be other techniques that I'm not mentioning which will have a greater impact. JMH, Java Flight Recorder, and a good profiler are your very best friend! Mea