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 PUBLIC "-//W3C//DTD XHTML 1.1 //EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> | |
<html> | |
<head> | |
<title>Sample HTML</title> | |
</head> | |
<body> | |
<h1>Sample</h1> | |
<hr /> | |
<div class="content"> | |
% for m in messages: |
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 mako.template import Template | |
>>> mytemplate = Template(filename="main.mako") | |
>>> ms = { "messages": [ {"name":"hoge","content":"foo"}]} | |
>>> ms | |
{'messages': [{'content': 'foo', 'name': 'hoge'}]} | |
>>> print mytemplate.render(**ms) | |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1 //EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> | |
<html> | |
<head> | |
<title>Sample HTML</title> |
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 | |
import urllib | |
import math | |
def p(str): | |
print(str) | |
def single_perception(): | |
try: | |
fi = urllib.urlopen("http://aoki2.si.gunma-u.ac.jp/R/lr.data") |
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
import wx | |
from twisted.internet import wxreactor | |
wxreactor.install() | |
from twisted.internet import reactor | |
from twisted.web import client | |
ID_EXIT = 101 | |
class MyFrame(wx.Frame): | |
TIMER_ID = 1 | |
def __init__(self, parent, ID, title): |
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
*** ./error.py.bak 2009-10-16 16:57:02.000000000 +0900 | |
--- ./error.py 2009-10-16 17:08:41.000000000 +0900 | |
*************** | |
*** 44,49 **** | |
--- 44,56 ---- | |
+ class Unauthorized(Error): | |
+ """A request that resulted in a 401 error.""" |
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 | |
from twisted.internet import reactor | |
from twisted.web import client | |
import urllib2 | |
def printPage(data): | |
print data | |
reactor.stop() | |
def printError(failure): |
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
/** | |
* 猫化ブックマークレット | |
* | |
* 使用方法は、変換を適用させたいページをブラウザに表示させてから | |
* アドレス欄に | |
* javascript:(function(){var u="http://ブックマークレット設置箇所";var d=docume | |
nt;var s=d.createElement('script');s.charset="UTF-8";s.src=u;d.body.appendChild( | |
s);})() | |
* と入力します。 | |
*/ |
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
総評 | |
間違いなく神。 | |
まず操作性が同じとこが出してるタユタマより大分まともで安定している。 | |
設定やストーリーも綿密に練られてる(という事は体験版でもわかるんだけど、序盤から実は相当な伏線しいてることに最後になってびっくりさせられた。厨二病すら伏線だなんて)。 | |
中の人の演技もすごい。主人公とか無茶苦茶大変だろこれ。トゥットゥルー♪なまゆしぃ☆とか最早病的に口癖になるし。あと最初なんとなく田村ゆかりはフェイリスの方がいいんじゃないかとか思ったけど、すいません途中プレイして行ったらこの役柄しかあり得ないと思った。D.C.のさくらといいひぐらしのアレといい、一見普通に見えて実は多くを見渡してる系のキャラに強いですよね。鈴羽が6章にちょこっと出て退場かと思ったらTrueで外見少し変えて再登場したときには燃えたなぁ。(D.C.IIのD.C.シナリオのさくらと言えばいいか)。それ以上に主人公がすごすぎるんだけど。 | |
結構えぐい描写があってこれ本当に15禁かと疑いたくなる場面はあるんだけどw 血は飛ぶしまゆしぃ死にまくるし病んでる描写(失敗した)とかもあるんでその辺がきつい人には無理。尤もそれより先のわからない展開の方が怖かったけど。先を知るのが怖いと言うか。 |
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 -*- | |
# RPN | |
# 1 2 _ 3 _ 4 _ 5 _ 6 _ 7 _ 8 _ 9 _ | |
c = [i for i in range(1,3)] | |
def select(cc, n): | |
#print cc | |
c1 = cc |
OlderNewer