摘要: http://blog.csdn.net/shellching/article/details/8292338 所有SSD配置的最近生效费率查询 select * from billing_rates_tbl as tt wheresub_res_id like "%ssd::%"and res_t 阅读全文
posted @ 2017-08-31 14:43 peterpanzsy 阅读(749) 评论(0) 推荐(0) 编辑
摘要: #先查看当前状态 mysql> show variables like 'general%'; + + + | Variable_name | Value | + + + | general_log | OFF | | general_log_file | /data/mysql/data/loca 阅读全文
posted @ 2017-08-16 13:49 peterpanzsy 阅读(215) 评论(0) 推荐(1) 编辑
摘要: fastjson解析报错,兼容java8的time包:需要升级fastjson版本到1.2.9 https://www.oschina.net/question/129411_142776 java 编译语言版本问题: 1,Project Structure里确认两个地方:Project sdk以及 阅读全文
posted @ 2017-07-25 16:57 peterpanzsy 阅读(138) 评论(0) 推荐(0) 编辑
摘要: 方法上的装饰器: https://eastlakeside.gitbooks.io/interpy-zh/content/decorators/deco_class.html# 装饰器给类扩充功能 http://python3-cookbook.readthedocs.io/zh_CN/latest 阅读全文
posted @ 2017-05-27 17:05 peterpanzsy 阅读(167) 评论(0) 推荐(0) 编辑
摘要: http://www.cnblogs.com/snandy/archive/2012/11/13/2765381.html 用自带的 sudo apachectl -v sudo apachectl start sudo apachectl stop sudo apachectl restart w 阅读全文
posted @ 2017-05-08 15:20 peterpanzsy 阅读(208) 评论(0) 推荐(0) 编辑
摘要: http://www.jianshu.com/p/51811fa24752 brew install python3 安装路径:/usr/local/Cellar 使用: 执行python3即可 配置到pycharm: https://segmentfault.com/q/1010000008505 阅读全文
posted @ 2017-05-06 15:56 peterpanzsy 阅读(1079) 评论(0) 推荐(0) 编辑
摘要: 官网: http://nginx.org/en/docs/beginners_guide.html#conf_structure 配置: http://blog.csdn.net/physicsdandan/article/details/45667357 常用命令: 阅读全文
posted @ 2017-03-09 15:36 peterpanzsy 阅读(154) 评论(0) 推荐(0) 编辑
摘要: 新建用户加sudo权限: You need run visudo and in the editor that it opens write: 阅读全文
posted @ 2017-03-09 15:18 peterpanzsy 阅读(109) 评论(0) 推荐(0) 编辑
摘要: https://taizilongxu.gitbooks.io/stackoverflow-about-python/content/16/README.html 1、也就是如果传可变对象,就是引用传递,比如列表 字典等;如果传不可变对象,字符串这种就是值传递; 2、引用传递进去如果直接令引用=一个 阅读全文
posted @ 2016-09-20 10:34 peterpanzsy 阅读(242) 评论(0) 推荐(0) 编辑
摘要: https://linuxtoy.org/archives/bash-shortcuts.html 编辑命令 Ctrl + a :移到命令行首 Ctrl + e :移到命令行尾 Ctrl + f :按字符前移(右向) Ctrl + b :按字符后移(左向) Alt + f :按单词前移(右向) Al 阅读全文
posted @ 2016-09-07 10:41 peterpanzsy 阅读(180) 评论(0) 推荐(0) 编辑