Skip to content

Instantly share code, notes, and snippets.

View messyidea's full-sized avatar

Messyidea messyidea

View GitHub Profile
@messyidea
messyidea / chnips.list
Created April 21, 2016 01:01 — forked from dantmnf/chnips.list
Global proxy using badvpn-tun2socks
1.0.1.0/24
1.0.2.0/23
1.0.8.0/21
1.0.32.0/19
1.1.0.0/24
1.1.2.0/23
1.1.4.0/22
1.1.8.0/21
1.1.16.0/20
1.1.32.0/19
@messyidea
messyidea / grproxy.go
Last active June 7, 2016 04:48
A simple google reverse proxy in Golang
// grproxy project main.go
package main
import (
"net/http"
"net/http/httputil"
"net/url"
"strings"
)
#!/bin/sh
# cross & static compile shadowsocks-libev
PCRE_VER=8.40
PCRE_FILE="http://ftp.csx.cam.ac.uk/pub/software/programming/pcre/pcre-$PCRE_VER.tar.gz"
MBEDTLS_VER=2.4.2
MBEDTLS_FILE="https://tls.mbed.org/download/mbedtls-$MBEDTLS_VER-gpl.tgz"