Skip to content

Instantly share code, notes, and snippets.

@sanzenwin
sanzenwin / rust_install.md
Created March 1, 2025 10:46 — forked from KmolYuan/rust_install.md
Install Rust for Msys2.

在 Msys2 上安裝最新版 Rust

  1. 安裝 Msys2:https://www.msys2.org/

  2. 安裝後啟動 msys2.exe 執行以下命令安裝 GNU toolchain。(如官方說明所示)

    pacman -S --needed base-devel mingw-w64-x86_64-toolchain
@sanzenwin
sanzenwin / surge.conf
Created September 4, 2016 01:00 — forked from jason5ng32/surge.conf
Surge Configs ( for 2.x )
[General]
loglevel = notify
skip-proxy = 127.0.0.1, 192.168.0.0/16, 10.0.0.0/8, 172.16.0.0/12, 100.64.0.0/10, localhost, *.local, ::ffff:0:0:0:0/1, ::ffff:128:0:0:0/1
bypass-tun = 192.168.0.0/16, 10.0.0.0/8, 172.16.0.0/12
# dns-server = 119.29.29.29,223.5.5.5,114.114.115.115
# external-controller-access = [email protected]:6155
# ipv6 = true
// REMEMBER TO CHANGE THE external-controller-access' PASSWORD
@sanzenwin
sanzenwin / ubuntu配置PPTP.md
Created September 4, 2016 00:40 — forked from plusor/ubuntu配置PPTP.md
ubuntu配置PPTP

Starting PPTP Daemon: /etc/pptpd.conf: No such file or directory

sudo apt-get purge pptpd
sudo apt-get install pptpd
  • vi /etc/rc.local