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 Application(tornado.web.Application): | |
def __init__(self): | |
handlers = [(r"/", BaseHandler), | |
(r"/scheduler", SchedulerHandler)] | |
settings = dict() | |
super(Application, self).__init__(handlers, **settings) | |
class BaseHandler(tornado.web.RequestHandler): | |
def get(self): | |
self.write("Hello, world!") |
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
<input type="file" name="cover"> | |
<img id="cover_preview" src=""> | |
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
<gcse:searchresults-only gname="results"></gcse:searchresults-only> |
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
{ | |
"type": <image|audio|video|file|template>, | |
"payload": <PAYLOAD> | |
} |
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
{ | |
"get_started": { | |
"payload":"<GET_STARTED_PAYLOAD>" | |
}, | |
"greeting": [ | |
{ | |
"locale": "default", | |
"text": "Hello!" | |
}, | |
{ |