二叉搜索树 二叉搜索树满足这样的性质: 每个节点 x 有一个键值。 节点 x 的键值大于等于左子树的任意节点 y 的键值. 节点 x 的键值小于等于右子树的任意节点 z 的键值. 二叉搜索树的表达 struct Node{ int key; Node*parent ; Node*left; Node ...
分类:
其他好文 时间:
2021-05-23 23:08:30
阅读次数:
0
ssh基于key验证 1,在客户端生成公钥私钥对并将公钥拷到要连接的服务器上,验证是否成功 [root@localhost ~]# ssh-keygen Generating public/private rsa key pair. Enter file in which to save the k ...
分类:
其他好文 时间:
2021-05-23 22:59:40
阅读次数:
0
红色方框要引入箭头里面的 import sys sys.path.append('../../config/') from database import * print(MYSQL_CONFIG) ...
分类:
编程语言 时间:
2021-05-20 17:53:11
阅读次数:
0
今天想给一个 Static 控件添加一个鼠标相关的事件:移入,移出,按下,松开事件 一开始以为在 while (GetMessage (&messages, NULL, 0, 0)) { /* Translate virtual-key messages into character message ...
Ansible快速入门# 介绍# Ansible是一款简单的运维自动化工具,只需要使用ssh协议连接就可以来进行系统管理,自动化执行命令,部署等任务。 Ansible的特点 1、ansible不需要单独安装客户端,也不需要启动任何服务2、ansible是python中的一套完整的自动化执行任务模块3 ...
分类:
其他好文 时间:
2021-05-04 16:06:24
阅读次数:
0
const http=require('http') const fs=require('fs') const path=require('path') const server=http.createServer(function(req,res){ const {url}=req console ...
分类:
Web程序 时间:
2021-05-04 15:44:00
阅读次数:
0
支持s3是cubestore 一个很不错的特性,可以提高系统的扩展性 参考修改 主要是添加endpoint 以及配置使用path格式请求 s3.rs impl S3RemoteFs { pub fn new( dir: PathBuf, region: String, endpoint:String ...
分类:
其他好文 时间:
2021-05-04 15:33:00
阅读次数:
0
1.在终端输入以下,查看flutter安装的路径 echo $path 2.进入flutter文件根目录执行 git reset --hard 9b2d32b605630f28625709ebd9d78ab3016b2bf6(不同的版本不同,如下操作) 如何找到相应版本的? ...
分类:
系统相关 时间:
2021-05-04 15:19:26
阅读次数:
0
1. namespace 资源隔离 namespace 是内核实现的一种资源隔离技术,docker 使用 namespace 实现了资源隔离。 Liunx 内核提供 6 种 namespace 隔离的系统调用,如下表所示: | namespace | 系统调用参数 | 隔离内容 | | | | | ...
分类:
其他好文 时间:
2021-05-03 13:19:09
阅读次数:
0
os.makedirs()遇到的报错解决 本文基于Windows 10提出解决办法 先贴出遇到的错误: PermissionError Traceback (most recent call last) <ipython-input-29-273e681a3508> in <module> 1 im ...
分类:
其他好文 时间:
2021-05-03 13:18:49
阅读次数:
0