- 博客(6)
- 收藏
- 关注
原创 python book recommend: effective python
free to download https://github.com/robertzhai/ebooks/tree/master/server
2016-09-18 11:25:45 448
原创 flask wtf 表单校验总结
代码和文档见 https://github.com/robertzhai/python/tree/master/flask_coupon1. wtf 文档 http://docs.jinkan.org/docs/flask-wtf/2.使用 方法如下class CouponForm(Form): pid = StringField('pid', val
2016-09-14 14:54:41 2768
原创 tornado 异步模型学习和压测总结
压测工具、文档、代码请参考 https://github.com/robertzhai/python/tree/master/tornado-basic1.异步下载天气信息,@tornado.web.asynchonous装饰器#rate_async.pyclass IndexHandler(tornado.web.RequestHandler): @tornado.w
2016-09-13 17:52:33 1195
原创 mac 安装和配置 hhvm和nginx 总结
1. 前端nginx讲请求转发给后端的以fastcgi模式运行的hhvm2.hhvm installbrew tap hhvmbrew install hhvm3.nginx.conf server { listen 8098; server_name localhost; root /wwwroo
2016-09-09 07:23:47 1859
原创 supervisord 的使用
配置了一个机器学习模型的服务,用的nginx+gunicorn + python + supervisord里面关键的配置:supervisor.conf ==============[unix_http_server]file=/tmp/supervisor.sock ; (the path to the socket file)[ine
2016-09-06 16:55:08 295
原创 git clone error setting certificate verify locations
git clone https://github.com/google/protobuf.git 直接报错,修改成下面的即可。env GIT_SSL_NO_VERIFY=true git clone https://github.com/google/protobuf.git
2016-09-06 16:14:57 968
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人