Skip to content

Instantly share code, notes, and snippets.

#encoding: utf-8
import requests
from pyquery import PyQuery as pq
agent="Mozilla/5.0 (Windows NT 6.1; WOW64; rv:22.0) Gecko/20100101 Firefox/22.0"
content_type = "applicationself.s.xsrf/x-www-form-urlencoded; charset=UTF-8"
class Sjtu:
def __init__(self,url):
self.host = url
@favormm
favormm / NSData+AESCrypt.h
Created February 23, 2012 08:21 — forked from gonecoding/Readme.markdown
Adding methods to NSData and NSString using categories to provide AES256 encryption on iOS
//
// NSData+AESCrypt.h
//
// AES Encrypt/Decrypt
// Created by Jim Dovey and 'Jean'
// See http://iphonedevelopment.blogspot.com/2009/02/strong-encryption-for-cocoa-cocoa-touch.html
//
// BASE64 Encoding/Decoding
// Copyright (c) 2001 Kyle Hammond. All rights reserved.
// Original development by Dave Winer.