Skip to content

Instantly share code, notes, and snippets.

thanch2n

Block or report user

Report or block thanch2n

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View surge3.conf
[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
View get_a_brand_new_Mac.md

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 Mar 9, 2019
Prepare tracker list for aria2
View tracker_list.sh
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}'
View m3u8
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
View proxychains-ng-install.sh
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
View v2-docker-stack.yml
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"
You can’t perform that action at this time.