摘要: 问题: 今天遇到Shell中如何能获取Maven项目工程中的project.version信息的问题 解决方案: 使用Maven的Exec 插件 阅读全文
posted @ 2016-09-02 11:07 卜海清 阅读(6904) 评论(0) 推荐(0) 编辑
摘要: this.document.querySelectorAll('div[id*="dayselector"][class*="x-autocontainer-innerCt"] a') 表示选取div里id属性包含dayselector,且Class属性包含x-autocontainer-inner 阅读全文
posted @ 2016-07-11 17:26 卜海清 阅读(210) 评论(0) 推荐(0) 编辑
摘要: 在之前的博文里曾使用GMaven插件编译Groovy/Spock,这次使用GMavenplus插件,更加方便。 具体步骤 1. 导入Spock和Groovy依赖 2.配置GMavenPlus <plugin> <groupId>org.codehaus.gmavenplus</groupId> <a 阅读全文
posted @ 2016-05-21 19:12 卜海清 阅读(660) 评论(0) 推荐(0) 编辑
摘要: link: http://www.donaldsimpson.co.uk/2013/03/18/jenkins-slave-nodes-using-the-swarm-plugin/ I’ve been trying out a new (to me at least) way to add a J 阅读全文
posted @ 2016-05-11 10:34 卜海清 阅读(1327) 评论(0) 推荐(0) 编辑
摘要: 使用npm 包nestor 触发jenkins job, 达到命令行管理Jenkins功能。 1. install nestor : npm install -g nestor 2. set JENKINS_URL: (*nix) (Windows) 3. run your job -- for e 阅读全文
posted @ 2016-05-11 10:04 卜海清 阅读(405) 评论(0) 推荐(0) 编辑
摘要: CoffeeScript 1.9 开始提供了类似ES6的yield关键字。 自己结合co和bluebird做了个试验。 co -- http://npmjs.org/package/co -- for generator bluebird -- https://www.npmjs.com/packa 阅读全文
posted @ 2016-04-13 06:16 卜海清 阅读(416) 评论(0) 推荐(0) 编辑
摘要: // First, checks if it isn't implemented yet. if (!String.prototype.format) { String.prototype.format = function() { var args = arguments; return this 阅读全文
posted @ 2016-03-11 11:06 卜海清 阅读(213) 评论(0) 推荐(0) 编辑
摘要: CoffeeScript 是一门编译到 JavaScript 的小巧语言. 在 Java 般笨拙的外表下, JavaScript 其实有着一颗华丽的心脏. CoffeeScript 尝试用简洁的方式展示 JavaScript 优秀的部分. CoffeeScript 的指导原则是: "她仅仅是 Jav 阅读全文
posted @ 2016-02-28 17:34 卜海清 阅读(983) 评论(0) 推荐(0) 编辑
摘要: 第一阶段,标准化, 达到控制边际成本 第二阶段,自动化,平台化,达到节省人力成本 第三阶段,服务化,可视化,以期优化事前预警,事中监控恢复,事后存档。 阅读全文
posted @ 2016-01-20 09:55 卜海清 阅读(540) 评论(0) 推荐(0) 编辑
摘要: link:http://www.markhneedham.com/blog/2008/10/02/ruby-unzipping-a-file-using-rubyzip/require 'rubygems'require 'zip/zip' def unzip_file (file, destina... 阅读全文
posted @ 2016-01-03 11:34 卜海清 阅读(181) 评论(0) 推荐(0) 编辑