问题:执行 db.auth(‘username’, ‘password’),monoDB 认证失败,出现 SASL SCRAM-SHA-1 authentication failed for nls-cloud on admin from client 172.19.0.1:14500 ; User ...
分类:
数据库 时间:
2020-06-28 15:29:47
阅读次数:
180
1、docker-compose 搭建Apache-php 新建docker-compose.yml文件 version: "3.8" networks: net: driver: bridge ipam: config: - subnet: 192.158.0.0/16 services: fpm ...
分类:
其他好文 时间:
2020-06-28 15:20:32
阅读次数:
46
当我们使用nvidia-smi 查看 GPU 状态时,显示GPU使用率100% 那么该如何解决呢? 分析后,可能的原因是加载 NVIDIA 驱动时,ECC Memory Scrubbing 机制造成的。 解决办法: 执行 nvidia-smi -pm 1 命令,让 GPU Driver 进入 Per ...
分类:
其他好文 时间:
2020-06-28 15:16:56
阅读次数:
711
1.在浏览器地址里面输入:chrome://version/,查看你本地浏览器的版本 2.下载对应驱动版本:http://chromedriver.storage.googleapis.com/index.html? 3.将chromedriver.exe复制到C:\Program Files (x ...
分类:
其他好文 时间:
2020-06-28 15:10:12
阅读次数:
148
cmd.py: # 导入argparse包 import argparse import math # 创建ArgumentParser实例,设置解析器 parser = argparse.ArgumentParser(description='Find the sum of two paramet ...
分类:
其他好文 时间:
2020-06-28 12:51:19
阅读次数:
50
线索二叉树(找前驱/后继) 建立线索的初衷就是为了在一个结点中能够更方便找到前驱结点和后继结点。 中序线索二叉树 先序线索二叉树 后序线索二叉树 中序线索二叉树找中序后继 //找到以p为跟的子树中,第一个被中序遍历的结点 ThreadNode *Firstnode(ThreadNode *p){ / ...
分类:
其他好文 时间:
2020-06-28 12:47:39
阅读次数:
107
参考地址 https://www.cnblogs.com/yanbigfeg/p/7346325.html 简单例子 var 找到的对象= 数组对象.find(a=>{return a.对象的属性==i}) ...
分类:
编程语言 时间:
2020-06-28 12:38:30
阅读次数:
282
find 是实时查找工具,通过遍历指定路径完成文件查找。 工作特点: 1)查找速度略慢 2)精确查找 3)实时查找 4)查找条件丰富 5)可能只搜索用户具备读取和执行权限的目录 格式: find [OPTTON]...[查找路径] [查找条件] [处理动作] 查找路径:指定具体目标路径;默认为当前目 ...
分类:
其他好文 时间:
2020-06-28 09:51:16
阅读次数:
49
link referenct to @617280219 Sort and group edges by weight. In each step we process one group of edges Discard the edges whose ends are already conne ...
分类:
其他好文 时间:
2020-06-28 09:37:19
阅读次数:
70
Given a positive integer n, find the least number of perfect square numbers (for example, 1, 4, 9, 16, ...) which sum to n. Example 1: Input: n = 12 O ...
分类:
其他好文 时间:
2020-06-28 09:27:41
阅读次数:
56