2018-12-06 go优秀博文 延迟调式 https://medium.com/observability/debugging-latency-in-go-1-11-9f97a7910d68 阅读全文…
2018-09-28 酷站收藏 前端表严肃 http://biaoyansu.com/e10 php 源 https://mirrors.tuna.tsinghua.edu.cn/remi/ mac ntfs 挂载 https://www.cnblogs.com/MDK-L/p/4531778.html http 流量拷贝 https://github.com/buger/goreplay golang 三种设计... 阅读全文…
2018-09-06 微服务 网站https://micro.mu/blog/https://wuyin.io/2018/05/10/microservices-part-1-introduction-and-consignment-service/ 阅读全文…
2018-09-06 常用命令和工具 网站iptraf-ng git 拉取所有远程分支git branch -r | grep -v '\->' | while read remote; do git branch --track "${remote#origin/}" "$remote"; donegit fetch --allgit pul... 阅读全文…
2018-08-16 ununtu常用 # 已安装软件文件展开 dpkg -L kubelet 添加源 apt-get update && apt-get install -y apt-transport-httpscurl https://mirrors.aliyun.com/kubernetes/apt/doc/apt-key.gpg | apt-key add - cat <<EOF &... 阅读全文…
2018-07-12 python中的类和object In [1]: i = 1In [2]: s = '字符'In [3]: alist=['1',1]In [4]: adict={'one':1}In [5]: aset={1,2}In [6]: type(i)Out[6]: intIn [7]: type(s)Out[7]: strIn [8]: type(alist)Out[8]: listIn ... 阅读全文…
2018-07-11 linux_tips tar + ssh传输文件(引用)[https://serverfault.com/questions/326490/running-multiple-scp-threads-simultaneously] I would do it like this:tar -cf - /manyfiles | ssh dest.server 'tar -xf - -C /manyfiles... 阅读全文…
2018-06-29 tomcat多实例 用户useradd -s /sbin/nologin tomcat 安装jdk设置JAVA_HOME等环境变量 sed -i 's#securerandom.source=file:/dev/random#securerandom.source=file:/dev/./urandom#g' "$JAVA_HOME/jre/lib/security/java.sec... 阅读全文…