Jingze is a big figure in California State University for his stubbornness. Because of his new failure in the last CET-4, he has decided not to solve ...
分类:
其他好文 时间:
2018-09-10 22:23:27
阅读次数:
243
思路: 求交集最大老套路,排序之后用堆维护即可。 c++ include using namespace std; const int mod = 1e9+7; const int maxn = 1000010; inline int read() { int q=0,f=1;char ch = g ...
分类:
其他好文 时间:
2018-09-10 13:40:17
阅读次数:
348
简介 部署图也称配置图,用来显示系统中硬件和软件的物理架构。从中可以了解到软件和硬件组件之间的物理拓扑、连接关系以及处理节点的分布情况。 部署图建模步骤 - 找出需要进行部署的各类节点,如网络硬件设备、服务器硬件设备、及部署在硬件设备上的软件系统等 - 确定各类节点之间的连接关系及通信方式 - 从性 ...
分类:
编程语言 时间:
2018-09-09 23:08:22
阅读次数:
321
前言 上一篇pytest文档2-用例运行规则已经介绍了如何在cmd执行pytest用例,平常我们写代码在pycharm比较多 写完用例之后,需要调试看看,是不是能正常运行,如果每次跑去cmd执行,太麻烦,所以很有必要学习如何在pycharm里面运行pytest用例 pycharm运行三种方式 1.以 ...
分类:
其他好文 时间:
2018-09-09 19:43:17
阅读次数:
461
Build Source Code: Follow the steps in https://thingsboard.io/docs/user-guide/install/building-from-source/ If there is a failure, follow the steps: I ...
分类:
其他好文 时间:
2018-09-06 18:05:04
阅读次数:
213
接某美国客户北京分公司报修说有两台DELL服务器(R620和R720)报错,需要现场处理。报错内容如下:Voltage sensor detected a failure value Sensor location: System Board PS1 PG FailChassis...
分类:
其他好文 时间:
2018-09-04 11:38:39
阅读次数:
223
Github地址:https://github.com/kubernetes/client-go 访问kubernetes集群有几下几种方式: 使用client-go获取Deployment列表: package main import ( "path/filepath" "k8s.io/clien ...
分类:
Web程序 时间:
2018-09-04 01:44:03
阅读次数:
433
发现问题: 忽然发现某台机器时间慢了些几分钟,之前没有搭建ntpd服务,目前都是使用的ntpdate加定时任务进行时间同步。直接执行ntpdate报错如下: 问题原因: 一般报错为Temporary failure in name resolution为无法解析,经测试ping也不通。所以判断为re ...
分类:
其他好文 时间:
2018-09-03 18:27:46
阅读次数:
341
主要参考了https://stackoverflow.com/questions/44651219/kafka-deployment-on-minikube和https://github.com/ramhiser/kafka-kubernetes两个项目,但是这两个项目都是单节点的Kafka,我这里 ...
分类:
Web程序 时间:
2018-08-31 21:20:09
阅读次数:
603
Setting --> Build, Execution, Deployment --> Debugger 选中即可 ...
分类:
其他好文 时间:
2018-08-28 21:18:24
阅读次数:
156