Skip to content

Instantly share code, notes, and snippets.

[General]
loglevel = notify
skip-proxy = 192.168.0.0/16, 193.168.0.0/24, 10.0.0.0/8, 172.16.0.0/12, 100.64.0.0/10, 17.0.0.0/8, 127.0.0.1, localhost, *.local
dns-server = 8.8.8.8,114.114.114.114,223.5.5.5,system
allow-wifi-access = false
ipv6 = false
[Proxy]
tw = ss, tw.SERVER, 53428, encrypt-method=aes-256-cfb, password=SERVER
hk = ss, hk.SERVER, 53428, encrypt-method=aes-256-cfb, password=SERVER

Get a brand new Mac

System Preferences

  1. Trackpad — Tap to click
  2. Keyboard — shortcuts — input source — select the previous input source
  3. Accessibility — mouse & trackpad — trackpad options — enable dragging — without drag lock
  4. Dock — automatically hide
  5. Sharing — computer name
  6. Date & time — clock — use a 24-hour clock — show the day of the week
  7. Desktop — screen saver — hot corners — LU:mission control, LD:launchpad, RD:desktop
@thanch2n
thanch2n / tracker_list.sh
Created March 9, 2019 17:28
Prepare tracker list for aria2
wget https://raw.githubusercontent.com/ngosang/trackerslist/master/trackers_all_ip.txt
grep -v -E '^[[:space:]]*$' trackers_all_ip.txt | awk -v RS="^Z" '{gsub("\n",","); print}'
wget https://raw.githubusercontent.com/m3u8playlist/m3u8/master/us.json
jq -r '.channels|.[].url' us.json > us.m3u8
wget https://github.com/GL8666/m3u8_channels/raw/master/channels.json
jq -r '.channels|.[].url' channels.json > channels.m3u8
cd /opt
yum install gcc -y
git clone https://github.com/rofl0r/proxychains-ng.git
cd proxychains-ng/
./configure --prefix=/usr --sysconfdir=/etc
make && make install
make install-config
sed -i "115c socks5 10.10.2.156 6153 c c" /etc/proxychains.conf
cd ../
rm -rf proxychains-ng
version: '3.7'
# docker config create v2_conf config_v2.json
services:
v2:
image: v2ray/official:latest
ports:
- "53428:53428/tcp"
- "53428:53428/udp"
- "53429:53429/tcp"