09 2019 档案

摘要:https://blog.csdn.net/dufufd/article/details/75578277 阅读全文
posted @ 2019-09-22 22:12 i舒 阅读(151) 评论(0) 推荐(0) 编辑
摘要: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舒 阅读(615) 评论(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舒 阅读(1492) 评论(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舒 阅读(509) 评论(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舒 阅读(719) 评论(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舒 阅读(13747) 评论(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舒 阅读(1217) 评论(0) 推荐(0) 编辑
摘要:Python:tesserocr 在 windows 下的安装及简单使用 tesserocr 是 python 的一个 OCR 库,它是对 tesseract 做的一层 Python API 封装,所以他的核心是tesseract。 使用 阅读全文
posted @ 2019-09-08 17:25 i舒 阅读(678) 评论(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舒 阅读(2235) 评论(0) 推荐(0) 编辑
摘要:jenkins api http://jen-server:8080/job/<view>/api/json items对应的是一个列表,不包含正在build的job可以取到排队的task信息: "name": "GERRIT_CHANGE_NUMBER", "value": "150654" "n 阅读全文
posted @ 2019-09-06 17:28 i舒 阅读(933) 评论(0) 推荐(0) 编辑
摘要:json api: http://XXXXXXXXXXXXXXXXXXX/computer/api/json?pretty=true 参考: https://segmentfault.com/q/1010000003838869 pipeline 语法:https://jenkins.io/zh/d 阅读全文
posted @ 2019-09-04 22:16 i舒 阅读(842) 评论(0) 推荐(0) 编辑
摘要:su: must be run from a terminal https://stackoverflow.com/questions/36944634/su-command-in-docker-returns-must-be-run-from-terminal 阅读全文
posted @ 2019-09-02 13:32 i舒 阅读(2315) 评论(0) 推荐(0) 编辑