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 September 2, 2025 00:08
⚑️ History of GitHub
⭐ Total Stars: 5.7k
πŸ“ Total Commits: 4.9k
πŸš€ Total PRs: 317
🚧 Total Issues: 157
🀝 Contributed to: 28
@liby
liby / Bryan’s Recent Coding Languages
Last active September 2, 2025 00:15
πŸ’» Recent GitHub Activity Languages
Zig +651 / -394 β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–Šβ–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘ 51.99%
Gettext C… +355 / -35 β–ˆβ–ˆβ–ˆβ–Šβ–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘ 19.40%
YAML +114 / -89 β–ˆβ–Šβ–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘ 10.10%
Markdown +130 / -35 β–ˆβ–Šβ–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘ 8.21%
Shell +28 / -119 β–ˆβ–Šβ–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘ 7.31%
Nix +22 / -18 β–Šβ–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘ 1.99%
JSON +6 / -6 β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘ 0.60%
Swift +5 / -1 β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘ 0.30%
Text +1 / -1 β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘ 0.10%
@liby
liby / cfg-install
Last active February 27, 2022 18:19
Switch Homebrew to USTC Mirror
git clone --bare git@github.com: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.";