03 2019 档案

摘要:# 更改apt源 cat > /etc/apt/sources.list <<'END' #阿里云 deb http://mirrors.aliyun.com/ubuntu/ trusty main restricted universe multiverse deb http://mirrors.aliyun.com/ubuntu/ trusty-security main restric... 阅读全文
posted @ 2019-03-29 11:42 chenzechao 阅读(1462) 评论(0) 推荐(0) 编辑
摘要:项目中多个实例,而每个实例均启动一个程序,本脚本将多个程序统一进行监控,并支持文件配置 PS. 发现zless实际是由less和zgrep组成 阅读全文
posted @ 2019-03-22 11:10 chenzechao 阅读(1407) 评论(0) 推荐(0) 编辑
摘要:select t3.day_time ,t3.cnt ,t3.rn1 ,t3.rn2 ,t3.diff ,row_number() over(partition by t3.diff order by t3.day_time) as rn from ( select t2.day_time ,t2.c... 阅读全文
posted @ 2019-03-19 10:06 chenzechao 阅读(259) 评论(0) 推荐(0) 编辑
摘要:思路,计算总长,接着删除指定字符串,再计算长度,两者相减,除以指定字符串的长度 阅读全文
posted @ 2019-03-13 17:25 chenzechao 阅读(7631) 评论(0) 推荐(1) 编辑

点击右上角即可分享
微信分享提示