| Author: | Rykka |
|---|---|
| Create: | 2012-05-14 |
| Update: | 2013-05-19 |
Always bear in mind that your own resolution to succeed is more important than any other.
—Abraham Lincoln
| {'view_args': {}, 'files': ImmutableMultiDict([]), 'cookies': {}, 'form': ImmutableMultiDict([]), 'stream': <cStringIO.StringO object at 0x7fd9e4af31f0>, '_parsed_content_type': ('', {}), 'shallow': False, 'url_rule': <Rule '/' (PUT, HEAD, POST, OPTIONS, GET) -> index>, 'environ': {'wsgi.multiprocess': False, 'SERVER_SOFTWARE': 'Werkzeug/0.9.6', 'SCRIPT_NAME': '', 'HTTP_TRANSFER_ENCODING': 'chunked', 'REQUEST_METHOD': 'POST', 'PATH_INFO': '/', 'SERVER_PROTOCOL': 'HTTP/1.1', 'QUERY_STRING': '', 'werkzeug.server.shutdown': <function shutdown_server at 0x7fd9e21b0aa0>, 'CONTENT_LENGTH': '', 'HTTP_USER_AGENT': 'curl/7.35.0', 'SERVER_NAME': '127.0.0.1', 'REMOTE_PORT': 59498, 'wsgi.url_scheme': 'http', 'SERVER_PORT': '5000', 'werkzeug.request': <Request 'http://127.0.0.1:5000/' [POST]>, 'wsgi.input': <socket._fileobject object at 0x7fd9e21aa150>, 'HTTP_HOST': '127.0.0.1:5000', 'wsgi.multithread': False, 'HTTP_EXPECT': '100-continue', 'HTTP_ACCEPT': '*/*', 'wsgi.version': (1, 0), 'wsgi.run_once': False, 'wsgi.errors |
| from flask import Flask, render_template, request | |
| # from flask.ext.socketio import SocketIO, emit | |
| import os | |
| import rstdoc | |
| app = Flask(__name__) | |
| app.config['SECRET_KEY'] = 'secret!' | |
| app.debug = True |
| fun! s:convert(options) "{{{ | |
| ... | |
| let exe = 'rst2'.ft.'2.py' | |
| echoe exe | |
| ... | |
| echoe exe | |
| call s:sys( exe." ". style ." ". args ." " | |
| \.shellescape(input) |
| $dynamic_table.handsontable | |
| startRows: 15 | |
| startCols: items_len | |
| minSpareRows: 1 | |
| colHeaders: $.cs_data.cs_items_name | |
| data: load_item() | |
| columns: item_col_settings | |
| afterChange: (changes, source)-> | |
| if changes != null | |
| row = changes[0][0] |
| www.163.com | |
| www.acfun.tv | |
| www.bilibili.com | |
| www.dapenti.com | |
| www.douban.com | |
| www.qq.com | |
| www.qzone.com | |
| www.sina.com | |
| www.sohu.com | |
| www.zhihu.com |
| OpenSSH_5.9p1 Debian-5ubuntu1, OpenSSL 1.0.1 14 Mar 2012 | |
| debug1: Reading configuration data /etc/ssh/ssh_config | |
| debug1: /etc/ssh/ssh_config line 19: Applying options for * | |
| debug2: ssh_connect: needpriv 0 | |
| debug1: Connecting to lesscolor.com [198.98.119.171] port 22. | |
| debug1: Connection established. | |
| debug3: Incorrect RSA1 identifier | |
| debug3: Could not load "/home/ryk/.ssh/id_rsa" as a RSA1 public key | |
| debug1: identity file /home/ryk/.ssh/id_rsa type 1 | |
| debug1: Checking blacklist file /usr/share/ssh/blacklist.RSA-2048 |
| .carousel .item { | |
| -webkit-transition: .7s ease-in-out opacity; | |
| -moz-transition: .7s ease-in-out opacity; | |
| -ms-transition: .7s ease-in-out opacity; | |
| -o-transition: .7s ease-in-out opacity; | |
| transition: .7s ease-in-out opacity; | |
| left: 0 !important; | |
| } |
| [ | |
| // cursor movement | |
| { "keys": ["alt+h"], "command": "move", "args": {"by": "characters", "forward": false} }, | |
| { "keys": ["alt+l"], "command": "move", "args": {"by": "characters", "forward": true} }, | |
| { "keys": ["alt+k"], "command": "move", "args": {"by": "lines", "forward": false} }, | |
| { "keys": ["alt+j"], "command": "move", "args": {"by": "lines", "forward": true} }, | |
| { "keys": ["alt+w"], "command": "left_delete" }, | |
| // selection | |
| { "keys": ["ctrl+l"], "command": "expand_selection", "args": {"to": "line"} }, |
| a = '' if b else 2 | |
| print(a) |