04 2019 档案

摘要:http 分析包分析 https 客户端跳过http认证 golang http请求server的https文件,出现错误 error: certificate signed by unknown authority, go的Client端默认要对服务端传过来的数字证书进行校验的,如果这个证书是由不 阅读全文
posted @ 2019-04-29 20:32 linengier 阅读(360) 评论(0) 推荐(0)
摘要:``` String recode_time = new java.text.SimpleDateFormat("yyyy-MM-dd HH:mm:ss").format(new java.util.Date(data.getTimestamp() * 1000)); System.out.printf("%s get %s disk metrics at %s \r\n", sourc... 阅读全文
posted @ 2019-04-28 15:17 linengier 阅读(116) 评论(0) 推荐(0)
摘要:1. go mod 添加本地package依赖 go mod 作为golang新的版本管理工具,减少了对GOPATH的依赖。 但是对本地文件的依赖的时候,提示 build server: cannot find module for path 处理步骤 1. 依赖的包生成模块 2. 工程文件中,go 阅读全文
posted @ 2019-04-13 21:17 linengier 阅读(353) 评论(0) 推荐(0)
摘要:1. 数据按照时间聚合操作 1.1 正常的数据结构 1.2 mongo命令行查询 按照记录的时间指标,按照1分钟的纬度,进行统计聚合。 In the db.collection.aggregate method and db.aggregate method, pipeline stages app 阅读全文
posted @ 2019-04-12 16:51 linengier 阅读(836) 评论(0) 推荐(0)