上一页 1 2 3 4 5 6 7 ··· 14 下一页
摘要: #!/usr/bin/python3.8 # -*- coding:UTF-8 -*- import os, sys sys.path.append(os.path.dirname(os.path.abspath(__file__))) import time, json import reques 阅读全文
posted @ 2022-04-08 13:36 風£飛 阅读(468) 评论(0) 推荐(0) 编辑
摘要: # !/usr//bin/python3 # -*- coding:UTF-8 -*- from telnetlib import Telnet import time, os, datetime, json import logging class TelnetClient(): def __in 阅读全文
posted @ 2022-04-07 10:38 風£飛 阅读(206) 评论(0) 推荐(0) 编辑
摘要: 脚本(使用python自带的email模块) #!/usr/bin/python3 # -*- coding:utf-8 -*- import smtplib, os from email.mime.text import MIMEText from email.mime.multipart imp 阅读全文
posted @ 2022-03-22 17:40 風£飛 阅读(36) 评论(0) 推荐(0) 编辑
摘要: 1、jenkins安装gitlab插件 2、启动gitlab容器 docker run -itd -v /opt/gitlab/etc:/etc/gitlab -v /opt/gitlab/log:/var/log/gitlab -v /opt/gitlab/opt:/var/opt/gitlab 阅读全文
posted @ 2022-03-15 16:23 風£飛 阅读(169) 评论(0) 推荐(0) 编辑
摘要: /** * 导出 excel */ /* eslint-disable */ let idTmr; const getExplorer = () => { let explorer = window.navigator.userAgent; //ie if (explorer.indexOf("MS 阅读全文
posted @ 2022-03-10 11:40 風£飛 阅读(102) 评论(0) 推荐(0) 编辑
摘要: 1、新建Item,输入名称后选择Freestyle project后点击确定 2、配置项目,自定义工作目录 3、配置源码管理和要摘取的分支 4、构建触发器选择github触发 5、构建选择执行windows命令,之后点击保存 #--disable-gpu,跳过语言设置,如不加此选项构建时会卡在语言设 阅读全文
posted @ 2022-03-09 16:46 風£飛 阅读(319) 评论(0) 推荐(0) 编辑
摘要: 1、图片转base64 # !/usr/local/python3.8/bin/python3 # -*- coding:UTF-8 -*- import os import base64 # 图片文件夹是/root/images log_d = '/root/images' logFiles = 阅读全文
posted @ 2022-01-27 11:12 風£飛 阅读(172) 评论(0) 推荐(0) 编辑
摘要: import os, sys # 获取当前脚本所在路径 scriptRunPath = os.path.abspath(__file__) print(scriptRunPath) # 获取当前脚本的上级目录 dirScriptRunPath = os.path.dirname(os.path.di 阅读全文
posted @ 2022-01-17 14:47 風£飛 阅读(218) 评论(0) 推荐(0) 编辑
摘要: 一、安装依赖包 pip3 install xlrd # 读excel文档库,不支持.xlsx格式pip3 install openpyxl # excel文档库,支持.xlsx格式pip install docx-mailmerge # world文档库 pip3 install pymysqlap 阅读全文
posted @ 2021-12-14 17:06 風£飛 阅读(151) 评论(0) 推荐(0) 编辑
摘要: 一、安装nginx服务依赖root@nginx:~# apt-get updateroot@nginx:~# apt install -y build-essential #安装gccroot@nginx:~# apt install -y libpcre3 libpcre3-devroot@ngi 阅读全文
posted @ 2021-12-08 11:26 風£飛 阅读(483) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 ··· 14 下一页