#!/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
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
import shelve a = shelve.open('1') b = [1,2,3] a['b'] = b a.close()a['b'] Traceback (most recent call last):File "C:\Users\Administrator\AppData\Local ...
分类:
其他好文 时间:
2020-06-30 17:22:01
阅读次数:
66
location / { root /Users/heyang/Desktop/web/static; index index.html index.htm; try_files $uri $uri/ /index.html; } ...
分类:
其他好文 时间:
2020-06-30 17:12:37
阅读次数:
64
1、下载安装包 进入官网(http://nginx.org/en/download.html)下载指定版本的安装包,这里下载的是最新的nginx-1.18.0.tar.gz: 1 http://nginx.org/download/nginx-1.18.0.tar.gz 2、解压压缩文件 将下载下来 ...
分类:
其他好文 时间:
2020-06-30 17:10:53
阅读次数:
96
1、纯代码创建根视图控制器,在Appdelegate中的didFinishLaunchingWithOptions self.window =[[UIWindow alloc]initWithFrame:[UIScreen mainScreen].bounds]; //设置窗口根窗口控制器 self ...
分类:
移动开发 时间:
2020-06-30 12:50:21
阅读次数:
161
一、安装准备 linux操作系统 jdk1.8 xshell、xftp 二、安装步骤 1.下载jdk安装包 下载地址:https://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html 操作系统多少 ...
分类:
系统相关 时间:
2020-06-30 11:21:09
阅读次数:
77
一、 单选题(共20题 每题1分 共 20分 ) 1. 下面哪个Linux命令可以一次显示一页内容? C A. pause B. cat C. more D. grep 2. 怎样更改一个文件的权限设置? B A. attrib B. chmod C. change D. file 3.下面哪个参数 ...
分类:
系统相关 时间:
2020-06-30 11:13:55
阅读次数:
303
1.Vue.js(读音 /vju?/, 类似于 view) 是一套构建用户界面的渐进式框架。与其他重量级框架不同的是,Vue 采用自底向上增量开发的设计。Vue 的核心库只关注视图层,并且非常容易学习,非常容易与其它库或已有项目整合。另一方面,Vue 完全有能力驱动采用单文件组件和Vue生态系统支持 ...
分类:
其他好文 时间:
2020-06-30 11:01:11
阅读次数:
59
想利用 service mysql start 启动mysql数据库,但是发现出现错误: Failed to start mysql.service: Unit not found. 1、查询/etc/init.d/下是否存在mysql ll /etc/init.d/ | grep mysql 发现 ...
分类:
数据库 时间:
2020-06-30 11:00:02
阅读次数:
154