This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env python3 | |
| """ | |
| Claude Code 1h Cache Patch Tool | |
| 跨平台:macOS / Linux / Windows | |
| 安装类型:native binary / npm cli.js 自动识别 | |
| 用法: | |
| python3 claude-1h-cache.py # 打补丁 + 安装自动监听 | |
| python3 claude-1h-cache.py patch # 仅打补丁 | |
| python3 claude-1h-cache.py watch # 仅安装自动监听 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| set -euo pipefail | |
| INSTALL_DIR="/root/.local/share/claude/versions" | |
| BIN_LINK="/root/.local/bin/claude" | |
| ARCH="linux-x64" | |
| # 1. 获取最新版本号 | |
| echo "正在获取最新版本..." | |
| VERSION=$(curl -s https://storage.googleapis.com/claude-code-dist-86c565f3-f756-42ad-8dfa-d59b1c096819/claude-code-releases/latest) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // ==UserScript== | |
| // @name 移除 Google AI 概览 (通过关键字定位) | |
| // @namespace http://tampermonkey.net/ | |
| // @version 1.1 | |
| // @description 通过查找 “AI 概览” 关键字来定位并删除 Google 搜索页面上的 AI 概览 (AI Overview) 模块。 | |
| // @author Gemini | |
| // @match https://www.google.com/search* | |
| // @match https://www.google.com.hk/search* | |
| // @match https://www.google.co.jp/search* | |
| // @grant none |