Docker安装Zabbix CentOS7 默认使用的是firewall作为防火墙 查看防火墙状态 firewall-cmd --state 停止firewall systemctl stop firewalld.service 开启firewall firewall-cmd --state 禁止 ...
分类:
其他好文 时间:
2020-10-13 17:20:37
阅读次数:
20
MongoDB增删改查操作 MongoDB数据库服务启动和关闭 net start mongodb net stop mongodb 数据库连接 先使用npm install mongoose安装mongoose依赖,之后使用mongoose提供的connect方法即可连接数据库。 const mo ...
分类:
数据库 时间:
2020-10-08 18:21:12
阅读次数:
25
Event Bubbling:即指某个事件不仅会触发当前元素,还会以嵌套顺序传递到父元素中。直观而言就是对于某个子元素的点击事件同样会被父元素的点击事件处理器捕获。避免Event Bubbling的方式可以使用event.stopPropagation() 或者 IE 9 以下使用event.can ...
分类:
其他好文 时间:
2020-09-24 20:48:34
阅读次数:
36
2019年11月30日启动、停止、重启容器docker start #启动一个或多个已经被停止的容器docker stop #停止一个运行中的容器docker restart #重启容器语法docker start [OPTIONS] CONTAINER [CONTAINER...]docker s ...
分类:
其他好文 时间:
2020-09-24 20:48:20
阅读次数:
35
使用AWS Fargate ECS部署Docker应用,配置Fluent Bit归集日志,ECS vs EKS
分类:
其他好文 时间:
2020-09-23 23:46:52
阅读次数:
32
System.Diagnostics.Stopwatch stopwatch = new Stopwatch(); stopwatch.Start(); // 开始监视代码运行时间 stopwatch.Stop(); // 停止监视 TimeSpan timespan = stopwatch.Ela ...
##C++版本: Tarjan强联通分量 void tarjan(int u) { int v; dfn[u] = low[u] = ++in; instack[u] = true; Stap[++stop] = u; for (int i = head[u]; i; i = eg[i].nex) ...
分类:
移动开发 时间:
2020-09-18 00:10:24
阅读次数:
50
在Ubuntu上安装好elasticsearch后,先用如下命令测试elasticsearch是否有问题: sudo systemctl start elasticsearch.service sudo systemctl stop elasticsearch.service 如果输入命令后无反应, ...
分类:
系统相关 时间:
2020-09-18 00:08:08
阅读次数:
38
1.训练集数据量大,测试集数据了小,容易在复赛过拟合 2.数据:个人信息 App的使用信息 个人消费记录 3.处理过程: 1)数据清洗 1.1 对缺失值的对维度处理 1.1.1 按列属性统计缺失值(可视化) 剔除缺失值比例高的属性(90%左右); 缺失值比例在40%~60%(缺省型-1); 确实在2 ...
分类:
其他好文 时间:
2020-09-17 22:31:23
阅读次数:
28
今天在写js相册代码时注意到 mouseover是对整个组件起效果的,子元素会发生冒泡,比如这样无论我是移入时到li标签还是子元素img都 外边框都会是红色 而mouseenter只对监听的那个标签起效果,子元素没有发生冒泡,像这样我移动到img时边框就没了 mouseout 事件与mouseove ...
分类:
其他好文 时间:
2020-09-17 22:17:34
阅读次数:
30