#前言:基于inotify的三种实时同步方法 inotify 脚本部署 (inotifly脚本无法由systemctl启动,只能手动/脚本启停,pkill sersync2,sersync2 -dro /usr/bin/xxxxx) lsync 软件部署 sersync 软件二进制部署。 #几大实时 ...
分类:
其他好文 时间:
2020-06-20 21:11:12
阅读次数:
98
代码: 结果: PS E:\30.Study\30.自动化测试\99.零基础入门 Python Web 自动化测试\10.seleniumCodePractice> & "C:/Program Files/Python38/python.exe" "e:/30.Study/30.自动化测试/99.零 ...
分类:
编程语言 时间:
2020-06-20 11:09:48
阅读次数:
76
密码规则:八位以及八位以上, 必须是数字,大小写字母,或者特殊字符四选三。 HTML代码: <div class="form-group"> <label class="col-sm-4 control-label is-required">登录密码:</label> <div class="col ...
分类:
其他好文 时间:
2020-06-19 20:43:49
阅读次数:
89
安装完Mysql之后使用root账户登录出现1698错误 pi@raspberrypi:~ $ mysql -uroot ERROR 1698 (28000): Access denied for user 'root'@'localhost' pi@raspberrypi:~ $ 查看Mysql官 ...
分类:
数据库 时间:
2020-06-19 13:47:45
阅读次数:
68
Description HostAgent fails to establish SSH Connection to RedHat EL7 hostThe error reported when the agent attempts to connect to the host matches th ...
分类:
系统相关 时间:
2020-06-18 19:16:06
阅读次数:
459
规则: 对文章中连续数字超过3位的进行****显示; 实现效果: 实现方式: computed:{ formatText(){ return val=>{ let str = val let reg = /\d{4,}/g let matchArr = val.match(reg) if(match ...
分类:
其他好文 时间:
2020-06-18 10:34:16
阅读次数:
60
前言 此篇博客用来记录一些常用的正则表达式 判断是否是全汉字 /** * 判断是否是全中文汉字 * * @param str * @return */ public static boolean isChinese(String str) { String pattern = "[\u4e00-\u ...
分类:
编程语言 时间:
2020-06-16 12:45:42
阅读次数:
65
1.下列输出可能不是“aa,bb”的是(B) d0 = {"a":"aa","b":"bb"} print("d0: {a},{b}".format(**d0)) d1 = {"aa","bb"} print("d1: {0},{1}".format(*d1)) d2 = ["aa","bb"] p ...
分类:
编程语言 时间:
2020-06-16 01:05:24
阅读次数:
62
Searching a string using the ‘Find‘ or ‘Find & Replace‘ function in text editors highlights the relevant match (e.g. searching ‘le‘ highlights it insi ...
分类:
其他好文 时间:
2020-06-15 23:19:53
阅读次数:
101
控制结构 Scala的控制结构有:if、while、for、try、match和函数调用。 if表达式 if可以作为一个返回值,如下面的代码。同时用val,就像Java的final变量一样,一旦初始化就不会改变。 val filename = if (!args.isEmpty) args(0) e ...
分类:
其他好文 时间:
2020-06-15 19:21:42
阅读次数:
42