Given an array of integers, every element appears three times except for one. Find that single one.Note:Your algorithm should have a linear runtime co...
                            
                            
                                分类:
其他好文   时间:
2014-06-28 13:44:09   
                                阅读次数:
188
                             
                    
                        
                            
                            
                                find手册中对time的解释:以 atime 为例:-atime n File was last accessed n*24 hours ago. When find figures out how many 24-hours periods ago the file was last...
                            
                            
                                分类:
其他好文   时间:
2014-06-28 12:09:59   
                                阅读次数:
222
                             
                    
                        
                            
                            
                                Install apache2To execute the install command in terminal:sudo apt-get install apache2Then, we can find that the apache2 has been installed in "/etc/"...
                            
                            
                                分类:
Web程序   时间:
2014-06-24 09:39:53   
                                阅读次数:
363
                             
                    
                        
                            
                            
                                1. 只修改当前目录下的文件【root】#rename -s \.png \_iphone.png *这个是修改目录下 的所有文件名,加入一个后缀如: 1.png ->>> 1_iphone.png2. 递归修改当前目录下的所有子文件夹【root】#find ./ -name"*.png" | .....
                            
                            
                                分类:
其他好文   时间:
2014-06-23 07:40:53   
                                阅读次数:
193
                             
                    
                        
                            
                            
                                新装了VMWare Player,结果装上Ubuntu12.04后安装软件都提示:Unable to locate package错误,解决方法非常简单,终端输入以下命令即可:[cpp] view plaincopysudoapt-getupdate 究其原因,应该是刚安装,软件源还来不及更新...
                            
                            
                                分类:
其他好文   时间:
2014-06-23 07:02:08   
                                阅读次数:
137
                             
                    
                        
                            
                            
                                文件管理命令?基本命令:ls、cd、pwd、man?文件操作:touch、cp、rm、mv、ln、mkdir、rmdir、?文件查看:cat、more、less、head、tail?文件权限:chmod、chgrp、chown?文件搜索:which、whereis、grep、find、wc1、ls打...
                            
                            
                                分类:
系统相关   时间:
2014-06-22 23:58:30   
                                阅读次数:
447
                             
                    
                        
                            
                            
                                Minimum Path Sum:Given amxngrid filled with non-negative numbers, find a path from top left to bottom right whichminimizesthe sum of all numbers along...
                            
                            
                                分类:
其他好文   时间:
2014-06-22 23:06:39   
                                阅读次数:
290
                             
                    
                        
                            
                            
                                powerDesigner 连接Oracle 报Unable to connect SQLState=08004 解决方法...
                            
                            
                                分类:
数据库   时间:
2014-06-22 18:41:52   
                                阅读次数:
386
                             
                    
                        
                            
                            
                                在系统中查找大文件的方法:
1. 统计当前目录的文件(或文件夹)大小,并按照从大到小的顺序排序
     du -s /home/* | sort -nr
     * -h已易读的格式显示指定目录或文件的大小
     * -s选项指定对于目录不详细显示每个子目录或文件的大小
2. 查找大于100M的文件,并显示详细信息
     find . -type f -size +...
                            
                            
                                分类:
其他好文   时间:
2014-06-22 17:58:51   
                                阅读次数:
185
                             
                    
                        
                            
                            
                                竟然是搜索……囧还以为是什么神题…… 1 uses math; 2 var x,y:extended; 3 n:longint; 4 function find(x,y:extended;z:longint):extended; 5 var i:longint; 6 r1,r...
                            
                            
                                分类:
其他好文   时间:
2014-06-21 17:49:05   
                                阅读次数:
198