如果提供比较,则使用委托表示的方法对列表中的元素进行排序。如果comparison为null,则抛出ArgumentNullException。 此方法使用数组.排序,其应用自省排序,如下所示: 如果分区大小小于或等于16个元素,则使用插入排序算法 如果分区数超过2logn,其中n是输入数组的范围, ...
默认centos, unbtan都已经安装了python3版本,可以通过 whereis python来检查已经安装的版本。 root@hecs-x-medium-2-linux-20200619090653:/usr/bin# whereis pythonpython: /usr/bin/pyth ...
分类:
编程语言 时间:
2021-02-08 12:04:26
阅读次数:
0
#零 修订记录 | 序号 | 修订内容 |修订时间 | | | | | | 1 | 新增 |2021/2/6| #一 摘要 前文linux 基于三台物理机安装ceph nautilus 介绍了 ceph 在centos 7.6 上的安装。 ceph nautilus 横向扩容 介绍了ceph 横向扩 ...
分类:
其他好文 时间:
2021-02-08 11:45:21
阅读次数:
0
查看CentOS-Base.repo部分内容,文件路径 /etc/yum.repos.d/CentOS-Base.repo [base] baseurl=http://mirror.centos.org/centos/$releasever/os/$basearch/ mirrorlist=http ...
分类:
其他好文 时间:
2021-02-05 10:29:54
阅读次数:
0
将可执行的开机启动脚本加入到/etc/init.d/目录下,并利用chkconfig配置开机自启动,重启生效 1)、切换到/etc/init.d/ [root@www ~]# cd /etc/init.d/ 2)、编辑开机启动服务脚本 nano xxxx.sh #!/bin/sh#配置Tomcat开 ...
分类:
其他好文 时间:
2021-02-04 12:23:33
阅读次数:
0
prettier是什么? prettier是一款代码格式化程序,通过prettier可以根据配置实现代码的格式化。 ESLint 是一款校验程序,prettier是一款格式化程序。 prettier使用: 一、项目有ESLint 1、安装prettier依赖 npm i -D prettier es ...
分类:
其他好文 时间:
2021-02-04 12:09:42
阅读次数:
0
1.表字段如下图,要求:分区计算总处数,总面积,已处理数,已处理面积,未处理数,未处理面积 2.计算结果如下: 3.sql如下:知识点:sum后的case可以根据A列状态,来计算B列的值。 sum(case when sfcl='否'then mjm else 0 end) wcltbmj 1 se ...
分类:
数据库 时间:
2021-02-04 11:42:00
阅读次数:
0
集群划分 192.168.8.121 Rancher-Server、K8S(etcd、control)、Harbor、NFS-Server 192.168.8.122 Rancher-Agent、K8S(worker) 192.168.8.123 Rancher-Agent、K8S(worker) ...
分类:
Web程序 时间:
2021-02-03 11:04:33
阅读次数:
0
环境说明 系统:Centos7 版本:CentOS-7-x86_64-Minimal-1908 ISO下载链接:http://mirrors.aliyun.com/centos/7/isos/x86_64/CentOS-7-x86_64-Minimal-1908.iso Centos7源中包含以下版 ...
分类:
其他好文 时间:
2021-02-03 11:00:30
阅读次数:
0
Field required=True, 是否允许为空 widget=None, HTML插件 label=None, 用于生成Label标签或显示内容 initial=None, 初始值 help_text='', 帮助信息(在标签旁边显示) error_messages=None, 错误信息 { ...
分类:
其他好文 时间:
2021-02-03 10:34:51
阅读次数:
0