如果不要求轨迹回传,可以只新增一个接口。
配送状态节点(粗颗粒度):
PENDING = 1 // 等待取货
DELIVERING = 5 // 已取货、配送中
ARRIVED = 10 // 已送达
CANCELED = 99 // 已取消
"Word case converters (\%V runs substitute on visual selections). --- {{{ | |
"Convert selected text to snake_case style: | |
"firstly lower the first letter, then make each upper letter lower | |
"and insert a underscore in front of that. | |
command! -range ToSnake :s/\%V\<./\l&/e | s/\%V\u/_\l&/e | |
"Convert selected text to camelCase style: | |
"Find the underscores and upper the following letter, also removing the underscore. | |
"Then make sure the first letter is in lower case. | |
command! -range ToCamel :s/\%V_\([^_]\)/\u\1/e | s/\%V\<./\l&/e |
如果不要求轨迹回传,可以只新增一个接口。
配送状态节点(粗颗粒度):
PENDING = 1 // 等待取货
DELIVERING = 5 // 已取货、配送中
ARRIVED = 10 // 已送达
CANCELED = 99 // 已取消
#!/bin/sh | |
# Script to compile nginx on ubuntu with lua support. | |
NGX_VERSION='1.6.2' | |
LUAJIT_VERSION='2.0.3' | |
LUAJIT_MAJOR_VERSION='2.0' | |
NGX_DEVEL_KIT_VERSION='0.2.19' | |
LUA_NGINX_MODULE_VERSION='0.9.15' | |
# coding: utf-8 | |
from flask import Flask | |
from werkzeug.wsgi import pop_path_info, peek_path_info | |
from werkzeug.serving import run_simple | |
app = Flask(__name__) | |
class PathDispatcher(object): |
If you haven't already set your NPM author info, now you should:
npm set init.author.name "Your Name"
npm set init.author.email "[email protected]"
npm set init.author.url "http://yourblog.com"
npm adduser
import sys | |
from PySide.QtCore import QObject, Slot | |
from PySide.QtGui import QApplication | |
from PySide.QtWebKit import QWebView | |
html = """ | |
<html> | |
<body> | |
<h1>Hello!</h1><br> |
/) | |
/ ) | |
/ ) | |
/ ) | |
/ | |
/ Quill | |
/ ~ ~ ~ |
/) | |
/ ) | |
(\ / ) | |
( \ / ) | |
( \/ / ) | |
(@) ) | |
/ \_ \ | |
// \\\ | |
(( \\ | |
~ ~ ~ \ |
- Install xhtml2pdf (former "pisa"). | |
http://www.xhtml2pdf.com/ | |
- Install Takao Font (TakaoPGothic.ttf). | |
https://launchpad.net/takao-fonts/ | |
- Modify conf.py as below. | |
- Modify Makefile as below. |