Held at Fuller, Inc. office.
sudo apt-get install golang
brew install go
$GOPATH/src/github.com/user/hello/内に hello.goを作って以下のコードを入れましょう。
| p { | |
| font-family: Lucida Grande; | |
| } | |
| pre { | |
| font-family: Source Han Code JP; | |
| } |
| #! /usr/bin/env python | |
| """This is an improved image_to_ansi.py. | |
| It's 7x faster than original version. | |
| WTFPL is preserved for saying thank you to original developer, Mr. Elliott. | |
| """ | |
| __author__ = 'Micah Elliott http://MicahElliott.com; Kevin Lange <[email protected]>; Takumi Sueda <[email protected]>' | |
| __version__ = '0.1' |
| <?xml version="1.0"?> | |
| <root> | |
| <appdef> | |
| <appname>ADOBE</appname> | |
| <prefix>com.adobe.</prefix> | |
| </appdef> | |
| <item> | |
| <name>Swap Control and Command (only in Adobe apps)</name> | |
| <identifier>private.swap_ctrl_and_cmd</identifier> | |
| <only>ADOBE</only> |
| .CodeMirror { | |
| font-family: "Source Han Code JP" !important; | |
| } |
| #notebook, .prompt input_prompt, .inner_cell { | |
| font-family: "Source Han Code JP" !important; | |
| } | |
| .prompt { | |
| font-family: "Source Han Code JP" !important; | |
| } | |
| .CodeMirror-code { | |
| font-family: "Source Han Code JP" !important; |
| .newWestWidget { | |
| display: none; | |
| } | |
| .newEastWidget { | |
| display: none; | |
| } |
| body { | |
| font-family: Consolas, Meiryo !important; | |
| } | |
| table#logoBar { | |
| display: none; | |
| } | |
| .subMenuTop { | |
| margin-top: 0px; |
| from flask import Flask | |
| from flask import request as req | |
| from manager import MapPlayerManager, GameMaster | |
| app = Flask(__name__) | |
| manager = MapPlayerManager() | |
| gm = GameMaster() | |
| @app.route('/') | |
| def index(): |
| span.emoji { | |
| width: 2em; | |
| height: 2em; | |
| vertical-align: middle; | |
| } | |
| span.emoji-sizer { | |
| width: 2em; | |
| height: 2em; | |
| vertical-align: middle; |