摘要:
git remote set-url origin ssh://git@gitlab.tian-wang.com:8022/test/api-automation.git
阅读全文
posted @ 2019-08-26 10:04
anobscureretreat
阅读(1592)
推荐(0)
摘要:
https://zh.savefrom.net/userjs-for-google-chrome.php
阅读全文
posted @ 2019-08-24 09:39
anobscureretreat
阅读(406)
推荐(0)
摘要:
Git global setup git config --global user.name "xiaoming" git config --global user.email "xiaoming@xxx.com" Create a new repository git clone ssh://git@gitlab.xxx.com:8022/test/jixie-automated-te...
阅读全文
posted @ 2019-08-24 00:01
anobscureretreat
阅读(160)
推荐(0)
摘要:
https://www.yiibai.com/jenkins/ https://blog.csdn.net/miss1181248983/article/details/82840006 https://www.cnblogs.com/landhu/p/7462221.html https://www.jianshu.com/p/932a4d9f78f8 https://www.jianshu.c
阅读全文
posted @ 2019-08-23 23:49
anobscureretreat
阅读(105)
推荐(0)
摘要:
awk 方式 利用${#str}来获取字符串的长度 wc 方式(注意是包含换行符的) 参考: https://www.jb51.net/article/121290.htm
阅读全文
posted @ 2019-08-23 23:44
anobscureretreat
阅读(326)
推荐(0)
摘要:
test.sh 输出 参考: https://www.jb51.net/article/121290.htm
阅读全文
posted @ 2019-08-23 23:35
anobscureretreat
阅读(1158)
推荐(0)
摘要:
输出 还可以写成 或者 参考: https://blog.csdn.net/u010003835/article/details/80750003
阅读全文
posted @ 2019-08-23 23:31
anobscureretreat
阅读(23056)
推荐(0)
摘要:
default.yaml test.sh 输出 参考: https://www.cnblogs.com/chengmo/archive/2010/10/02/1841355.html
阅读全文
posted @ 2019-08-23 23:23
anobscureretreat
阅读(903)
推荐(0)
摘要:
http://cdimage.ubuntu.com/ubuntukylin/releases/
阅读全文
posted @ 2019-08-23 23:11
anobscureretreat
阅读(151)
推荐(0)
摘要:
参考: https://www.cnblogs.com/faithfu/p/9472817.html
阅读全文
posted @ 2019-08-23 23:10
anobscureretreat
阅读(226)
推荐(0)
摘要:
输出 参考: https://www.runoob.com/linux/linux-shell-variable.html
阅读全文
posted @ 2019-08-23 23:08
anobscureretreat
阅读(204)
推荐(0)
posted @ 2019-08-23 23:03
anobscureretreat
阅读(2011)
推荐(0)
摘要:
test.sh: 输出 参考: https://www.runoob.com/linux/linux-shell-variable.html
阅读全文
posted @ 2019-08-23 23:01
anobscureretreat
阅读(447)
推荐(0)
摘要:
test.sh 输出 参考: https://runoob.com/linux/linux-shell-variable.html
阅读全文
posted @ 2019-08-23 22:58
anobscureretreat
阅读(236)
推荐(0)
摘要:
参考: https://blog.csdn.net/bcfdsagbfcisbg/article/details/78603781
阅读全文
posted @ 2019-08-23 22:54
anobscureretreat
阅读(2144)
推荐(0)
posted @ 2019-08-23 22:40
anobscureretreat
阅读(5581)
推荐(0)
摘要:
使用CURL时,有两个超时时间:一个是连接超时时间,另一个是数据传输的最大允许时间。连接超时时间用--connect-timeout参数来指定,数据传输的最大允许时间用-m参数来指定。 连接超时的话,出错提示形如:curl: (28) connect() timed out!数据传输的最大允许时间超
阅读全文
posted @ 2019-08-23 21:58
anobscureretreat
阅读(16870)
推荐(0)
摘要:
项目地址 https://github.com/allure-framework/allure2/releases 安装文档 https://docs.qameta.io/allure/#_installing_a_commandline 下载 http://repo.maven.apache.or
阅读全文
posted @ 2019-08-23 14:53
anobscureretreat
阅读(349)
推荐(0)
摘要:
[admin@localhost file]$ cat file hello 0 hello 1 hello 2 hello 3 hello 4 [admin@localhost file]$ cat test.sh #!/bin/bash while read line do echo 'buy '$line done < file >> file_b [admin@localhost file
阅读全文
posted @ 2019-08-23 01:13
anobscureretreat
阅读(1866)
推荐(0)
摘要:
使用.或者source api.sh test.sh 输出
阅读全文
posted @ 2019-08-23 00:58
anobscureretreat
阅读(136)
推荐(0)
posted @ 2019-08-23 00:52
anobscureretreat
阅读(3577)
推荐(0)
posted @ 2019-08-22 20:22
anobscureretreat
阅读(283)
推荐(0)
摘要:
test.sh: echo -e "hello w\norld!"echo -e "hello w\c"echo "orld!" 输出 bogon:Desktop macname$ ./test.shhello world!hello world!
阅读全文
posted @ 2019-08-22 20:12
anobscureretreat
阅读(3789)
推荐(0)
摘要:
参考: https://blog.51cto.com/2937761/2090137
阅读全文
posted @ 2019-08-22 19:30
anobscureretreat
阅读(184)
推荐(0)
摘要:
输出 参考: https://blog.csdn.net/sinat_36521655/article/details/79296181
阅读全文
posted @ 2019-08-22 19:23
anobscureretreat
阅读(484)
推荐(0)
摘要:
test.sh:pipe="|"eval ls $pipe wc -l 输出bogon:Desktop macname$ ./test.sh 45 test.sh:eval echo \$$# 输出bogon:Desktop macname$ ./test.sh ssd dede ded dedee
阅读全文
posted @ 2019-08-22 19:14
anobscureretreat
阅读(281)
推荐(0)
摘要:
test.sh 输出 参考: https://www.cnblogs.com/jw15327/p/6114886.html
阅读全文
posted @ 2019-08-22 18:54
anobscureretreat
阅读(714)
推荐(0)
摘要:
test.sh 输出 参数:https://www.cnblogs.com/xl520/p/6124545.html
阅读全文
posted @ 2019-08-22 18:52
anobscureretreat
阅读(198)
推荐(0)
摘要:
import os filename = r'/home/tim/workspace/test.txt'if os.path.exists(filename): message = 'OK, the "%s" file exists.'else: message = "Sorry, I cannot
阅读全文
posted @ 2019-08-22 18:21
anobscureretreat
阅读(400)
推荐(0)
摘要:
>>> import os>>> os.path.exists('d:/assist')True>>> os.path.exists('d:/assist/getTeacherList.py')True>>> os.path.isfile('d:/assist')False>>> os.path.i
阅读全文
posted @ 2019-08-22 18:20
anobscureretreat
阅读(8645)
推荐(0)
摘要:
ts.sh 输出 参考: https://www.cnblogs.com/chuanzhang053/p/8530191.html
阅读全文
posted @ 2019-08-22 17:33
anobscureretreat
阅读(5786)
推荐(0)
摘要:
test.sh 输出 参考: https://blog.csdn.net/sinat_36521655/article/details/79296181
阅读全文
posted @ 2019-08-22 17:25
anobscureretreat
阅读(3102)
推荐(0)
摘要:
解决了使用ln -s target linkName创造软链接无法正确取到真实脚本的问题。 参考: https://www.jb51.net/article/59949.htm
阅读全文
posted @ 2019-08-22 17:08
anobscureretreat
阅读(661)
推荐(0)
摘要:
tester.py: 输出 参考: https://www.cnblogs.com/royfans/p/7908009.html
阅读全文
posted @ 2019-08-22 16:48
anobscureretreat
阅读(5333)
推荐(0)
摘要:
#换行swswsw\<br> #横线___ #标题#一级标题 ##二级标题 ###三级标题 ####四级标题 #####五级标题 ######六级标题 #文本域 test duanluo xsxsxsxs xsxsxsxs___ #单行文本 xsxsxsswswswsw ___ #高亮显示Thank
阅读全文
posted @ 2019-08-22 11:00
anobscureretreat
阅读(283)
推荐(0)
摘要:
参考:https://blog.csdn.net/lansesl2008/article/details/20558369/
阅读全文
posted @ 2019-08-22 09:58
anobscureretreat
阅读(173)
推荐(0)
摘要:
输出 参考: https://www.cnblogs.com/dinghanhua/p/9700767.html
阅读全文
posted @ 2019-08-22 01:02
anobscureretreat
阅读(235)
推荐(0)
摘要:
exit命令用于退出当前shell,在shell脚本中可以终止当前脚本执行。 常用参数格式:exit n退出。设置退出码为n。(Cause the shell to exit with a status of n.) 格式:exit退出。退出码不变,即为最后一个命令的退出码。(If n is omi
阅读全文
posted @ 2019-08-21 19:37
anobscureretreat
阅读(318)
推荐(0)
摘要:
#!/bin/bash if [ -d "report" ];then rm -rf report else : fi if [ -d "html" ];then : else mkdir html fi if [ -d "case" ];then cd case else mkdir case cd case fi pytest --alluredir=../report if [ -d "..
阅读全文
posted @ 2019-08-21 17:30
anobscureretreat
阅读(150)
推荐(0)
摘要:
#参考:#https://www.runoob.com/python3/python3-smtp.html#https://www.runoob.com/python/python-email.html阿里云 smtp 服务配置https://help.aliyun.com/knowledge_de
阅读全文
posted @ 2019-08-21 17:27
anobscureretreat
阅读(153)
推荐(0)