167. Two Sum II - Input array is sorted Given an array of integers that is already sorted in ascending order, find two numbers such that they add up t ...
分类:
其他好文 时间:
2018-06-07 19:27:09
阅读次数:
125
一、实时查看 电脑耗的一般是内存 用top命令查看,CPU、内存、使用率,实时数据;用 q 健退出或者 Ctrl +C退出 top 结果 解读 top - 01:47:27 up 6:00, 2 users, load average: 0.00, 0.03, 0.05Tasks: 154 tota ...
分类:
系统相关 时间:
2018-06-06 22:24:28
阅读次数:
239
自己动手写了创建虚拟接口,删除虚拟接口程序,频繁调用创建删除时,有时将接口up起来时会报错: Name not unique on network 利用ip link命令来查看接口(及其对应的索引) 可以查看到与其他接口不同的是有个标志为 NO-CARRIER,不知道是什么意思,查看ip的源代码(此 ...
分类:
其他好文 时间:
2018-06-06 22:22:40
阅读次数:
178
Publish to a Linux Production Environment By Sourabh Shirhatti In this guide, we will cover setting up a production-ready ASP.NET environment on an Ub ...
分类:
系统相关 时间:
2018-06-06 18:30:59
阅读次数:
201
HTML 是文本标记语言(Hyper Text Mark-up Language) Html文件的扩展名一般为.html或者.htm Html内的标签一般是成对出现,有开始就有结束 第一个标签:<html>所有网页内容都是放在html标签内</html> html标签是网页是最大的标签 第二个标签: ...
分类:
Web程序 时间:
2018-06-06 10:48:59
阅读次数:
231
question: Implement the constructor for MaxPQ taht takes an array of items as argument, using the bottom-up heap construction method described on page ...
分类:
其他好文 时间:
2018-06-05 20:01:10
阅读次数:
149
CentOS 7 设置网络IP地址自动获得IP地址1,CentOS 7自动获得一个IP地址[root@aminglinux ~]# dhclient2,查看网卡信息,会发现有一个ens33的网卡[root@aminglinux ~]# ip addr1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN q
分类:
其他好文 时间:
2018-06-05 16:21:53
阅读次数:
500
Setting up sinks 有时候,trivial(简单的)logging不能满足要求。例如,想要更多的处理日志处理,而不是简单地打印出来。为此,必须自己构建自定义的sinks,并且将它们注册到core中。这步操作通常在只在程序的开始执行一次。 作为开始,下面是如何初始化一个log,让其出输出 ...
分类:
其他好文 时间:
2018-06-05 00:34:39
阅读次数:
191
1.下载地址:http://www.cocos.com/download 2. 3.cd 到当前文件夹 aaaa$ ./setup.py Setting up cocos2d-x... ->Check environment variable COCOS_CONSOLE_ROOT ->Search ...
分类:
其他好文 时间:
2018-06-04 16:45:21
阅读次数:
108
Given an array of integers, return indices of the two numbers such that they add up to a specific target. You may assume that each input would have ex ...
分类:
其他好文 时间:
2018-06-04 14:39:02
阅读次数:
150