CPUUsageStat.Cycle:60(Second)CPUUsage:99%Max:99%CPUUsageStat.Time:2016-12-1019:37:01Dec10201619:34:38BEJ-ANF-AGG-9312-17.64%%01SECE/4/PORT_ATTACK(l)[0]:Portattackoccurred.(Slot=MPU,SourceAttackInterface=XGigabitEthernet3/0/1,OuterVlan/InnerVlan=1904/0,Attac..
分类:
其他好文 时间:
2016-12-10 23:10:44
阅读次数:
1234
又是兴趣系列
网上有很多自动强红包的例子和代码,笔者也是做了一些优化。
先说说自己的两个个优势
1.可以在聊天界面自动强不依赖于通知栏推送
2.可以在屏幕熄灭的时候的时候点亮屏幕自动抢(目前只...
分类:
微信 时间:
2016-12-09 12:21:57
阅读次数:
434
Pseudoforest Problem Description In graph theory, a pseudoforest is an undirected graph in which every connected component has at most one cycle. The ...
分类:
其他好文 时间:
2016-12-09 07:46:42
阅读次数:
224
reference to : http://www.linuxidc.com/Linux/2014-12/110165.htm 前一篇文章主要讲了自定义View为什么要重载onMeasure()方法(见 http://www.linuxidc.com/Linux/2014-12/110164.htm ...
分类:
移动开发 时间:
2016-12-06 03:26:38
阅读次数:
241
A. Boxes and Balls 二分找到最大的不超过$n$的$\frac{x(x+1)}{2}$形式的数即可。 B. Business Cycle 二分答案,然后暴力模拟,如果没有爆负,则说明进入了循环节,后面直接算,注意最后要预留若干轮暴力模拟。 C. Suffixes and Palind ...
分类:
其他好文 时间:
2016-12-06 02:49:40
阅读次数:
196
关于__block 与__weak http://stackoverflow.com/questions/19227982/using-block-and-weak 一下是一些区别的介绍 MRC: __block 能够使访问的变量能够在block中的修改生效,__block能够避免retain cy ...
分类:
移动开发 时间:
2016-12-02 01:53:54
阅读次数:
162
strong,weak,retain,assign,copy nomatic 等的区别 copy与retain:1、copy其实是建立了一个相同的对象,而retain不是;2、copy是内容拷贝,retain是指针拷贝; 3、copy是内容的拷贝 ,对于像NSString,的确是这样,但是如果cop ...
分类:
移动开发 时间:
2016-12-01 14:54:28
阅读次数:
259
Given a linked list, return the node where the cycle begins. If there is no cycle, return null. Note: Do not modify the linked list. 使用快慢指针, fast每次前进两 ...
分类:
其他好文 时间:
2016-12-01 14:13:41
阅读次数:
130
1、前言 今天在搭建Go语言环境,从https://golang.org/dl/上下载一个Go语言环境。环境变量配置刚开始如下配置: GOROOT=/home/go/bin go执行文件目录 GOPATH=/home/go go的安装目录 写个测试程序提示如下错误: 正确的配置如下: GOROOT配 ...
分类:
其他好文 时间:
2016-11-30 17:16:10
阅读次数:
241
Given a linked list, determine if it has a cycle in it. ExampleGiven -21->10->4->5, tail connects to node index 1, return true Challenge Follow up:Can ...
分类:
其他好文 时间:
2016-11-30 03:34:20
阅读次数:
164