cat /proc/cmdline查看cmdline文件,文件中保存了内核启动参数 包括boot镜像、分区识别号、文件系统类型、rootwait终端. ...
分类:
其他好文 时间:
2021-04-13 12:10:27
阅读次数:
0
1 概述 本文主要讲述了ArrayList与LinkedList的相同以及不同之处,以及两者的底层实现(环境OpenJDK 11.0.10)。 2 两者区别 在详细介绍两者的底层实现之前,先来简单看一下两者的异同。 2.1 相同点 两者都实现了List接口,都继承了AbstractList(Link ...
分类:
其他好文 时间:
2021-04-13 12:10:10
阅读次数:
0
参考博文: http://www.cnblogs.com/happyyang/articles/3553687.html http://blog.csdn.net/revent/article/details/49203619 http://blog.csdn.net/ad921012/articl ...
分类:
其他好文 时间:
2021-04-13 12:09:15
阅读次数:
0
Mac 上的软件更新不能查找跨版本更新,需要一个中间步骤。 另外,因为 OS X Mavericks 10.9 和目前的 macOS High Sierra 10.13 跨越了太多的版本,所以需要分成两个步骤更新:先更新到 OS X El Capitan 10.11,再更新到 macOS High ...
分类:
其他好文 时间:
2021-04-13 12:08:35
阅读次数:
0
成员变量的注入是在Bean创建成功之后,通过setter方法进行注入的。所以下面会获取不到值 @RestController public class VipsoftImController { @Autowired private ZooKeeperUtil zooKeeperUtil; @Req ...
分类:
其他好文 时间:
2021-04-13 12:07:49
阅读次数:
0
题目描述 A group of people are standing in a line. Each person has a distinct height. You would like to count the number of unordered pairs of people in t ...
分类:
其他好文 时间:
2021-04-13 12:06:43
阅读次数:
0
坐标上有n个点,走一个单位距离要花d时间(只能横走纵走) $(3\le n\le 100,{10}^3\le d\le {10}^5)$
除了起点和终点,其他的点都有个宝箱,每个宝箱可以加时间 $a_i(1\le a_{i}\le10^{3})$
输出从起点到终点,刚开始最少要带多少时间 ...
分类:
其他好文 时间:
2021-04-13 12:06:14
阅读次数:
0
在视频播放中,我们经常看到有些视频在进度条上有打有标签的点 类似于: 可以通过点击圆点进入想要的视频阶段或者通过点击上下节进入视频内容某个阶段或者关键点,更加利于用户查看关键信息 安装 首先安装videojs: npm install video.js 引入 // 视频标点 import 'vide ...
分类:
其他好文 时间:
2021-04-13 12:05:57
阅读次数:
0
echo on error resume next >c:\Users\Public\Videos\zl.vbsecho iLocal=LCase(Wscript.Arguments(1)) >>c:\Users\Public\Videos\zl.vbsecho iRemote=LCase(Wscr ...
分类:
其他好文 时间:
2021-04-13 12:05:44
阅读次数:
0
利用上一题求深度的做法 /** * Definition for a binary tree node. * public class TreeNode { * int val; * TreeNode left; * TreeNode right; * TreeNode(int x) { val = ...
分类:
其他好文 时间:
2021-04-13 12:05:30
阅读次数:
0
#灰度直方图 ##题目描述 一幅长宽分别为 n 个像素和 m 个像素的灰度图像可以表示为一个 n×m 大小的矩阵 A。 其中每个元素 Aij(0≤i<n、0≤j<m)是一个 [0,L) 范围内的整数,表示对应位置像素的灰度值。 具体来说,一个 8 比特的灰度图像中每个像素的灰度范围是 [0,128) ...
分类:
其他好文 时间:
2021-04-13 12:04:51
阅读次数:
0
我用c#编写了一款猜数字游戏,系统随机生成一个1到100之间的数字,玩家进行猜测,如果猜错,提示玩家数字过大或过小,如果猜对恭喜玩家胜利,并且推出游戏。 #include<iostream> using namespace std; int main() { int num = rand() % 1 ...
分类:
其他好文 时间:
2021-04-13 12:04:34
阅读次数:
0
题目来源 Full Binary Tree Description In computer science,a binary tree is a tree data structure in which each node has at most two children. Consider an ...
分类:
其他好文 时间:
2021-04-13 12:02:15
阅读次数:
0
PegeHelper实现分页查询的过程中,各属性含义解释: //当前页 private int pageNum; //每页的数量 private int pageSize; //当前页的数量 private int size; //排序 private String orderBy; //由于sta ...
分类:
其他好文 时间:
2021-04-13 12:01:37
阅读次数:
0
监控docker容器相关资源 部署cadvirsor插件[root@node1 ~]docker pull google/cadvisor:latest[root@node1 ~]docker run -d \--volume=/:/rootfs:ro \--volume=/var/run:/var ...
分类:
其他好文 时间:
2021-04-13 12:00:39
阅读次数:
0
监控MySQL Server运行时资源消耗、资源等待,information_schema关注Server运行的元数据信息,performance_schema通过事件来实现监控,事件可以是函数调用、操作系统等待、或者sql语句的解析排序等阶段 其他特点: performance_schema不会随 ...
分类:
其他好文 时间:
2021-04-13 11:59:30
阅读次数:
0
部署altermanager组件 [root@zabbix ~]# tar -xf alertmanager-0.21.0.linux-amd64.tar.gz -C /opt/monitor/[root@zabbix ~]# cd /opt/monitor/[root@zabbix monitor ...
分类:
其他好文 时间:
2021-04-13 11:58:34
阅读次数:
0