上一页 1 2 3 4 5 6 7 8 ··· 18 下一页
摘要: 使用xml文件和qcow2镜像创建虚拟机步骤: 1. 安装工具包libvirt: ubuntu: apt-get install libvirt-dev libvirt-daemon libvirt-clients qemu-system-x86 centos: yum install -y lib 阅读全文
posted @ 2022-04-30 16:11 i舒 阅读(1090) 评论(0) 推荐(0) 编辑
摘要: from distutils.core import setup from setuptools import find_packages setup(name="mytest", version="1.0.0", maintainer="sky", maintainer_email="sky@12 阅读全文
posted @ 2022-04-28 14:49 i舒 阅读(54) 评论(0) 推荐(0) 编辑
摘要: 第一步,明确和理解问题; 第二步,拆分和定位问题; 第三步,提出解决方案; 第四步,总结问题。 11个自检清单好习惯 1. 以始为终 即有目标 2. 完成比完美更重要 3. 计划先于行动 4. 多使用框架多总结框架 5.界定问题 6. 有困难就学习 解决问题是目标 7. 没有困难不要瞎学习 没有目标 阅读全文
posted @ 2022-04-26 22:25 i舒 阅读(1054) 评论(0) 推荐(0) 编辑
摘要: 安装: pip3 install python-jenkins lxml Beautifulsoup4 jenkins_server_url = 'http://192.168.24.191:8080/jenkins/' user_id = 'testuser' api_token = '7ca1a 阅读全文
posted @ 2022-04-26 14:08 i舒 阅读(194) 评论(0) 推荐(0) 编辑
摘要: import argparse parser = argparse.ArgumentParser(description='Process some integers.') parser.add_argument('integers', metavar='N', type=int, nargs='+ 阅读全文
posted @ 2022-04-25 20:10 i舒 阅读(20) 评论(0) 推荐(0) 编辑
摘要: 问题背景:hook 系统调用 在加载模块时error. 原因应该是内核4.X版本太高,内核代码有更改。降级系统后发现没有3.16 -generic 目录遇到这个错误,主要是没安装内核安装包(类似于kernel-devel的名字)但是这种情况下一般有两种情况:有安装内核开发包,但是因为各种各样的原因没 阅读全文
posted @ 2022-01-14 22:51 i舒 阅读(925) 评论(0) 推荐(0) 编辑
摘要: 字符串定义: https://blog.csdn.net/dora_310/article/details/52895835 闭包:https://blog.csdn.net/wshl1234567/article/details/108940427 阅读全文
posted @ 2021-09-25 09:19 i舒 阅读(38) 评论(0) 推荐(0) 编辑
摘要: declarative: pipeline { agent any pipeline { agent any stages { stage('Non-Parallel Stage') { steps { echo 'This stage will be executed first.' } } st 阅读全文
posted @ 2021-08-28 21:13 i舒 阅读(80) 评论(0) 推荐(0) 编辑
摘要: array_x = [1,2,3] map_x = ["a":1,"b":2] for (x in array) { println(x) } for(k,v in map_x) { println(k) } get 获取字典值: m = ["a":1, "b":2]println(m.get("c 阅读全文
posted @ 2021-08-28 21:04 i舒 阅读(34) 评论(0) 推荐(0) 编辑
摘要: script: node(){ docker.image(<镜像名>).inside(<参数>){} } declarative: pipeline { agent {label : } stages { stage() { script { docker.image(<镜像名>).inside(< 阅读全文
posted @ 2021-07-14 23:17 i舒 阅读(73) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 ··· 18 下一页