This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#coding:utf-8 | |
from httplib2 import Http | |
import re | |
import time | |
today = time.strftime('%Y-%m-%d 00:00:00',time.localtime(time.time())) | |
ticket = "xxxxxxxxxxxxxxxxxx" | |
a,b = Http("Z:\TEMP").request("http://www.transrush.com/Transport/LogisticsTransferTrace.aspx?code=%s" % ticket, | |
headers = {"Referer":"http://tr.4px.com/Transport/TransportInfo.aspx", | |
"Accept":"text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8", | |
"Accept-Encoding":"gzip,deflate", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from __future__ import print_function | |
from Crypto.Cipher import AES | |
import os, os.path as opath | |
import binascii | |
import time | |
from datetime import datetime, timedelta | |
from httplib2 import Http | |
pad = lambda s: s + (16 - len(s) % 16) * chr(16 - len(s) % 16) | |
unpad = lambda s : s[0:-ord(s[-1])] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
# -*-coding: utf8 -*- | |
"""Channel API | |
""" | |
import time | |
import json | |
import urllib | |
import urllib2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* bijiji.net v2.0.504 | |
* dev:Mr.Wong | |
* create date:2013.11.14 | |
* **/ | |
//业务逻辑 | |
; | |
(function ($, W, D) { | |
var TK = W.Toolkit, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from httplib2 import Http | |
import random | |
import time | |
from threading import Thread | |
from Queue import Queue, Empty | |
print_queue = Queue() | |
rnd = lambda :'0.'+''.join([random.choice('0123456789') for i in range(18)]) | |
cnt = 0 | |
class wo(Thread): | |
def __init__(self, name): |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from subprocess import Popen, PIPE | |
import struct | |
import os | |
fuckfile = r'z:\libGame.so' | |
total = os.stat(fuckfile).st_size | |
print('totle file size is 0x%x' % total) | |
f = open(fuckfile, 'rb') | |
l1 = f.read(16) | |
l2 = f.read(16) | |
l3 = f.read(16) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
LoadModule proxy_module modules/mod_proxy.so | |
LoadModule proxy_http_module modules/mod_proxy_http.so | |
ErrorLog ${APACHE_LOG_DIR}/google-proxy-android-err.log | |
CustomLog ${APACHE_LOG_DIR}/google-proxy-android-access.log combined | |
DocumentRoot "/var/www/google-proxy" | |
ProxyPreserveHost On | |
ProxyRequests Off | |
ProxyRequests Off | |
ProxyPassReverseCookiePath /var/www/google-proxy / |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name YoukuAntiADs@res | |
// @author Harv.c, fffonion | |
// @description 你猜猜 | |
// @version 0.2.6 | |
// @namespace http://userscripts.org:8080/users/Harv | |
// @updateURL http://userscripts.org:8080/scripts/source/119622.meta.js | |
// @downloadURL http://userscripts.org:8080/scripts/source/119622.user.js | |
// @include http://*/* | |
// @include https://*/* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
access_log /var/log/nginx/google_proxy-access.log combined; | |
####sn-nx57 | |
server { | |
listen 80; | |
server_name ~^r.+yn7s.c.android.clients.google.com$; | |
server_name ~^r.+yn7s.c.pack.google.com$; | |
location / { | |
proxy_pass http://173.194.56.9:80/; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#encoding:utf-8 | |
import httplib2 | |
import lxml.html as lhtml | |
import re | |
import os | |
import urllib | |
import sys | |
import gzip | |
reload(sys) | |
sys.setdefaultencoding('utf-8') |
OlderNewer