Skip to content

Instantly share code, notes, and snippets.

View liby's full-sized avatar
πŸŒ€
Working from Cosmos

Bryan Lee liby

πŸŒ€
Working from Cosmos
View GitHub Profile
@liby
liby / external_rules.sgmodule
Last active July 16, 2025 12:05
Surge Enterprise External Rules
#!name=External Rules
#!desc=Add rules without modifying the Entertprise's profile.
[General]
allow-wifi-access = true
http-listen = 0.0.0.0:6152
socks5-listen = 0.0.0.0:6153
[Rule]
RULE-SET,https://ruleset.skk.moe/List/non_ip/ai.conf,πŸ‡ΊπŸ‡Έ εŠžε…¬η½‘η«™
@liby
liby / Bryan Lee's GitHub Stats
Last active December 4, 2025 00:08
⚑️ History of GitHub
⭐ Total Stars: 5.7k
πŸ“ Total Commits: 5.4k
πŸš€ Total PRs: 321
🚧 Total Issues: 161
🀝 Contributed to: 26
@liby
liby / Bryan’s Recent Coding Languages
Last active December 6, 2025 00:15
πŸ’» Recent GitHub Activity Languages
YAML +450 / -421 β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–Šβ–‘β–‘β–‘β–‘β–‘β–‘ 65.44%
Markdown +267 / -29 β–ˆβ–ˆβ–ˆβ–ˆβ–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘ 22.24%
Shell +52 / -28 β–ˆβ–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘ 6.01%
Python +42 / -2 β–Šβ–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘ 3.31%
OpenStep … +12 / -8 β–Šβ–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘ 1.50%
JSON +12 / -4 β–Šβ–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘ 1.20%
TOML +1 / -3 β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘ 0.30%
@liby
liby / cfg-install
Last active February 27, 2022 18:19
Switch Homebrew to USTC Mirror
git clone --bare [email protected]:liby/dotfiles.git $HOME/.cfg
function config {
/usr/bin/git --git-dir=$HOME/.cfg/ --work-tree=$HOME $@
}
mkdir -p .config-backup
config checkout
if [ $? = 0 ]; then
echo "Checked out config.";
else
echo "Backing up pre-existing dot files.";