摘要: 这个问题是当时想当然了 看到python BooleanField(default=False) 便认为 对应 mysql的bit 出现问题 mysql实际字段存储值为0,但 peewee orm 后的结果却是 True. 查官方文档 http://peewee.readthedocs.io/en/ 阅读全文
posted @ 2018-01-25 12:55 cclient 阅读(1316) 评论(0) 推荐(0)
摘要: 原设置 异常 ERROR logstash.pipeline - Error registering plugin {:plugin=>"#<LogStash::OutputDelegator:0x7f6968f0 @namespaced_metric=#<LogStash::Instrument: 阅读全文
posted @ 2018-01-25 12:54 cclient 阅读(1015) 评论(0) 推荐(0)
摘要: 查看硬盘占用大户是/var/lib/docker/vfs/dir 直觉是images文件,历史原因累积了大量的image docker rmi 清除掉不用的image文件 可用空间有提升但提升不大 /var/lib/docker/vfs/dir的大小完全没有变化 https://docs.docke 阅读全文
posted @ 2018-01-25 12:51 cclient 阅读(1473) 评论(0) 推荐(0)
摘要: 工作环境mac osx 浏览器 chrome:63.0.3239.132 (Official Build) (64-bit)firefox: 57.0.4 (64 位)safari:Version 11.0.1 (13604.3.5) 堡垒机的部分设置,需在单独的web后台,该后台依赖java,和之 阅读全文
posted @ 2018-01-25 12:50 cclient 阅读(1349) 评论(0) 推荐(0)
摘要: { "query": { "bool" : { "filter" : { "script" : { "script" : { "inline": "params._source.text_content==''" , ... 阅读全文
posted @ 2018-01-25 12:49 cclient 阅读(3334) 评论(0) 推荐(1)