Skip to content

Instantly share code, notes, and snippets.

Avatar
🚗
Hiring chip architect at NVIDIA Shanghai office.

Max Lv madeye

🚗
Hiring chip architect at NVIDIA Shanghai office.
View GitHub Profile
View dns-black-list
0.0.0.0
2.1.1.2
4.36.66.178
4.193.80.0
8.7.198.45
8.105.84.0
12.87.133.0
14.102.249.18
16.63.155.0
20.139.56.0
View gist:dc82b97b1ed305a96894
ipset create blacklist hash:ip hashsize 4096
iptables -I INPUT -m set --match-set blacklist src -p TCP -j REJECT
ipset add blacklist 157.122.147.190
@madeye
madeye / iperf.sh
Created Feb 3, 2017
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 test
[proxy_all]
[outbound_block_list]
(^|\.)\w*admarvel\w*\..*$
(^|\.)\w*admaster\w*\..*$
(^|\.)\w*adsage\w*\..*$
(^|\.)\w*adsensor\w*\..*$
(^|\.)\w*adsh\w*\..*$
(^|\.)\w*adsmogo\w*\..*$
@madeye
madeye / setup.sh
Last active Nov 27, 2021
shadowsocks-setup.sh
View setup.sh
#/bin/bash +x
if [ $# -ne 1 ]
then
echo "Usage: `basename $0` [password]"
exit 21
fi
PASSWORD=$1
View privacy_policy.md

Privacy Policy

Tangcha Inc. built the 唐茶 app as a Free app. This SERVICE is provided by Tangcha Inc. at no cost and is intended for use as is.

This page is used to inform visitors regarding our policies with the collection, use, and disclosure of Personal Information if anyone decided to use our Service.

If you choose to use our Service, then you agree to the collection and use of information in relation to this policy. The Personal Information that we collect is used for providing and improving the Service. We will not use or share your information with anyone except as described in this Privacy Policy.

The terms used in this Privacy Policy have the same meanings as in our Terms and Conditions, which is accessible at 唐茶 unless otherwise defined in this Privacy Policy.

@madeye
madeye / example.json
Last active Mar 16, 2020
example.json
View example.json
[
{
"server": "198.199.101.152",
"server_port": 8388,
"password": "u1rRWTssNv0p",
"method": "aes-256-cfb",
"remarks": "Example 1"
},
{
"server": "198.199.101.12",
View sip-test.json
{
"version": 1,
"remark": "Some server",
"servers": [
{
"id": "1a2b3c4d",
"remark": "Server A",
"server": "example.com",
"server_port": 1234,
"password": "example",