Skip to content

Instantly share code, notes, and snippets.

# https://docs.zerotier.com/whitelist/
DOMAIN-REGEX,root.*.zerotier.com
# tailscale https://login.tailscale.com/derpmap/default
DOMAIN-REGEX,derp.*.tailscale.com
# ipv4
IP-CIDR,199.38.181.104/32,no-resolve
IP-CIDR,209.177.145.120/32,no-resolve
IP-CIDR,199.38.181.93/32,no-resolve
IP-CIDR,199.38.181.103/32,no-resolve
IP-CIDR,192.73.240.161/32,no-resolve
@MOHENOO
MOHENOO / work.yaml
Last active October 17, 2024 06:41
Work.yaml
port: 1087
socks-port: 1080
allow-lan: false
mode: rule
log-level: info
external-controller: :9090
proxies:
- {name: home, server: 192.168.100.1, port: 1080, type: socks5}
- {name: work, server: 127.0.0.1, port: 12345, type: socks5}
proxy-groups:
@MOHENOO
MOHENOO / corplink.nix
Last active May 7, 2025 08:46 — forked from YangKeao/corplink.nix
A package for Feilian on Nix OS
@MOHENOO
MOHENOO / macos-tmux-256color.md
Created December 9, 2022 06:46 — forked from bbqtd/macos-tmux-256color.md
Installing tmux-256color for macOS

Installing tmux-256color for macOS

  • macOS 10.15.5
  • tmux 3.1b

macOS has ncurses version 5.7 which does not ship the terminfo description for tmux. There're two ways that can help you to solve this problem.

The Fast Blazing Solution

Instead of tmux-256color, use screen-256color which comes with system. Place this command into ~/.tmux.conf or ~/.config/tmux/tmux.conf(for version 3.1 and later):