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 functools import partial | |
import MySQLdb | |
ip = '192.168.1.42' | |
class DB(object): |
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
あ ア a い イ i う ウ u え エ e お オ o | |
か カ ka き キ ki く ク ku け ケ ke こ コ ko | |
さ サ sa し シ shi す ス su せ セ se そ ソ so | |
た タ ta ち チ chi つ ツ tsu て テ te と ト to | |
な ナ na に ニ ni ぬ ヌ nu ね ネ ne の ノ no | |
は ハ ha ひ ヒ hi ふ フ fu へ ヘ he ほ ホ ho | |
ま マ ma み ミ mi む ム mu め メ me も モ mo | |
や ヤ ya い イ i ゆ ユ yu え エ e よ ヨ yo | |
ら ラ ra り リ ri る ル ru れ レ re ろ ロ ro | |
わ わ wa い イ i う ウ u え エ e を オ o |
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 url(http://fonts.googleapis.com/css?family=Open+Sans:400italic,700italic,400,700); | |
html { | |
color:#000; | |
background:#FFF; | |
} | |
body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,code,form,fieldset,legend,input,textarea,p,blockquote,th,td { | |
margin:0; | |
padding:0; |
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:utf-8 -*- | |
import logging | |
from logging.handlers import RotatingFileHandler | |
from datetime import datetime | |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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/python | |
""" | |
Usage: | |
python swagger-json-to-html.py < /path/to/api.json > doc.html | |
curl http://localhost:5000/spec-json | python swagger-json-to-html.py > doc.html | |
""" | |
import json, sys |
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 autocopy | |
// @namespace https://bigfang.github.io | |
// @description Auto copy selected text | |
// @match *://*/* | |
// @run-at document-end | |
// @grant GM_setClipboard | |
// ==/UserScript== | |
if (typeof GM_setClipboard != 'function') alert('Your UserScript client has no GM_setClipboard support'); |
OlderNewer