Skip to content

Instantly share code, notes, and snippets.

View Loongphy's full-sized avatar
🚀
Landing Mars

Loongphy Wei Loongphy

🚀
Landing Mars
View GitHub Profile
@Loongphy
Loongphy / sub.yaml
Last active May 27, 2025 03:40
Mihomo Override geosite rules
proxy-groups:
- name: 🚀 默认
type: select
proxies: [🇭🇰 香港自动, 🇯🇵 日本自动, 🇺🇸 美国自动, 🇺🇸 美国, 🇭🇰 香港, 🇯🇵 日本, 🇹🇼 台湾, 🇸🇬 新加坡, 🌐 全部, DIRECT]
- name: Ⓜ️ Microsoft
type: select
proxies: [DIRECT, 🚀 默认, 🇭🇰 香港, 🇯🇵 日本, 🇹🇼 台湾, 🇸🇬 新加坡, 🇺🇸 美国, 🌐 全部]
- name: 💬 OpenAI
type: select
proxies: [🇺🇸 美国]
@Loongphy
Loongphy / devtools.fish
Last active March 27, 2025 04:44
fish script
# ~/.config/fish/conf.d/devtools.fish
# kill the process of the specified port
function kp
set port $argv[1]
lsof -i:$port | awk "NR==2{print $2}" | xargs kill -9
end
# git commands
alias main="git checkout main"