摘要: nc使用示例 端口扫描nc -v -w 2 192.168.2.34 -z 21-24nc: connect to 192.168.2.34 port 21 (tcp) failed: Connection refusedConnection to 192.168.2.34 22 port [tcp 阅读全文
posted @ 2019-09-21 17:51 i舒 阅读(605) 评论(0) 推荐(0) 编辑
摘要: Subject: title-testingFrom: ze.csm@xxx.comTo: ze.csm@xxx.comCc: ze.csm@xxx.comMIME-VERSION: 1.0Content-Type: multipart/mixed; boundary="GvXjxJ+pjyke8C 阅读全文
posted @ 2019-09-10 16:23 i舒 阅读(339) 评论(0) 推荐(0) 编辑
摘要: 使用如下方式可以停掉build job: crumb=`curl -X GET http://<ip>:8080/crumbIssuer/api/json --user jenkins:ABC@123|grep -Eo 'crumb":".*",' |grep -Eo ':".*?"' | awk 阅读全文
posted @ 2019-09-09 18:29 i舒 阅读(1471) 评论(0) 推荐(0) 编辑
摘要: 1. 在jenkins Configure Global Security勾选CSRF Protection 2. 在浏览器输入如下网址获取 http://<username>:<password>@Jyangxuecun-m.sh.intel.com:8080/crumbIssuer/api/js 阅读全文
posted @ 2019-09-09 17:50 i舒 阅读(500) 评论(0) 推荐(0) 编辑
摘要: docker exec -it --env COLUMNS=`tput cols` --env LINES=`tput lines` your_container_name /bin/bash reference: https://blog.csdn.net/DongGeGe214/article/ 阅读全文
posted @ 2019-09-09 13:52 i舒 阅读(718) 评论(0) 推荐(0) 编辑
摘要: http://blog.sina.com.cn/s/blog_794c649401012r62.html https://blog.csdn.net/cslp517/article/details/54094818 阅读全文
posted @ 2019-09-09 13:16 i舒 阅读(153) 评论(0) 推荐(0) 编辑
摘要: 利用 --user 参数,即 pip install --user package_name 这样会将Python 程序包安装到 $HOME/.local 路径下,其中包含三个字文件夹:bin,lib 和 share。 然后修改 .bash_profile 文件使得 $HOME/.local/bin 阅读全文
posted @ 2019-09-08 17:54 i舒 阅读(13696) 评论(0) 推荐(0) 编辑
摘要: 例子: 参考:https://blog.csdn.net/pittpakk/article/details/81218566 Python3中urllib合并了Python2中的urllib和urllib2. 比如urllib2.Request和urllib2.urlopen 在python3中对应 阅读全文
posted @ 2019-09-08 17:52 i舒 阅读(1212) 评论(0) 推荐(0) 编辑
摘要: Python:tesserocr 在 windows 下的安装及简单使用 tesserocr 是 python 的一个 OCR 库,它是对 tesseract 做的一层 Python API 封装,所以他的核心是tesseract。 使用 阅读全文
posted @ 2019-09-08 17:25 i舒 阅读(675) 评论(0) 推荐(0) 编辑
摘要: 使用BS4解析XML文件用法安装:pip3 install lxml Beautifulsoup4 python-jenkins1. html.parserfrom bs4 import BeautifulSoupsoup = BeautifulSoup(html, "html.parser")两个 阅读全文
posted @ 2019-09-08 17:18 i舒 阅读(2202) 评论(0) 推荐(0) 编辑