TiUP 是 TiDB 4.0 版本引入的集群运维工具,TiUP cluster 是 TiUP 提供的使用 Golang 编写的集群管理组件,通过 TiUP cluster 组件就可以进行日常的运维工作,包括部署、启动、关闭、销毁、弹性扩缩容、升级 TiDB 集群,以及管理 TiDB 集群参数。 最 ...
分类:
数据库 时间:
2021-05-04 16:12:19
阅读次数:
0
查看当前系统JupyterLab支持的所有字体 from matplotlib.font_manager import FontManager mpl_fonts = set(f.name for f in FontManager().ttflist) print('all font list ge ...
分类:
其他好文 时间:
2021-05-04 16:05:28
阅读次数:
0
1. 算术运算 add(other) 比如进行数学运算加上一个具体数字 data["open"].add(10) # open列加10 # data["open"] + 10 # 一般不这么写 sub(other) 用法同add 2. 逻辑运算 2.1. 逻辑运算符号 逻辑运算类型:>, >=, < ...
分类:
其他好文 时间:
2021-05-04 16:04:10
阅读次数:
0
一,标识符(包名、类名、方法名、参数名、变量名等等) 1、标识符的组成:标识符可以由字母、数字、下划线(_)和美元符号($)组成,但是标识符不能以数字开头,不能是java中的关键字。 eg:username username123 user_name _userName $username 这些都是 ...
分类:
编程语言 时间:
2021-05-04 15:54:27
阅读次数:
0
安装镜像:docker pull 镜像名称 查看所有运行容器:docker ps -a 运行容器:docker run --name 容器名称 进入指定容器:docker exec -it 容器名称 bash 重启容器:docker restart 容器名称 停止所有容器:docker stop $ ...
分类:
其他好文 时间:
2021-05-04 15:53:31
阅读次数:
0
方法分组测试 1. 给@Test注解后面加groups参数,如 @Test(groups = "groupa") 2. 可以添加@BeforeGroups和@AfterGroups,来设置在某组方法执行之前/之后要做的事情,如 @BeforeGroups("groupa") 1 import org ...
分类:
其他好文 时间:
2021-05-04 15:52:39
阅读次数:
0
多进程 1 #方式一: 2 # from multiprocessing import Process 3 # import time 4 # 5 # def task(name): 6 # print('%s is running' %name) 7 # time.sleep(3) 8 # pri ...
分类:
编程语言 时间:
2021-05-04 15:51:14
阅读次数:
0
#include<vector> #include<queue> #include<string> #include<binaryNode.hpp> #include<iostream> #include<sstream> template<typename T> class traverse { ...
分类:
其他好文 时间:
2021-05-04 15:34:11
阅读次数:
0
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="wi ...
分类:
Web程序 时间:
2021-05-04 15:33:37
阅读次数:
0
ansible批量部署node_exporter; 基于consul服务发现; 将node_exporter所在机器的ip和端口注册到consul; 普罗米修斯从consul获取到ip和端口自动加入监控 100台:web、db、负载均衡、消息队列 "id": "web-1","name": "web ...
分类:
其他好文 时间:
2021-05-04 15:32:29
阅读次数:
0