1、前端正则表达式写法 1 function checkPassWord(password) { 2 //密码至少8个字符,至少1个大写字母,1个小写字母,1个数字 3 var reg = new RegExp(/^(?=.*[a-z])(?=.*[A-Z])(?=.*\d)[^]{8,}$/); ...
分类:
Web程序 时间:
2020-03-31 12:07:32
阅读次数:
78
git clone带用户名密码拉取 git clone http://username:password@remote eg: username: abc@qq.com, pwd: test, git地址为git@xxx.com/test.git git clone http://abc%40qq. ...
分类:
其他好文 时间:
2020-03-31 10:43:09
阅读次数:
69
服务方法 1 [HttpGet] 2 public string GetWebName(string name,string pwd) 3 { 4 Dictionary<string, string> dict = new Dictionary<string, string>(); 5 dict.A ...
1、目录管理 ls、cd、pwd、mkdir、rmdir、tree 2、时间日期 touch、stat、file、rm、cp、mv、nano 3、查看文本 cat、more、less、head、tail、cat的变体tac 4、正则表达式 5、管道和重定向 6、用户、组、权限 ...
分类:
系统相关 时间:
2020-03-30 19:55:05
阅读次数:
96
1pwd命令pwd:显示当前的目录名称,类似windows下的资源管理器user1@SC02ZRC4KMD6N/Applications%pwd/Applications2cd命令cd:更改当前的操作目录cd/path/to/...绝对路径cd./path/to/...相对路径cd../path/to/...相对路径cd-返回上一次操作的目录cd../或cd..返回上一级目录3ls命令ls:查看当
分类:
其他好文 时间:
2020-03-30 14:42:18
阅读次数:
136
一、部署MySQL 1. 搜索mysql镜像 2. 拉取mysql镜像 3. 创建容器,设置端口映射、目录映射 参数说明: p 3307:3306 :将容器的 3306 端口映射到宿主机的 3307 端口。 v $PWD/conf:/etc/mysql/conf.d :将主机当前目录下的 conf/ ...
分类:
其他好文 时间:
2020-03-30 13:07:59
阅读次数:
63
Step1:将.csv格式的对象上传到管理服务器,本例为/home/admin目录[Expert@SZ-OFFICE-SMT:0]#pwd/home/admin[Expert@SZ-OFFICE-SMT:0]#ls-ltotal8-rw-r-----1adminroot625Aug1522:18host.csv-rw-r-----1adminroot1036Aug1522:18network.cs
分类:
其他好文 时间:
2020-03-29 23:57:17
阅读次数:
138
1、将源码编译后打包的war包上传需要部署的机器 1 [root@gz01-tomcat-node01 war]# mkdir -p /usr/local/jeesns 2 [root@gz01-tomcat-node01 war]# cd /usr/local/jeesns/ 3 [root@gz ...
分类:
编程语言 时间:
2020-03-29 19:41:36
阅读次数:
71
文件操作 pwd 显示当前的目录名称 cd 更改当前的操作目录 cd /path/to/...绝对路径 cd ./path/to/..相对路径 cd ../path/to/..相对路径 cd /root 回到根目录 cd 返回上一次的目录中 cd ./ .表示当前的目录 cd .. 回到上一级目录 ...
分类:
系统相关 时间:
2020-03-29 01:46:34
阅读次数:
81
import time with open('user.txt') as fr: result = fr.read() users = {} if result: all_user_pwd = result.split('\n') for i in all_user_pwd: user = i.sp ...
分类:
编程语言 时间:
2020-03-28 18:18:37
阅读次数:
79