摘要: basename: 去掉路径和扩展名 /bin/basename coreutils-8.4-9.el6.x86_64 basename命令用于去掉路径信息,返回纯粹的文件名,如果指定的文件的扩展名,则将扩展名也一并去掉。 getopt & getopts getopt util-linux-2.2 阅读全文
posted @ 2017-02-28 17:15 doscho 阅读(859) 评论(0) 推荐(0) 编辑
摘要: 基本介绍: Guacamole 是一个基于 HTML 5 和 JavaScript 的 VNC 查看器,服务端基于 Java 的 VNC-to-XML 代理开发。要求浏览器支持HTML5。 Apache Guacamole is a clientless remote desktop gateway 阅读全文
posted @ 2017-02-21 19:48 doscho 阅读(7263) 评论(0) 推荐(0) 编辑
摘要: gitlab-repo 指在 gitlab 上的代码库, gerrit-repo 指在 gerrit 上的代码库: 从 gitlab-repo 上获取代码 本地修改, 提交 push 到 gerrit-repo 上 其他人进行 codereview 审核完成后, gerrit 自动将代码 merge 阅读全文
posted @ 2017-01-22 18:34 doscho 阅读(512) 评论(0) 推荐(0) 编辑
摘要: http://www.360doc.com/content/14/1110/11/15077656_424004081.shtml 安装 pylinter 插件 详见 sublime 插件安装 配置 安装 sublimeLinter 插件 配置 使用: 利用sublime 打开python,ctrl 阅读全文
posted @ 2017-01-22 15:13 doscho 阅读(6490) 评论(0) 推荐(0) 编辑
摘要: 1. 下载相关的 Python for Windows Extensions 相关版本,并安装。 https://sourceforge.net/projects/pywin32/files/pywin32/Build%20214/ 2. 设置 VS90COMNTOOLS 环境变量 参考: http 阅读全文
posted @ 2017-01-22 14:09 doscho 阅读(2083) 评论(0) 推荐(0) 编辑
摘要: 1.进入系统配置页面配置邮件发送的SMTP 2. 进入项目配置页面,配置邮件通知:(每次不稳定构建时会邮件通知) 阅读全文
posted @ 2017-01-20 18:30 doscho 阅读(302) 评论(0) 推荐(0) 编辑
摘要: 在jenkins中无法打开源码问题: 1. 在 Report Violations的 Source encoding 设置为 项目文件的编码, 如: utf-8. 缺省是 default。 2. 在 jenkins的shell中支持 pylint时,添加 --msg-template="{path} 阅读全文
posted @ 2017-01-20 18:06 doscho 阅读(1096) 评论(0) 推荐(0) 编辑
摘要: 利用pylint 检测 python源码。 Pylint 提供了简单的方式来分析 Python 代码,其高可配置性很容易使一个部门的人员使用统一的代码风格。 Pylint 是什么 Pylint 是一个 Python 代码分析工具,它分析 Python 代码中的错误,查找不符合代码风格标准(Pylin 阅读全文
posted @ 2017-01-20 17:04 doscho 阅读(3607) 评论(0) 推荐(0) 编辑
摘要: dracut 维基 https://dracut.wiki.kernel.org/index.php/Main_Page http://www.360doc.com/content/13/0428/09/12139495_281449877.shtml dracut 官方手册 https://www 阅读全文
posted @ 2017-01-10 14:34 doscho 阅读(57937) 评论(0) 推荐(0) 编辑
摘要: 通过不同的设置api 版本环境变量,支持的命令行不同。 Interacting with etcd: https://coreos.com/etcd/docs/latest/dev-guide/interacting_v3.html 1. 未设置 ETCDCTL_API 时,支持的命令 缺省使用 E 阅读全文
posted @ 2017-01-05 15:31 doscho 阅读(16967) 评论(0) 推荐(0) 编辑