翻译校对1

摘要: 我的第一篇翻译校对。 原文:https://spring.io/guides/tutorials/bookmarks/ 译文:https://github.com/silentbalanceyh/spring-guides-translation/blob/28bcac9bfe0bef38c228a 阅读全文
posted @ 2017-10-20 00:14 cleverlzc 阅读(160) 评论(0) 推荐(0) 编辑

pykube-pod.obj的json字符串解析

摘要: k8s的pod的字符串(https://github.com/kelproject/pykube)很奇怪,用下面这个json解析工具可以解析出来。 http://json.parser.online.fr/ 阅读全文
posted @ 2017-07-18 15:46 cleverlzc 阅读(167) 评论(0) 推荐(0) 编辑

第一版k8s

摘要: CentOS7.2中使用Kubernetes(k8s)1.4.6源码搭建k8s容器集群环境 阅读全文
posted @ 2017-07-18 10:40 cleverlzc 阅读(104) 评论(0) 推荐(0) 编辑

the server does not allow access to the requested resource

摘要: 执行kubectl报错: Error from server: the server does not allow access to the requested resource 去掉代理!去掉代理!去掉代理! unset http_proxy; unset https_proxy; 阅读全文
posted @ 2017-07-11 20:22 cleverlzc 阅读(340) 评论(0) 推荐(0) 编辑

have fun of Docker

摘要: 2017.7.2 at sz's home Docker简明教程 dockers 4 steps: 1. pull; 2. run; 3. do yourself, have fun; 4. commit/push 开发者的利器:Docker 理解与使用 我把我觉得还不错的资源拿出来吧!首先 Doc 阅读全文
posted @ 2017-07-02 21:52 cleverlzc 阅读(142) 评论(0) 推荐(0) 编辑

Clean Development Series

摘要: http://www.geekyboy.com/archives/459 Clean Development Series: Part 1, Dirty Code (cause/effect) Clean Development Series: Part 2, Dirty Code (why we 阅读全文
posted @ 2017-06-24 17:52 cleverlzc 阅读(96) 评论(0) 推荐(0) 编辑

Understanding the GitHub Flow官方的是最好的,永远要看第一手资料

摘要: On GitHub, saved changes are called commits. Understanding the GitHub Flow When you're working on a project, you're going to have a bunch of different 阅读全文
posted @ 2017-06-10 15:06 cleverlzc 阅读(153) 评论(0) 推荐(0) 编辑

linux将某目录下所有文件名写到一个文件里

摘要: linux下如何将当前目录的文件名存到一个文本文件里 Linux命令行参数数目是有限的,执行ls *.gz时,当通配符展开后,ls命令的参数列表超长了,导致运行出错。 如果只是想得到当前目录下(不包括子目录)的相关文件时,可以这样: 1 ls -1 | grep ".gz$" > 1.txt ls  阅读全文
posted @ 2017-05-22 16:29 cleverlzc 阅读(3633) 评论(0) 推荐(0) 编辑

git reset --hard xxx_gitTag遇到的一些问题解决方法

摘要: GIT: /.git/index.lock': File exists fatal: Unable to create '/.git/index.lock': File exists 解决方法: Try In your repository directory. Unlink of file fai 阅读全文
posted @ 2017-05-17 09:58 cleverlzc 阅读(2232) 评论(0) 推荐(0) 编辑

抽象原则和设计模式好的博客汇集

摘要: 浅谈Java五大设计原则之观察者模式 这篇博客写的实在是太好了,一万个赞,从观察者模式(淋漓尽致的体现了依赖倒置原则和里氏代换原则)到发布-订阅模式。注意:模式与原则的关系。 设计模式所遵循的原则及模式之间的关系 依赖倒置原则:面向接口编程,依赖于抽象而不依赖于具体。里氏代换原则:任何基类可以出现的 阅读全文
posted @ 2017-05-04 09:25 cleverlzc 阅读(101) 评论(0) 推荐(0) 编辑