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 August 6, 2025 00:09
⚑️ History of GitHub
⭐ Total Stars: 5.7k
πŸ“ Total Commits: 4.8k
πŸš€ Total PRs: 317
🚧 Total Issues: 154
🀝 Contributed to: 37
@liby
liby / Bryan’s Recent Coding Languages
Last active August 12, 2025 00:16
πŸ’» Recent GitHub Activity Languages
TypeScript +1.4k / -1.1k β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–Šβ–‘β–‘β–‘β–‘β–‘β–‘β–‘ 58.64%
YAML +116 / -929 β–ˆβ–ˆβ–ˆβ–ˆβ–Šβ–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘ 24.09%
Markdown +243 / -35 β–ˆβ–Šβ–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘ 6.41%
JSON +112 / -139 β–ˆβ–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘ 5.79%
JavaScript +141 / -47 β–Šβ–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘ 4.33%
Python +0 / -32 β–Šβ–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘ 0.74%
@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.";