给定用户的ID(微相册的数字ID,非昵称),下载用户相册中所有图片到本地
rsa
,threadpool
请先更改login_weibo
中的用户名及密码
#!/usr/bin/env python | |
# coding:utf-8 | |
""" | |
Login in WHU Dormitory Network | |
Usage: | |
Usage: ruijie.py [-l] | |
-l to logout |
#!/usr/bin/env python | |
# coding:utf-8 | |
""" | |
Backup your neteasy blog entries to a sqlite3 database | |
Usage neteasy.py <username> | |
The username is your blog name which appears in your blog domain. | |
Just like "junjie.blog.163.com", in which "junjie" is the <username> |
/* | |
C grammar defintion for use with JavaCC | |
Contributed by Doug South (dsouth@squirrel.com.au) 21/3/97 | |
This parser assumes that the C source file has been preprocessed : all | |
#includes have been included and all macros have been expanded. I accomplish | |
this with "gcc -P -E <source file> > <output file>". | |
There is a problem with compiler specific types, such as __signed, __const, |
/* | |
* R2LParser.c | |
* | |
* Recognize C declaration use Right-Left Method(from http://ieng9.ucsd.edu/~cs30x/rt_lt.rule.html) | |
* | |
* The "right-left" rule is a completely regular rule for deciphering C | |
* declarations. It can also be useful in creating them. | |
* | |
* First, symbols. Read | |
* * as "pointer to" - always on the left side |
#!/usr/bin/env python | |
# coding:utf-8 | |
""" | |
A 'Crawler' for http://msdn.itellyou.cn/ | |
""" | |
import re | |
import urllib | |
import urllib2 |
#!/usr/bin/env python | |
# coding:utf-8 | |
""" | |
Translate English and Chinese mutually using https://translate.google.com.hk | |
create on '11/5/15 5:07 PM' | |
""" | |
import gzip | |
import httplib |
#!/usr/bin/env python | |
#coding:utf-8 | |
""" | |
download files from pan.baidu.com using https://github.com/PeterDing/iScript/blob/master/pan.baidu.com.py#pan.baidu.com.py | |
use crontab to run it in a specific time interval to check if it has failed | |
if failed, restart it | |
Created on 2015.10.31 | |
""" |
#功能 备份QQ空间说说(先用浏览器登陆获取Cookie)
#用法
先将Cookie及用户写入config.json
中,格式如下
{
"shuoshuo":"<shuoshuo_cookie>",
"friends":"<friends_cookie>",
#include <stdio.h> | |
/** | |
* Display memory block via Hexadecimal. | |
* From lower to higher address. | |
**/ | |
void hexOut(unsigned char c) { | |
printf("%x", c & 0xF); | |
printf("%x", (c >> 4) & 0xF); |