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
class MyTest(unittest.TestCase): | |
def setUp(self): | |
unittest.TestCase.setUp(self) | |
try: | |
import webtest | |
except ImportError: | |
import setuptools.command.easy_install as easy_install | |
easy_install.main(["WebTest"]) | |
exit() |
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
<script src="https://gist.github.com/4524547.js"></script> |
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
# On branch master | |
# Changes not staged for commit: | |
# (use "git add/rm <file>..." to update what will be committed) | |
# (use "git checkout -- <file>..." to discard changes in working directory) | |
# | |
#21deleted: .3DFlatten/82F0A94F-1816977.jpg | |
# deleted: .data/HtcGreader/-1271364895.jpg | |
# deleted: .data/HtcGreader/-1301349222.jpg | |
# deleted: .data/HtcGreader/-1484455093.jpg | |
# deleted: .data/HtcGreader/-1683847924.jpg |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<title></title> | |
</head> | |
<body> | |
<div>カメラ画像!</div> | |
<input id="ip_address" value="192.168.0.5"/> | |
<div><img id="jpeg1" src=""/></div> | |
<script type="text/javascript"> |
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
# The user name and group name Squid will operate as | |
cache_effective_user httpdusr | |
cache_effective_group everyone | |
# | |
# Recommended minimum configuration: | |
# | |
# Auth Method | |
#auth_param basic program /share/MD0_DATA/.qpkg/Squid/opt/libexec/squid/ncsa_auth /etc/shadow | |
#auth_param basic children 5 |
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
{} |
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
{ | |
"$schema": "http://json-schema.org/draft-03/schema", | |
"id": "https://gist.github.com/TakashiSasaki/5420814/raw/schema.json", | |
"title": "root", | |
"title-authority": [ | |
"http://json-schema.org/latest/json-schema-validation.html#anchor97", | |
"http://json-schema.org/latest/json-schema-core.html#anchor7" | |
], | |
"title-description": "Title is a metadata keyword and will preferrably be short.", | |
"description": null, |
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
<!DOCTYPE html> | |
<html lang="ja"> | |
<head> | |
<meta charset="utf-8"/> | |
<title>minimul HTML document</title> | |
</head> | |
<body></body> | |
</html> |
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
body { background-color: #DDDDDD; font: 12px sans-serif; } | |
td, th { | |
border-width: 1px; | |
border-color: #99a; | |
border-style: solid; | |
} | |
table { | |
margin: 4px 2px; |
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
appcfg.py --secure --include_all --num_days=0 request_logs /path/to/my/gaeapp\ | |
--version=version_string version_string.log |