1.获取CSV数据内容public static Object[][] 
getFromCSV(String filename) { if (!(new File(filename)).exists()){ return null; 
} Object[][] content; CSVReader r....
                            
                            
                                分类:
Web程序   时间:
2014-07-22 23:16:34   
                                阅读次数:
467
                             
                    
                        
                            
                            
                                memcached在windows7上的安装问题错误:通过cmd命令行进入到C:\memcached(下载后的解压目录)运行 
memcached.exe -d install报错“ failed to install service or service already 
installed”解决方法...
                            
                            
                         
                    
                        
                            
                            
                                Several ports (8005, 8080, 8009) required by Tomcat 
v7.0 Server at localhost are already in use. The server may already be running 
in another process,...
                            
                            
                                分类:
其他好文   时间:
2014-07-22 23:13:56   
                                阅读次数:
299
                             
                    
                        
                            
                            
                                oracle 优化or 替换为in、exists、union的几种写法,测试没有问题!
根据实际情况用选择相应的语句吧!如果有索引,or全表扫描,in 和not in 也要慎用,否则会导致全表扫描,...
                            
                            
                                分类:
数据库   时间:
2014-05-01 22:12:59   
                                阅读次数:
755
                             
                    
                        
                            
                            
                                参考boke:http://blog.csdn.net/hguisu/article/details/71061591 .where 语句里面如果带有or条件, 
myisam表能用到索引, innodb不行。(在mysql5.6下测试如此)CREATE TABLE IF NOT EXISTS `a`...
                            
                            
                                分类:
数据库   时间:
2014-05-01 20:58:57   
                                阅读次数:
601
                             
                    
                        
                            
                            
                                题目: Given a string S, find the longest palindromic 
substring in S. You may assume that the maximum length of S is 1000, and there 
exists one unique lo...
                            
                            
                                分类:
其他好文   时间:
2014-05-01 20:07:13   
                                阅读次数:
429
                             
                    
                        
                            
                            
                                Submitted by Lars Windolf on 19. October 2012 - 
21:53http://lzone.de/dump%20memcache%20keysYou spent already 50GB on the 
memcache cluster, but you sti...
                            
                            
                                分类:
其他好文   时间:
2014-05-01 02:17:26   
                                阅读次数:
489
                             
                    
                        
                            
                            
                                XmlDataSource BasicsThe XmlDataSource control 
exists merely as a proxy for retrieving XML data, which can then be 
programmatically accessed or bound t...
                            
                            
                                分类:
数据库   时间:
2014-04-30 19:04:56   
                                阅读次数:
727
                             
                    
                        
                            
                            
                                原因是当前的scheduleOnce还没有执行完成,可以将scheduleOnce方法改写成另外一种形式,把CCDelayTime和CCCallFunc拼接构造延迟事件调用:CCDelayTime 
* delayAction = CCDelayTime::create(dt); CCCallFun....
                            
                            
                                分类:
其他好文   时间:
2014-04-29 20:06:01   
                                阅读次数:
1331
                             
                    
                        
                            
                            
                                <?php
   $filename="胡主席好.pdf";
   
   if(!file_exists($filename))
   {
     echo "不存在此文件";
     return;
   }
   
   $fp=fopen($filename,"r");
   $file_size=filesize($filename);
   
   //配置头文件
   
   /...
                            
                            
                                分类:
Web程序   时间:
2014-04-29 13:42:20   
                                阅读次数:
356