Skip to content

Instantly share code, notes, and snippets.

@wanliang1221
wanliang1221 / main.py
Created May 17, 2018 01:28 — forked from hooklife/main.py
饿了么满减
import requests
import json
import pymysql
import logging
geohash = 'wxrvbuh1qcb'
latitude = '41.81419'
longitude = '123.43718'
offset = 0
@wanliang1221
wanliang1221 / curlproxy.sh
Created December 5, 2016 08:10 — forked from inmyfree/curlproxy.sh
curlproxy.sh
#!/bin/bash
cd /mnt/media_a/proxyconfig/
mkdir tmp html result
for ((i=1;i<8;i++))
do
[
"https://gq3brsw46hyrns0w4hjiqhtab8e9q24h93g8estrbgwt4h5h0triosgb80wt.wordpress.com/2016/10/26/%e9%95%bf%e5%b9%b3-%e4%bb%8e%e4%b8%a5%e6%b2%bb%e5%85%9a-%e5%94%af%e6%9c%89%e4%b8%89%e6%9d%83%e5%88%86%e7%ab%8b%e5%be%b7%e5%9b%bd%e4%b9%8b%e5%a3%b0%e4%b8%ad%e6%96%87%e7%bd%91/?from=groupmessage&isappinstalled=0",
"https://www.evernote.com/shard/s596/sh/b273afd0-4564-40f2-b81f-57ac23c3b61b/4e2b83c48886db7c1b2c5537d2483a99",
"https://won528.wordpress.com",
"http://url.cn/28ucN6a",
"https://win358.wordpress.com",
"https://red6451.wordpress.com",
"https://get510.wordpress.com",
"https://sit222.wordpress.com",
" http://alturl.com/9w4aq",
@wanliang1221
wanliang1221 / nginx 反向代理 blog.conf
Created July 19, 2016 05:54 — forked from shellexy/nginx 反向代理 blog.conf
在 vps 用 nginx 反向代理 wordpress/blogger
# /etc/nginx/sites-available/blog.shellexy.info
server {
resolver 8.8.8.8;
listen 80;
server_name blog.shellexy.info;
#access_log off;
access_log /var/log/nginx/blog.shellexy.info.access.log;
location / {
#避免远方启用压缩导致无法替换纯文本
proxy_set_header Accept-Encoding "";
@wanliang1221
wanliang1221 / shadowrocket.conf
Created March 17, 2016 05:20 — forked from handleft/shadowrocket.conf
A Config of Shadowrocket, Used in iPhone, iOs 9.0 & lately.
# Thanks for shadowsocks (by @clowwindy ) & shadowrocket ( @shadowrocketApp )
# update 2016.03.16
[General]
loglevel = notify
skip-proxy = 10.0.0.0/8, 100.64.0.0/10, 127.0.0.0/24, 192.168.0.0/16
bypass-tun = 0.0.0.0/8, 1.0.0.0/9, 1.160.0.0/11, 1.192.0.0/11, 10.0.0.0/8, 14.0.0.0/11, 14.96.0.0/11, 14.128.0.0/11, 14.192.0.0/11, 27.0.0.0/10, 27.96.0.0/11, 27.128.0.0/9, 36.0.0.0/10, 36.96.0.0/11, 36.128.0.0/9, 39.0.0.0/11, 39.64.0.0/10, 39.128.0.0/10, 42.0.0.0/8, 43.224.0.0/11, 45.64.0.0/10, 47.64.0.0/10, 49.0.0.0/9, 49.128.0.0/11, 49.192.0.0/10, 54.192.0.0/11, 58.0.0.0/9, 58.128.0.0/11, 58.192.0.0/10, 59.32.0.0/11, 59.64.0.0/10, 59.128.0.0/9, 60.0.0.0/10, 60.160.0.0/11, 60.192.0.0/10, 61.0.0.0/10, 61.64.0.0/11, 61.128.0.0/10, 61.224.0.0/11, 100.64.0.0/10, 101.0.0.0/9, 101.128.0.0/11, 101.192.0.0/10, 103.0.0.0/10, 103.192.0.0/10, 106.0.0.0/9, 106.224.0.0/11, 110.0.0.0/7, 112.0.0.0/9, 112.128.0.0/11, 112.192.0.0/10, 113.0.0.0/9, 113.128.0.0/11, 113.192.0.0/10, 114.0.0.0/9, 114.128.0.0/11, 114.192.0.0/10, 115.0.0.0
[General]
loglevel = notify
skip-proxy = 192.168.0.0/16, 10.0.0.0/8, 172.16.0.0/12, 127.0.0.0/8, 100.64.0.0/10, localhost, *.local, e.crashlytics.com
bypass-tun = 192.168.0.0/16, 0.0.0.0/8, 1.0.0.0/9, 1.160.0.0/11, 1.192.0.0/11, 10.0.0.0/8, 14.0.0.0/11, 14.96.0.0/11, 14.128.0.0/11, 14.192.0.0/11, 27.0.0.0/10, 27.96.0.0/11, 27.128.0.0/9, 36.0.0.0/10, 36.96.0.0/11, 36.128.0.0/9, 39.0.0.0/11, 39.64.0.0/10, 39.128.0.0/10, 42.0.0.0/8, 43.224.0.0/11, 45.64.0.0/10, 47.64.0.0/10, 49.0.0.0/9, 49.128.0.0/11, 49.192.0.0/10, 54.192.0.0/11, 58.0.0.0/9, 58.128.0.0/11, 58.192.0.0/10, 59.32.0.0/11, 59.64.0.0/10, 59.128.0.0/9, 60.0.0.0/10, 60.160.0.0/11, 60.192.0.0/10, 61.0.0.0/10, 61.64.0.0/11, 61.128.0.0/10, 61.224.0.0/11, 100.64.0.0/10, 101.0.0.0/9, 101.128.0.0/11, 101.192.0.0/10, 103.0.0.0/10, 103.192.0.0/10, 106.0.0.0/9, 106.224.0.0/11, 110.0.0.0/7, 112.0.0.0/9, 112.128.0.0/11, 112.192.0.0/10, 113.0.0.0/9, 113.128.0.0/11, 113.192.0.0/10, 114.0.0.0/9, 114.128.0.0/11, 114.192.0.0/10, 115.0.0.0/8, 116.0.0.0/8, 117.0.0.0/9,
@wanliang1221
wanliang1221 / surge.conf
Created October 8, 2015 07:29 — forked from soffchen/surge.conf
surge.conf
[General]
loglevel = notify
all-tcp-mode = false
[Proxy]
Proxy = custom
[Rule]
// iOS Maps
DOMAIN-SUFFIX,ls.apple.com,DIRECT