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
// | |
// UIColor+HexString.h | |
// Class to convert hex string to UIColor | |
// Support #RGB # ARGB #RRGGBB #AARRGGBB | |
// Usage: [UIColor colorWithHexString:@"#f5e6a1"]; | |
// Created by Zhu Yuzhou on 1/20/13. | |
// | |
#import <UIKit/UIKit.h> |
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 bottle import route, error, post, get, run, static_file, abort, redirect, response, request, template | |
@route('/') | |
@route('/index.html') | |
def index(): | |
return '<a href="/hello">Go to Hello World page</a>' | |
@route('/hello') | |
def hello(): |
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
import re | |
import json | |
import urllib | |
import base64 | |
import hashlib | |
import requests | |
import OS | |
WBCLIENT = 'ssologin.js(v.1.3.18)' |