摘要: 1. use database 2. use redis 3. inport/export excel2007 version+ 4. how to debug 5. how to deploy 6. pylint rules 参见 http://pylint-messages.wikidot.co 阅读全文
posted @ 2017-05-12 06:48 开心星 阅读(693) 评论(0) 推荐(0) 编辑
摘要: 3. 在Centos7的docker里装好了httpd,运行报错: 真无语啊,必须提权才可以: 2. 解决办法: 1. 解决办法: 像centos这类衍生出来的发行版,他们的源有时候内容更新的比较滞后,或者说有时候一些扩展的源根本就没有。 所以在使用yum来search python-pip的时候, 阅读全文
posted @ 2017-05-04 18:00 开心星 阅读(289) 评论(0) 推荐(0) 编辑
摘要: 1. Python-RSA使用手册 英文文档见Python-RSA使用手册,主要介绍了Python-RSA的消息的加密解密、文件的加密解密以及签名的方法。 Installation 使用pip install rsa安装Python-RSA模块 Generating keys Encryption 阅读全文
posted @ 2017-04-24 14:39 开心星 阅读(472) 评论(0) 推荐(0) 编辑
摘要: 1. you should have a /etc/protocols file. It must have been deleted somehow. It comes from the netbase package. apt install -y netbase 2. keystone tok 阅读全文
posted @ 2017-04-01 11:41 开心星 阅读(2280) 评论(0) 推荐(1) 编辑
摘要: 1. alembic [--config */alembic.ini ] current 2. alembic revision -m "add columns" 编辑生产的模板文件,更新upgrade/downgrade 如何编辑见后文。 3. alembic upgrade head[or ve 阅读全文
posted @ 2017-02-08 09:27 开心星 阅读(974) 评论(0) 推荐(0) 编辑
摘要: $ sed -i "s/devicedemo/device/g" `grep devicedemo -rl ./` sed: 1: ".//.coveragerc": invalid command code . $ sed -i " " 's/devicedemo/device/g' `grep 阅读全文
posted @ 2017-01-18 16:50 开心星 阅读(820) 评论(0) 推荐(0) 编辑
摘要: 1. 问题一 解决办法: 未知 阅读全文
posted @ 2017-01-12 15:20 开心星 阅读(1082) 评论(0) 推荐(0) 编辑
摘要: RESTful API REST的全称是Representational State Transfer(表征状态转移), 是Roy Fielding在他的博士论文Architectural Styles and the Design of Network-based Software Archite 阅读全文
posted @ 2017-01-11 16:18 开心星 阅读(1223) 评论(0) 推荐(0) 编辑
摘要: 方法一: 1)apt-get update 2)apt-get -y install python-pip 方法二: 1)curl "https://bootstrap.pypa.io/get-pip.py" -o "get-pip.py" 2)python get-pip.py 需要root权限 阅读全文
posted @ 2016-01-22 15:23 开心星 阅读(297) 评论(0) 推荐(0) 编辑
摘要: 1、微信 网页授权 redirect_uri 参数错误解决办法:1)登陆微信号 公众平台 2) 3)确认这个URL为实际使用的URL。注:微信公众平台接口调试工具 阅读全文
posted @ 2015-12-28 18:50 开心星 阅读(186) 评论(0) 推荐(0) 编辑