Binary Trees With Factors (M) 题目 Given an array of unique integers, arr, where each integer arr[i] is strictly greater than 1. We make a binary tree u ...
分类:
其他好文 时间:
2021-03-15 11:24:45
阅读次数:
0
自增且连续主键的分页查询 避免前n条记录的读取[https://dev.mysql.com/doc/refman/5.7/en/limit-optimization.html](mysql manual),可以采用: select * from t1 where id >99000 limit 2; ...
分类:
其他好文 时间:
2021-03-15 11:20:12
阅读次数:
0
mysql语句的书写顺序和执行顺序有很大差异。 书写顺序,mysql的一般书写顺写为: select <要返回的数据列> from <表名> join on where group by <分组条件> having <分组后的筛选条件> order by <排序条件> limit <行数限制> 然而 ...
分类:
数据库 时间:
2021-03-15 11:19:23
阅读次数:
0
获取时间的总的毫秒数(时间戳) 指的不是当前时间,而是距离1970年1月1号过了多少时间 方法一: valurOf() var date = new Date(); console.log(date.valueOf()); // 就是 我们现在时间 距离1970.1.1 总的毫秒数 方法二: get ...
分类:
其他好文 时间:
2021-03-15 11:03:06
阅读次数:
0
python\小脚本\selenium_base_file.py # -*- coding: utf-8 -*- """ Created on Wed Feb 28 19:40:07 2018 @author: zhoujunqing """ # -*- coding: utf-8 -*- """ ...
分类:
其他好文 时间:
2021-03-15 11:02:11
阅读次数:
0
首先看一下man文档中这三个函数的定义: select函数: #include <sys/time.h> #include <sys/types.h> #include <unistd.h> int select(int nfds, fd_set *readfds, fd_set *writefds ...
分类:
其他好文 时间:
2021-03-15 10:42:26
阅读次数:
0
原因:由于使用的是绝对路径导致出现'/'的情况 解决办法:添加参数 -P tar -zcvPf ${bak_dir}/${tar_name2}-${time}.tar.gz ${tar2} 参考网址: https://www.cnblogs.com/operationhome/p/9802554.h ...
分类:
其他好文 时间:
2021-03-15 10:35:07
阅读次数:
0
# author: zhaoboomboom# time: 2021/3/12# 三元运算符存在的意义在于让代码变得更加简洁,易懂(个人理解)# 实现表达式: res = if判断成立的结果 if 变量判断语句 else else成立的结果# 例子: r = '不及格' if s <60 else ...
分类:
编程语言 时间:
2021-03-12 14:41:45
阅读次数:
0
##安装依赖 yum install gcc gcc-c++ automake pcre pcre-devel zlip zlib-devel openssl openssl-devel ##解压 tar xf nginx-1.18.0.tar.gz -C /data/ ##创建虚拟用户 usera ...
分类:
其他好文 时间:
2021-03-12 13:27:36
阅读次数:
0
配置加速器(最新版的配置方法) [root@ming2 containers]# vim registries.conf [root@ming2 containers]# cat registries.conf unqualified-search-registries = ["docker.io" ...
分类:
其他好文 时间:
2021-03-11 14:17:03
阅读次数:
0