Skip to content

Instantly share code, notes, and snippets.

Soff soffchen

Block or report user

Report or block soffchen

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 1
soffchen / duckdns.script
Last active Jun 24, 2016
Duckdns script for RouterOS
View duckdns.script
:global currentIP;
:local newIP [/ip address get [find interface="cnc"] address];
:local newIP [:pick $newIP 0 [:find $newIP "/"]];
:if ($newIP != $currentIP) do={
:log info "IP address $currentIP changed to $newIP";
:set currentIP $newIP;
/tool fetch mode=https url="$newIP" dst-path=duckdns.txt;
:local result [/file get duckdns.txt contents];
:log info "Duck DNS update result: $result";
soffchen / hitch
Created Jun 13, 2016 — forked from lkarsten/hitch
hitch init script for debian
View hitch
#! /bin/sh
# Provides: hitch
# Required-Start: $local_fs $remote_fs $network
# Required-Stop: $local_fs $remote_fs $network
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: The Scalable TLS Unwrapping Daemon
# Description: The Scalable TLS Unwrapping Daemon
soffchen / KuaidiCode
Last active Nov 15, 2016
Kuaidi Code for Guoguo
View KuaidiCode
YKM => 易客满(亚马逊直邮)
yamaxunwuliu => 亚马逊物流(
dhl => DHL
100003451 => 芝麻开门
100003676 => 晟邦物流
100004795 => 黄马甲配送
2639775697_301 => 筋斗云物流
4PX => 递四方
AIR => 亚风速递
View surge.conf
skip-proxy =,,,,, localhost, *.local, ::ffff:0:0:0:0/1, ::ffff:128:0:0:0/1
bypass-tun =,,
# dns-server =,,
loglevel = notify
BJ-All = custom
BJ-HK-Azure = custom
BJ-US-Azure = custom


  • 替代 PAC,实现根据规则区分选择代理线路
  • 支持 SOCKS5 和 Shadowsocks 协议
  • 完整支持所有的 Shadowsocks 加密方式 (table, rc4-md5, salsa20, chacha20, aes-256-cfb, aes-192-cfb, aes-128-cfb, bf-cfb, cast5-cfb, des-cfb, rc2-cfb, rc4, seed-cfb)
  • 全面支持双向 HTTP Keep-Alvie
  • 快,各种黑科技加速
  • 直接临时修改某个域名的访问规则 (暂时仅 Mac 版本)
  • 支持使用 GeoIP 规则决定线路


You can’t perform that action at this time.