Skip to content

Instantly share code, notes, and snippets.

View heruoxin's full-sized avatar
🏠
Working from home

little_cup heruoxin

🏠
Working from home
View GitHub Profile
@heruoxin
heruoxin / CDUT Xietong Router Hack.sh
Last active November 15, 2016 03:40
成都理工协同路由脚本……
#!/bin/bash
echo
echo "成都理工协同拨号路由破解脚本"
echo "算法来源:http://fyscu.com/forum.php?mod=viewthread&tid=1104"
echo "本脚本仅适用于ddwrt、openwrt、tomato的路由"
echo "使用前请确认已经在路由设置页面上调整之为PPPoE拨号模式,并最好备过份。"
echo "截至2014年2月,对CD028XXXXX@96301类型的帐号有效,对使用本脚本后的任何意外本人无力负责。"
echo
@heruoxin
heruoxin / CDUT teacher rating script.py
Last active January 3, 2016 05:19
成都理工自动评教脚本……
#!/usr/bin/python
# -*-encoding:utf-8 -*-
#CDUT teacher rating script
from urllib import urlencode
import urllib2, cookielib, re
data = {