原创!ngxtop-监控nginx的利器!!!无论名称还是界面,ngxtop的灵感均源自大名鼎鼎的top命令.ngxtop的功能就是,分析Nginx访问日志文件(以及其他日志文件,比如Apache2日志),并通过类似top的界面,实时显示分析后所得的结果.你可能吹嘘自己的综合监控工具拥有各种各样的所...
                            
                            
                                分类:
其他好文   时间:
2014-06-11 12:47:49   
                                阅读次数:
309
                             
                    
                        
                            
                            
                                本文主题: 图标素材、浏览器兼容测试、 eclipse 
插件、jquery插件、Android工具Android 上的 10 款 Web 开发应用工具 - 
开源中国社区http://www.oschina.net/news/19793/top-10-web-development-apps-f...
                            
                            
                                分类:
系统相关   时间:
2014-06-08 22:25:36   
                                阅读次数:
413
                             
                    
                        
                            
                            
                                【题目】
Given a triangle, find the minimum path sum from top to bottom. Each step you may move to adjacent numbers on the row below.
For example, given the following triangle
[
     [2],
    [3,4],
   [6,5,7],
  [4,1,8,3]
]
The minimum path sum from top to...
                            
                            
                                分类:
其他好文   时间:
2014-06-08 17:52:45   
                                阅读次数:
235
                             
                    
                        
                            
                            
                                今天在群里面,有人抛出了一个关于css中margin-right没有效果的问题。CSS代码和HTML代码如下:
 .style1{
width:400px;
height:440px;
background-color:red;
border:5px solid silver;
margin-top:20%;
margin-right:30%;
}...
                            
                            
                                分类:
其他好文   时间:
2014-06-08 17:38:27   
                                阅读次数:
204
                             
                    
                        
                            
                            
                                问题
给定N个元素的数组,求第k大的数。
特例
当k=0时,就是求最大值,当k=N-1时,就是求最小值。
应用
顺序统计
求top N排行榜
基本思想
使用快速排序方法中的分区思想,使得a[k]左侧没有更小的数,右侧没有更大的数
性能
快速选择算法的复杂度...
                            
                            
                                分类:
其他好文   时间:
2014-06-08 09:58:08   
                                阅读次数:
211
                             
                    
                        
                            
                            
                                android 中使用Canvas的drawText绘制文本的位置,是基于基线的。如下图:
其中字母Q的小尾巴在横线下面了。
怎么样找准字母的中心位置呢?
先看下面的例子:(右边的数字,表示字体的 left, top, right, bottom)
这里面的关键是Paint.getTextBound。 getTextBound会填充一个Rect,这个Rect表示...
                            
                            
                                分类:
移动开发   时间:
2014-06-08 09:08:44   
                                阅读次数:
279
                             
                    
                        
                            
                            
                                Rotating Sentences 
In ``Rotating Sentences,'' you are asked to rotate a series of input sentences 90 degrees clockwise. So instead of displaying the input sentences from left to right and top to b...
                            
                            
                                分类:
其他好文   时间:
2014-06-08 04:51:34   
                                阅读次数:
236
                             
                    
                        
                            
                            
                                Android中有时需动态设置控件四周的drawble图片,这个时候就需要调用 
setCompoundDrawables(left, top, right, 
bottom),四个参数类型都是drawableButton继承TextView,所以可以采用相同的设置方法方法一.XML方式方法二.JAVA...
                            
                            
                                分类:
移动开发   时间:
2014-06-08 01:17:39   
                                阅读次数:
430
                             
                    
                        
                            
                            
                                题目链接 Given a m x n grid filled with non-negative 
numbers, find a path from top left to bottom right which minimizes the sum of 
all numbers along its p...
                            
                            
                                分类:
其他好文   时间:
2014-06-07 21:59:08   
                                阅读次数:
344
                             
                    
                        
                            
                            
                                Given amxngrid filled with non-negative 
numbers, find a path from top left to bottom right whichminimizesthe sum of all 
numbers along its path.Note:Yo...
                            
                            
                                分类:
其他好文   时间:
2014-06-07 20:22:17   
                                阅读次数:
264