There is a box protected by a password. The password is n digits, where each letter can be one of the first k digits 0, 1, ..., k-1. You can keep inpu ...
分类:
其他好文 时间:
2019-05-16 23:04:39
阅读次数:
251
报错:CryptographyDeprecationWarning代码引用:import paramikoclient = paramiko.SSHClient()client.connect(serverIp, port=serverPort, username=serverUser)报警告如下:... ...
分类:
编程语言 时间:
2019-05-13 14:34:11
阅读次数:
251
1.停止数据库[root@db01 ~]# /etc/init.d/mysqld stop 2.跳过授权表启动mysql[root@db01 ~]# mysqld_safe --skip-grant-tables --skip-networking & 3.尝试创建用户mysql> create u ...
分类:
数据库 时间:
2019-05-09 20:03:04
阅读次数:
141
在angular中使用ng-data-html渲染dom时,遇到了一个Attempting to use an unsafe value in a safe context错误,官方给出的理由是‘试图在安全的上下文中使用不安全的值’。 导致此问题的实际原因是,返回数据中包含了html模板,angul ...
分类:
Web程序 时间:
2019-05-09 19:41:36
阅读次数:
628
Candles have been used to remove light for centuries, but it took hundreds of years to make better candles. Some of the problems with the real candles ...
分类:
其他好文 时间:
2019-05-09 15:40:39
阅读次数:
99
zabbix 分布式监控代理(proxy) 概述: zabbix proxy 可以代替 zabbix server 收集性能和可用性数据,然后把数据汇报给 zabbix server,并且在一定程度上分担了zabbix server 的压力.此外,当所有agents和proxies报告给一个Zabb ...
分类:
其他好文 时间:
2019-05-08 21:35:55
阅读次数:
177
在使用 hdfs 的时候出现如下错误: 18/01/12 09:04:34 INFO fs.TrashPolicyDefault: Namenode trash configuration: Deletion interval = 0 minutes, Emptier interval = 0 mi ...
分类:
其他好文 时间:
2019-05-04 10:09:35
阅读次数:
158
先描述下博主遇到这个问题的情况,然后描述针对该情况的解决办法. 问题描述: 博主遇到这个问题是在 使用ricequant平台中封装的jupyter notebook中做单因子有效性分析使用 alphalens33 模块的时候,具体报错情况如下图: 当时也是网上搜索各种办法,大概定位问题 是时间的类型 ...
分类:
其他好文 时间:
2019-05-02 18:38:20
阅读次数:
150
看 "java并发编程的艺术" 第3.8 双重检查锁定与延迟初始化 在Java多线程程序中,有时候需要采用延迟初始化来降低初始化类和创建对象的开销。双重检查锁定是常见的延迟初始化技术,但它是一个错误的用法。本文将分析双重检查锁定的错误根源,以及两种线程安全的延迟初始化方案。 需要注意的是, 双重检查 ...
分类:
其他好文 时间:
2019-04-29 20:41:30
阅读次数:
103