In Gnome 3, gnome-shell is used for displaying the top bar. The widgets can be installed online from http://extensions.gnome.org. After installation, ...
                            
                            
                                分类:
其他好文   时间:
2014-06-30 13:33:22   
                                阅读次数:
172
                             
                    
                        
                            
                            
                                1、命令注入(Command Injection)PHP中可以使用下列5个函数来执行外部的应用程序或函数system、exec、passthru、shell_exec、“(单撇号,与shell_exec功能相同,如)例:提交http://www.sectop.com/ex1.php?dir=| ca...
                            
                            
                                分类:
Web程序   时间:
2014-06-30 12:10:17   
                                阅读次数:
263
                             
                    
                        
                            
                            
                                题目
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 path.
Note: You can only move either down...
                            
                            
                                分类:
其他好文   时间:
2014-06-30 11:10:34   
                                阅读次数:
211
                             
                    
                        
                            
                            
                                今日在微博看到如此神奇的代码,居然还有新的sort算法,对于我这种渣渣必须研究一下,代码如下:
#!/bin.bash
function f()
{
    sleep "$1" //sleep 这么多ms
    echo "$1"
}
while [ -n "$1" ] //第一个参数不为空
do
    f "$1" & //后台运行,相当于fork一个进程去执行f, 父进程同...
                            
                            
                                分类:
其他好文   时间:
2014-06-30 08:41:57   
                                阅读次数:
256
                             
                    
                        
                            
                            
                                首先来看看变量的问题
                [root@localhost ~]# dhh=1
[root@localhost ~]# echo $dhh
1
开一个子shell测试
[root@localhost ~]# bash
[root@localhost ~]# echo $dhh
没有值
                 使用export
 [roo...
                            
                            
                                分类:
系统相关   时间:
2014-06-30 00:53:44   
                                阅读次数:
270
                             
                    
                        
                            
                            
                                1. start IDLE
“Python 2.5”→“IDLE(Python GUI)”
2. open your source file window
From python shell, select file->open...
3. show debug control
From python shell, select Debug->Debuger
4....
                            
                            
                                分类:
编程语言   时间:
2014-06-29 22:47:26   
                                阅读次数:
356
                             
                    
                        
                            
                            
                                packagecom.yuhui.gd.hadoop.hbase;importjava.util.Iterator;importjava.util.Map;importjava.util.Map.Entry;importjava.util.NavigableMap;importjava.util.Set;importorg.apache.hadoop.conf.Configuration;importorg.apache.hadoop.hbase.HBaseConfiguration;importorg.ap..
                            
                            
                                分类:
编程语言   时间:
2014-06-29 21:09:00   
                                阅读次数:
453
                             
                    
                        
                            
                            
                                find命令
find pathname -options [-print -exec -ok ...]
  -print: find命令将匹配的文件输出到标准输出。
  -exec: find命令对匹配的文件执行该参数所给出的shell命令。相应命令的形式为'command' { } \;,注意{ }和\;之间的空格。
  -ok: 和-exec的作用相同,只不过以一种更...
                            
                            
                                分类:
系统相关   时间:
2014-06-29 20:48:34   
                                阅读次数:
355
                             
                    
                        
                            
                            
                                一. 介绍 HBase是一个分布式的、面向列的开源数据库,源于google的一篇论文《bigtable:一个结构化数据的分布式存储系统》。HBase是Google Bigtable的开源实现,它利用Hadoop HDFS作为其文件存储系统,利用Hadoop MapReduce来处理HBase中的.....
                            
                            
                                分类:
其他好文   时间:
2014-06-29 19:20:17   
                                阅读次数:
252
                             
                    
                        
                            
                            
                                Maven提供了三个隐式的变量可以用来访问环境变量,POM信息,和Maven Settingsenvenv变量,暴露了你操作系统或者shell的环境变量。便 如在Maven POM中一个对${env.PATH}的引用将会被${PATH}环境变量替换,在Windows中为%PATH%.projetcp...
                            
                            
                                分类:
其他好文   时间:
2014-06-29 18:57:44   
                                阅读次数:
163