Skip to content

sunls24/config

Repository files navigation

Linux & Develop 自用配置

.zshrc

zsh 终端配置,插件:zsh-syntax-highlighting zsh-autosuggestions zsh-theme-powerlevel10k

curl -sfO https://raw.githubusercontent.com/sunls24/config/master/.zshrc

.vimrc

vim 基础配置:amix/vimrcflexoki 主题:kepano/flexoki

curl -sf https://raw.githubusercontent.com/sunls24/config/master/flexoki.vim | bash

Vimium

Vimium 浏览器插件的配置和主题

curl -sfO https://raw.githubusercontent.com/sunls24/config/main/vimium-options.json

Ghostty 配置

ghostty.config,字体使用 Liga SFMono Nerd Font

ghostty 是一款快速、原生、功能丰富的终端模拟器;好用,爱用!

VPS 网络重装

curl -sfLO https://raw.githubusercontent.com/bohanyang/debi/master/debi.sh && chmod +x debi.sh

./debi.sh --no-install-recommends --no-apt-non-free-firmware --no-apt-src --no-apt-backports --cloud-kernel --bbr --grub-timeout 0 --timezone Asia/Shanghai --dns 8.8.8.8 --install curl --version 13 --ssh-port xxx --hostname xxx --user xxx --password xxx

# 重启
shutdown -r now

# 撤销
rm -rf debi.sh /etc/default/grub.d/zz-debi.cfg /boot/debian-* && { sudo update-grub || sudo grub2-mkconfig -o /boot/grub2/grub.cfg; }

debian-init

curl -sf https://raw.githubusercontent.com/sunls24/config/master/script/debian-init.sh | bash

arch-init

curl -sf https://raw.githubusercontent.com/sunls24/config/master/script/arch-init.sh | bash

可以在 OpenWrt 路由器中运行的简单 ddns 脚本,支持 ipv4ipv6(需要 cloudflare

在路由器中运行 sing-box,并使用 iptables 转发和过滤流量,仅转发指定 mac 地址的设备

很多路由器存储空间有限,可以使用这里的精简打包版本

sing-box 配置示例

默认 hysteria2 协议使用了端口跳跃,服务器 iptables 脚本可参考这里

About

Linux & Develop 自用配置

Resources

Stars

Watchers

Forks

Contributors

Languages