06 2015 档案

How to use wget ?
摘要:1.How to get conent (not download page) of website?wget -q -O - 阅读全文

posted @ 2015-06-15 17:33 Newbie wang 阅读(139) 评论(0) 推荐(0)

How to only capute sub-matched character by grep
摘要:File content: ceph-0.80.9-82.1.x86_64.rpm 11-Jun-2015 16:37 9.9M Details ceph-common-0.80.9-82.1.x86_64.rpm 11-Jun-2015 16:37 3.9M Details ceph-common... 阅读全文

posted @ 2015-06-15 17:29 Newbie wang 阅读(191) 评论(0) 推荐(0)

How to inspect who is caller of func and who is the class of instance
摘要:1. Who is the class of self instance ?class aa(object): def a(self): if self.__class__.__name__ == 'aa': print "aa, a func()" ... 阅读全文

posted @ 2015-06-15 16:51 Newbie wang 阅读(183) 评论(0) 推荐(0)

How to use groovy script on jenkins
摘要:1. Install groovy plugin2. Add a step of groovy. (normal & systerm)3. Execute groovy scriptimport jenkins.model.*def q = Jenkins.instance.queueq.items... 阅读全文

posted @ 2015-06-11 14:49 Newbie wang 阅读(1548) 评论(0) 推荐(0)