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 May 23, 2025 22:07
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,[R] 美东 AWS Exit
@liby
liby / Bryan Lee's GitHub Stats
Last active June 7, 2025 00:08
⚑️ History of GitHub
⭐ Total Stars: 5.7k
πŸ“ Total Commits: 4.6k
πŸš€ Total PRs: 305
🚧 Total Issues: 148
🀝 Contributed to: 38
@liby
liby / Bryan’s Recent Coding Languages
Last active June 7, 2025 00:16
πŸ’» Recent GitHub Activity Languages
Zig +821 / -674 β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–Šβ–‘β–‘β–‘β–‘β–‘β–‘ 66.33%
Shell +278 / -162 β–ˆβ–ˆβ–ˆβ–Šβ–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘ 19.52%
Markdown +191 / -11 β–ˆβ–Šβ–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘ 8.96%
Nix +22 / -30 β–Šβ–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘ 2.31%
JSON +18 / -17 β–Šβ–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘ 1.55%
Gettext C… +8 / -8 β–Šβ–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘ 0.71%
C +5 / -0 β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘ 0.22%
Swift +2 / -2 β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘ 0.18%
TOML +3 / -0 β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘ 0.13%
Text +1 / -1 β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘ 0.09%
@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.";