Skip to content

Instantly share code, notes, and snippets.

Samuel simpzan

Block or report user

Report or block simpzan

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
@simpzan
simpzan / iperf.sh
Created Jun 11, 2018 — forked from madeye/iperf.sh
Bandwidth test for shadowsocks
View iperf.sh
#!/bin/bash
method=$1
ss-tunnel -k test -m $method -l 8387 -L 127.0.0.1:8388 -s 127.0.0.1 -p 8389 &
ss_tunnel_pid=$!
ss-server -k test -m $method -s 127.0.0.1 -p 8389 &
ss_server_pid=$!
iperf -s -p 8388 &
View howto-setup-transparent-proxied-router.md

如何在路由器中实现透明代理?

0 互联网现状

目前整个互联网环境,被破坏最严重地部分,是 Web 服务体验。当直接破坏难以实现时,就会从流程链的上下游着手,如:DNS 污染。

其它地互联网服务类型,例如:邮件,可能小部分会受到 Web 服务上下游破坏地余震,但整体上基本不受影响。

View pptpd.sh
#!/bin/bash
echo "######################################################"
echo "Start Install"
echo "######################################################"
echo "Enter username that you want to create:"
read u
echo "Enter password that you want to use:"
read p
@simpzan
simpzan / BNRTimeBlock.h
Created Mar 20, 2012 — forked from bignerdranch/BNRTimeBlock.h
Timing Utility Post 20120308
View BNRTimeBlock.h
CGFloat BNRTimeBlock (void (^block)(void));
You can’t perform that action at this time.