Skip to content

Instantly share code, notes, and snippets.

View Haleclipse's full-sized avatar
🤒
Out sick

哈雷不灰心 Haleclipse

🤒
Out sick
View GitHub Profile
@Zamua
Zamua / apply-claude-code-2.0.76-lsp-fix.sh
Last active January 14, 2026 01:17
script to patch claude-code 2.0.76 to fix lsp plugin
#!/bin/bash
#
# Claude Code LSP Fix
# ====================
# Fixes the LSP plugin bug: https://github.com/anthropics/claude-code/issues/13952
#
# THE BUG:
# Claude Code's LSP manager has an empty initialize() function that should
# load and register LSP servers from plugins, but instead does nothing.
# This causes "No LSP server available for file type" errors.
@SaseQ
SaseQ / config.json
Last active January 20, 2026 22:15
Atlassian Rovo Dev CLI transformer for Claude Code Router
{
"transformers": [
{
"path": "$HOME/.claude-code-router/plugins/rovo-cli.js",
"options": {
"email": "ROVO_DEV_EMAIL",
"api_token": "ROVO_DEV_API_TOKEN"
}
}
],
@BeatSeat
BeatSeat / README.md
Last active January 21, 2026 13:13
AI Studio Optimizations :Eye in the Cloud (Modified)

原来的Eye in the Cloud是一个优化AI Studio网页端使用体验的油猴脚本,主要是优化原本的滚动卡顿(加载的东西太多的情况),然后可以隐藏不需要的侧边栏之类的东西,还能自定义一些prompt的片段

我这里的修改主要有下面几点:

  • 默认自动保存Prompts,从Google AI Studio - Always Enable Autosave抄的,因为自动保存这个总是莫名其妙自己关上
  • 将脚本的单独Prompt输入框换成了基于ACE编辑器的。因为Google AI Studio自己的输入框会有频繁调用countTokens等的问题,所以原来的脚本换成了原生的输入框。但是因为我有的时候会直接用repomix将输入灌进去,会有比如几百K的文本在里面,即使是原生的输入框也很容易卡,所以我换成了基于ACE编辑器的输入框,即使输入非常多也貌似挺流畅的

另外把更新删掉了(

flowchart TD
    %% Main Entry Point and Initialization
    Start([Application Start]) --> ParseArgs[Parse Command Line Arguments]
    ParseArgs --> CheckStdin{Check stdin}
    CheckStdin -->|Input Piped| ProcessPiped[Process Piped Input]
    CheckStdin -->|Interactive Mode| CheckAuth{Authentication Status}
    
    %% Authentication Flow
    CheckAuth -->|Not Authenticated| OAuthFlow[OAuth Authentication]
@IsmailAlamKhan
IsmailAlamKhan / appicon.sh
Last active January 3, 2026 10:07
Building and distribute a flutter macos app without App Store
mkdir AppIcon.iconset
sips -z 16 16 appicon.png --out AppIcon.iconset/icon_16x16.png
sips -z 32 32 appicon.png --out AppIcon.iconset/icon_16x16@2x.png
sips -z 32 32 appicon.png --out AppIcon.iconset/icon_32x32.png
sips -z 64 64 appicon.png --out AppIcon.iconset/icon_32x32@2x.png
sips -z 128 128 appicon.png --out AppIcon.iconset/icon_128x128.png
sips -z 256 256 appicon.png --out AppIcon.iconset/icon_128x128@2x.png
sips -z 256 256 appicon.png --out AppIcon.iconset/icon_256x256.png
sips -z 512 512 appicon.png --out AppIcon.iconset/icon_256x256@2x.png
sips -z 512 512 appicon.png --out AppIcon.iconset/icon_512x512.png
@lewangdev
lewangdev / default.custom.yaml
Last active January 21, 2026 03:07
雾凇拼音自定义配置,MacOS-like & Wechat-like Dark/Light Color Scheme For Rime
patch:
# 菜单
menu:
page_size: 8 # 候选词个数
# alternative_select_labels: [ ①, ②, ③, ④, ⑤, ⑥, ⑦, ⑧, ⑨, ⑩ ] # 修改候选项标签
# alternative_select_keys: ASDFGHJKL # 如编码字符占用数字键,则需另设选字键
# ascii_mode、inline、no_inline、vim_mode 等等设定,可参考 /Library/Input Methods/Squirrel.app/Contents/SharedSupport/squirrel.yaml
# 中西文切换
#
# 【good_old_caps_lock】 CapsLock 切换到大写或切换中英。
@azagniotov
azagniotov / beautiful.rest.api.docs.in.markdown.md
Last active December 8, 2025 01:27
Example to create beautiful REST API docs in Markdown, inspired by Swagger API docs.
@lesterlo
lesterlo / apple_hidpi_list.md
Last active September 16, 2025 15:42
Apple display HiDPI resolution list

Below table listed the HiDPI resolution on all apple device.

Mac Display Type Air/Pro 13" (Intel) Air/Pro 13" (M1) Pro 16" iMac 21.5" iMac 27" Pro Display XDR
Monitor Size 13 inch 13 inch 16 inch 21.5 inch 27 inch 32 inch
Native Resolution 2560 x 1600 2560 x 1600 3072 x 1920 4096 × 2304 5120 x 2880 6016 x 3384
HiDPI Level 1 1024 x 640 1024 x 640 1152 x 720 1280 x 720 * 1600 x 900 * 1504 x 846 *
HiDPI Level 2 1280 x 800 1280 x 800 1344 x 840 1680 x 945 * 2048 x 1152 * 1920 x 1080 *
HiDPI Level 3 1440 x 900 1440 x 900 1536 x 960 2048 x 1152 2560 x 1440 2560 x 1440 *
HiDPI Level 4 1680 x 1050 1680 x 1050 1792 x 112
#!/bin/bash
# README: A more updated version is on the comments by (ashmna)[https://gist.github.com/ashmna]
# See at: https://gist.github.com/allangarcia/938b052a7d55d1652052e4259364260b?permalink_comment_id=4265898#gistcomment-4265898
# this is for tools required
brew update
brew install ninja
brew install cmake
@fworks
fworks / install-zsh-windows-git-bash.md
Last active January 21, 2026 17:51
Zsh / Oh-my-zsh on Windows Git Bash