滑块验证码https://www.cnblogs.com/lshedward/p/10381146.html ...
分类:
其他好文 时间:
2021-05-25 17:38:36
阅读次数:
0
https://blog.csdn.net/weixin_44882864/article/details/102958973 https://blog.csdn.net/weixin_43078114/article/details/103511970 ...
分类:
其他好文 时间:
2021-05-24 16:51:49
阅读次数:
0
问题 nginx日志默认记录在一个文件access.log中,时间长了会导致日志文件特别大,甚至磁盘占满。 解决方案 使用以下方法,将access.log文件每天一个,然后清过15天以前的文件。 方法 创建clearNginxLog.sh文件 #!/bin/bash LOG_PATH="/data/ ...
分类:
其他好文 时间:
2021-05-24 16:43:57
阅读次数:
0
数组去重不仅在工作中经常使用,也会在面试中经常问到,现在有几种常用的方法: 比如要将数组去重: const arr = [1, 2, 3, "1", 2, undefined, undefined, "undefined", NaN, NaN]; 方法一: 直接通过indexOf 或者 includ ...
分类:
编程语言 时间:
2021-05-24 16:35:21
阅读次数:
0
for循环中使用retun后会直接中断后面的代码执行,类似于map等es6数组方法retun后不会影响,只测试了map,其它未知 item.employeeList.map(item=>{ if(avatorList.length>3) return //////此处中断,依旧会输出111 if(i ...
分类:
其他好文 时间:
2021-05-24 16:17:18
阅读次数:
0
安装教程: https://www.cnblogs.com/laumians-notes/p/9069498.html https://blog.csdn.net/weixin_42869365/article/details/83472466 启动 net start mysql 登录 (1234 ...
分类:
数据库 时间:
2021-05-24 16:08:31
阅读次数:
0
#include<cstdio> #include<iostream> #include<cstring> #include<cmath> #include<algorithm> using namespace std; const int N=505; int s,p,tot,cnt; struc ...
分类:
其他好文 时间:
2021-05-24 16:03:43
阅读次数:
0
有一个棋盘,每次你可以选相邻的两个位置都加一。
问你最少要多少次操作才能让棋盘上的数都变成一样的,如果不能就输出 -1。 ...
分类:
其他好文 时间:
2021-05-24 15:59:03
阅读次数:
0
环境:Ubuntu16.04 jdk8 doris编译: ## 1. 开启```bashdocker run -d -it \--name doris \--net=host \-v /volume1/doris/incubator-doris:/root/incubator-doris/ apac ...
分类:
其他好文 时间:
2021-05-24 15:57:19
阅读次数:
0
隐式类型转换 1. isNaN()判断数据类型是不是NaN 返回值为boolean,执行过程中是将数据放到number方法中 isNaN('123'); // 结果:false 2. ++ -- +、-(一元正负运算符) var a = 10; console.log(-a); //结果:-10; ...
分类:
Web程序 时间:
2021-05-24 15:52:51
阅读次数:
0