规则 描述 required:true 必须输入的字段。 remote:"check.php" 使用 ajax 方法调用 check.php 验证输入值。 email:true 必须输入正确格式的电子邮件。 url:true 必须输入正确格式的网址。 date:true 必须输入正确格式的日期。日期 ...
分类:
Web程序 时间:
2020-04-04 11:55:00
阅读次数:
89
参考代码: -- 使用mysql数据库 USE mysql -- 创建用户 CREATE USER myuser IDENTIFIED BY 'mypass'; -- 查看用户 SELECT user, host, authentication_string FROM USER WHERE USER ...
分类:
数据库 时间:
2020-04-03 18:35:16
阅读次数:
168
1.第一种方法是修改oracle服务端配置,配置验证方式 2.修改product\11.2.0\dbhome_1\NETWORK\ADMIN\sqlnet.ora 把SQLNET.AUTHENTICATION_SERVICES= (NTS) 更改为SQLNET.AUTHENTICATION_SERV ...
分类:
其他好文 时间:
2020-04-03 12:13:17
阅读次数:
133
· All the redirects in the capture sent to zscaler are for one request from user browser. · It take 900ms from the first request to the last response ...
分类:
其他好文 时间:
2020-04-02 17:45:26
阅读次数:
69
最近把一个Asp .net core 2.0的项目迁移到Asp .net core 3.1,项目启动的时候直接报错: 看意思是缺少了一个authorization的中间件,这个项目在Asp.net core 2.0上是没问题的。 startup是这样注册的: 查了文档后发现3.0的示例代码多了一个U ...
分类:
Web程序 时间:
2020-04-02 01:01:11
阅读次数:
181
Spring 远程调用Rest服务工具类,包含Get、Post、Put、Delete四种调用方式。 依赖jar <dependency> <groupId>org.springframework</groupId> <artifactId>spring-context</artifactId> <v ...
分类:
编程语言 时间:
2020-04-02 00:59:52
阅读次数:
72
修改root用户的的密码 这里是关键点,由于mysql5.7没有password字段,密码存储在authentication_string字段中,password()方法还能用 在mysql中执行下面语句修改密码 show databases; use mysql; update user set ...
分类:
数据库 时间:
2020-04-01 19:30:59
阅读次数:
160
执行crontab [root@FMPVZABBIX mysql_backup]# tail -f /var/log/cron Jul 16 14:12:01 FMPVZABBIX crond[13308]: (root) PAM ERROR (Authentication token is no ...
分类:
系统相关 时间:
2020-04-01 12:37:08
阅读次数:
219
题目描述 Given two words word1 and word2, find the minimum number of operations required to convert word1 to word2. You have the following 3 operations pe ...
分类:
其他好文 时间:
2020-03-31 18:48:00
阅读次数:
81
用户、组和权限 1 Linux安全模型 资源分派: + Authentication:认证,验证用户身份 + Authorization:授权,不同的用户设置不同权限 + Accouting | Audition:审计 当用户登录成功时,系统会自动分配令牌token,包括:用户标识和组成员等信息 1 ...
分类:
系统相关 时间:
2020-03-30 09:56:06
阅读次数:
99