This file contains hidden or 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
| -- 2010= [1, 2, 3, 4, 5, 6, 7, 8, '*', '-', '-', '*', '+', 9, '*', '+', '+'] | |
| -- 2010= [1, 2, 3, 4, 5, 6, 7, '*', 8, '+', '+', '*', '+', 9, '*', '+', '+'] | |
| -- 2010= [1, 2, 3, 4, 5, 6, 7, '*', '+', 8, '+', '*', '+', 9, '*', '+', '+'] | |
| -- 2010= [1, 2, 3, 4, 5, 6, '+', 7, 8, '+', '*', '*', 9, '+', '*', '+', '+'] | |
| -- 2010= [1, 2, 3, 4, 5, 6, '+', '*', 7, 8, '+', '*', 9, '+', '*', '+', '+'] | |
| -- 2010= [1, 2, 3, 4, 5, 6, '+', '*', '*', 7, '-', 8, '*', '*', 9, '+', '+'] | |
| -- 2010= [1, 2, 3, 4, 5, 6, '+', '*', '*', 7, '-', 8, '*', '*', '+', 9, '+'] | |
| -- 2010= [1, 2, 3, 4, 5, 6, '+', '*', '*', 7, '-', '*', 8, '*', 9, '+', '+'] | |
| -- 2010= [1, 2, 3, 4, 5, 6, '+', '*', '*', 7, '-', '*', 8, '*', '+', 9, '+'] | |
| -- 2010= [1, 2, 3, 4, 5, 6, '-', 7, 8, '*', '+', '*', '+', 9, '*', '+', '+'] |
This file contains hidden or 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 -*- | |
| # 元ネタ http://okajima.air-nifty.com/b/2010/01/post-abc6.html | |
| # 入力テキストは元ネタをコピペして保存でもしてください | |
| import copy | |
| def load(filename): | |
| f = open(filename,"r") | |
| mazes = [] | |
| start = [] | |
| end = [] | |
| min = [] |
This file contains hidden or 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
| ・いい話だと思うけどなんか足りない気がする。特に穹√。瑛√は結構良かったと思う。ファンディスクの追加シナリオ待った方がいいですかね。 | |
| ・穹は中盤まではよかったけど、後半は演出上不気味だったなぁ。 | |
| ・奈緒ルートの奈緒はうざいだけだが穹ルートの奈緒は心強かった。どっちも過去の過ちから来てんだけど。 | |
| ・穹√だけ委員長大活躍でしたね。初佳さん、自分の√以外はほとんど空気。 | |
| ・判定としてはB+くらい。ましフォニより下で箱○タユタマの鵺√よりは上。ちなみにシュタゲはA(10章まで)->S(11章)、D.C.IIはまひるアイシアがA+くらいかなぁ。プレイ時の気分により左右されるから時間が経つと変わるかも。 | |
| 親を失い田舎に逃げてきた悠。瑛√は辛さを語って、瑛も救おうとする。一方で穹√では最後直前まで一人で悩んで、穹と一緒に堕ちていく、という感じ。奈緒は穹の分化、一葉は瑛の分化。初佳は他二人の話って感じ。 |
This file contains hidden or 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
| #!/bin/env python | |
| #! -*- coding:utf-8 -*- | |
| #import model | |
| #import simplejson | |
| # 挨拶のやりとりをクラス分けする | |
| """ | |
| def getAuthData(fileName): | |
| file = open(fileName,'r') | |
| a = simplejson.loads(file.read()) |
This file contains hidden or 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 model | |
| session = model.init() | |
| m = model.TestModel() | |
| m.id = 0 | |
| m.name =u"aaaaa" | |
| session.save(m) |
This file contains hidden or 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 -*- | |
| import hashlib | |
| from sqlalchemy import create_engine, MetaData, Table, Column, types | |
| from sqlalchemy.orm import sessionmaker, scoped_session, mapper as sqla_mapper | |
| from sqlalchemy.orm.query import Query | |
| from sqlalchemy.sql import visitors | |
| from werkzeug.contrib.cache import MemcachedCache | |
| #ToDo: |
This file contains hidden or 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 | |
| #python analyze_banare.py 自分のid | |
| #で自分のidで調べます | |
| import urllib | |
| import re | |
| import sys | |
| def int2chr(i, i2c): | |
| li = len(i2c) |
This file contains hidden or 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
| 0:オリンピック離れ | |
| 1:オリンピック離れ | |
| 2:オリンピック離れ | |
| 3:オリンピック離れ | |
| 4:オリンピック離れ | |
| 5:オリンピック離れ | |
| 6:オリンピック離れ | |
| 7:オリンピック離れ | |
| 8:オリンピック離れ | |
| 9:オリンピック離れ |
This file contains hidden or 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 | |
| # togetter to txt convert | |
| # using : python togetter2txt id | |
| from BeautifulSoup import BeautifulSoup | |
| import urllib | |
| import sys | |
| def togetter2txt(id): | |
| f = urllib.urlopen("http://togetter.com/li/"+id) | |
| data = f.read() |
This file contains hidden or 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 sys,Image | |
| #needs pil | |
| img = Image.open(sys.argv[1]) | |
| y, cr, cb = img.convert("YCbCr").split() | |
| for px in range(0, img.size[0]): | |
| for py in range(0, img.size[1]): | |
| #rgb = img.getpixel((px,py)) | |
| yy = y.getpixel((px,py)) | |
| cr.putpixel((px,py), 110) |