查看是否区分大小写 show Variables like '%table_names' 查看lower_case_table_names的值,0代表区分,1代表不区分 修改方法 1.用ROOT登录,修改/etc/my.cnf 2.在[mysqld]下加入一行:lower_case_table_na ...
分类:
数据库 时间:
2021-06-17 17:06:18
阅读次数:
0
You are given two strings s and p where p is a subsequence of s. You are also given a distinct 0-indexed integer array removable containing a subset o ...
分类:
其他好文 时间:
2021-06-15 18:05:39
阅读次数:
0
《为什么数据库中要使用B+tree索引,而不用hash索引?MySQL中的B+tree索引介绍》 看完以上这篇文章,明白B+tree索引结构,对explain解析更有帮助。 ...
分类:
数据库 时间:
2021-06-15 17:54:06
阅读次数:
0
有待总结。 Binary Search: 633, Sum of Square Numbers 475, Heaters 744, Find Smallest Letter Greater than target(LC submissions from original session) 427?? ...
分类:
其他好文 时间:
2021-06-13 09:48:38
阅读次数:
0
The pair sum of a pair (a,b) is equal to a + b. The maximum pair sum is the largest pair sum in a list of pairs. For example, if we have pairs (1,5), ...
分类:
其他好文 时间:
2021-06-13 09:41:48
阅读次数:
0
这题非常类似 P1972 [SDOI2009]HH的项链,这是数颜色的题目的常见套路。 首先,出现偶数次的数的异或和 转化为 所有数的异或和 与 所有不重复数的异或和 的异或和。 前者是前缀和可以搞定的,后者就是区间数颜色的做法。先处理出每个点的颜色上一次出现位置 \(pre\)。离线询问,按右端点 ...
分类:
其他好文 时间:
2021-06-13 09:35:49
阅读次数:
0
图像加法 你可以使用函数cv2.add() 将两幅图像进行加法运算,当然也可以直接使 用numpy,res=img1+img。两幅图像的大小,类型必须一致,或者第二个 图像可以使一个简单的标量值。 import numpy as np import cv2 from matplotlib impor ...
分类:
编程语言 时间:
2021-06-10 18:30:52
阅读次数:
0
k8s证书浅析 来源:https://zhuanlan.zhihu.com/p/123858320 建K8S集群 kubeadm 会生成的很多证书 [root@k8s-master01 ~]# cd /etc/kubernetes/pki [root@k8s-master01 pki]# tree ...
分类:
其他好文 时间:
2021-06-10 18:23:04
阅读次数:
0
目录解释 /bin:bin是Binary的缩写, 这个目录存放着最经常使用的命令。 /boot:这里存放的是启动Linux时使用的一些核心文件,包括一些连接文件以及镜像文 件。 /dev:dev是Device(设备)的缩写, 存放的是Linux的外部设备,在Linux中访问设备的方 式和访问文件的方 ...
分类:
系统相关 时间:
2021-06-10 17:42:28
阅读次数:
0
find()后sort排序报错: 在使用node.js+mongodb开发的后端项目,在查询时,使用了排序,出现如下报错 Mongodb: Sort operation used more than the maximum 33554432 bytes of RAM1Mongodb的sort操作是把 ...
分类:
数据库 时间:
2021-06-08 23:44:06
阅读次数:
0