这个bat文件要求本地安装有winrar解压软件,位置是:C:\Program Files\WinRAR\WinRAR.exe 如果执行报错,请检查你复制我的代码是否有问题,有些复制粘贴进去后因为一些字符原因更改,粘贴后请检查是否和复制的一致。 rem 定时备份文件并FTP上传至备份服务器 rem ...
分类:
其他好文 时间:
2020-07-01 12:43:08
阅读次数:
47
1.Python3.6的安装 Ubuntu中自带python2.7和python3.5,但是很多情况下我们需要使用python3.6,以下是在终端中安装python3.6的详细步骤: 在终端中输入下面的命令 wget http://www.python.org/ftp/python/3.6.4/Py ...
分类:
编程语言 时间:
2020-07-01 12:17:17
阅读次数:
79
string path = "test.txt"; FileStream fs = new FileStream(path, FileMode.Open); StreamReader sr = new StreamReader(fs); char[] separator = new char[] { ...
public static void TextWriter(string Msg) { string path = @"D: " + "log.txt"; //文件流 FileStream file = new FileStream(path, FileMode.Append); StreamWri ...
分类:
其他好文 时间:
2020-06-30 20:23:32
阅读次数:
41
#!/bin/bashsrc=/test/dest=testrsync_secret_file=/etc/rsync_pwdfiledest_ip=192.168.37.133user=test/usr/local/bin/inotifywait -mrq --format '%Xe %w %f' ...
分类:
其他好文 时间:
2020-06-30 18:56:32
阅读次数:
44
1、用name和params传参(参数不会带在地址中,页面刷新参数会丢失) 对应路由配置 { path: '/detail', name: 'detail', component: detail } 跳转时传参 this.$router.push({ name: 'detail',// 页面名称 p ...
分类:
其他好文 时间:
2020-06-30 17:37:38
阅读次数:
67
phpunit也有browserTest For newer versions of phpunit, it is just: phpunit --filter methodName path/to/file.php一次运行一个命令, 0--以前的版本: phpunit --filter testS ...
分类:
Web程序 时间:
2020-06-30 17:25:54
阅读次数:
65
最短路径——Dijkstra算法 BFS算法的局限性 Dijkstra算法 第一轮:循环遍历所有结点,找到还没确定最短路径,且dist最小的顶点vi,令final[i]=true; 检查所有邻接自vi的顶点,若其final值为false,则更新dist和path的信息 第二轮:循环遍历所有结点,找到 ...
分类:
编程语言 时间:
2020-06-30 14:43:38
阅读次数:
73
web UI自动化项目实战-项目 项目使用禅道,所以你需要搭建1个禅道,搭建禅道的方法和步骤见 https://www.cnblogs.com/xinhua19/p/13151296.html 搭建UI自动化的框架 第一步,搭建框架,从配置文件信息开始,然后读取配置文件,然后是读取驱动。 第二步,对 ...
分类:
Web程序 时间:
2020-06-30 12:58:05
阅读次数:
219