执行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
有效括号的嵌套深度。题意是给一个用字符串表示的嵌套括号,请按规则返回这个字符串的嵌套深度depth。嵌套深度的定义如下, depth("") = 0 depth(A + B) = max(depth(A), depth(B)), where A and B are VPS's depth("(" + ...
分类:
其他好文 时间:
2020-04-01 09:18:51
阅读次数:
87
今天一个小伙伴遇到一个奇怪的问题:数据库版本是mysql8,有两张表,都有一个名为valid的bit字段,其中一张表用valid='1'可以正常查到数据,另一张表查不到。 百思不得其解,万能的度娘也没有答案。 最后,反复对比两张表的DDL,发现不正常的那张表,在valid字段上居然建了索引!正常的表 ...
分类:
数据库 时间:
2020-03-31 22:39:56
阅读次数:
87
https://blog.csdn.net/MR_L_0927/article/details/84784482 简单的方法是 直接在Controller内的接口参数前加上校验注解(@NotBlank...等),此时需在类上加注解 @Validated即可.当校验参数过多,这种方法使接口参数看起来过 ...
分类:
编程语言 时间:
2020-03-31 10:40:47
阅读次数:
177
valid_referers 语法使用说明: http://nginx.org/en/docs/http/ngx_http_referer_module.html valid_referers valid_referers 后面接是否会被拦截的规则 none:如果referer这个字段不存在或者内容 ...
分类:
其他好文 时间:
2020-03-30 20:03:48
阅读次数:
71
git 与远程库相关操作报错 /info/refs not valid: is this a git repository? 解决办法: git config list 查看是否开了代理,关闭代理就好了 ...
分类:
其他好文 时间:
2020-03-30 13:22:55
阅读次数:
88
多多填坑,多多记录! 在微信小程序里安装vant-weapp的时候,出现了如下“Sorry, name can only contain URL-friendly characters and name can no longer....” 这是因为在npm初始化的时候,会向我们询问项目名,如果我们 ...
分类:
Web程序 时间:
2020-03-29 10:58:01
阅读次数:
872
There is a frog staying to the left of the string s=s1s2…sns=s1s2…sn consisting of nn characters (to be more precise, the frog initially stays at the ...
分类:
其他好文 时间:
2020-03-29 01:06:51
阅读次数:
86
只谈思路,和两数之和差??不多。把chars存入一个哈希表,然后对于words中的每个word,判断其字符是不是都在表中。 值得一提的是某word中的某字母可能多次出现,所以要考虑到这点。由于思路局限性,我的实现把word的每个字母也存入哈希表, 所以Can Be Formed的条件是word中每个 ...
分类:
其他好文 时间:
2020-03-28 23:19:01
阅读次数:
80
Changes in MySQL 5.7.13 (2016-06-02, General Availability) Account Management Notes In MySQL 5.7.8, the maximum length of MySQL user names was increas ...
分类:
数据库 时间:
2020-03-27 21:40:56
阅读次数:
93