ffmpeg.exe-probesize32768-i"rtmp://localhost/live/1live=1"-y-t0.001-ss1-fimage2-r1c:/rtm.jpeg
                            
                            
                                分类:
其他好文   时间:
2014-05-08 12:27:04   
                                阅读次数:
432
                             
                    
                        
                            
                            
                                + (UIImage*)imageWithImageSimple:(UIImage*)image 
scaledToSize:(CGSize)newSize{ UIGraphicsBeginImageContext(newSize); [image 
drawInRect:CGRectMake(0,.....
                            
                            
                                分类:
其他好文   时间:
2014-05-08 11:49:49   
                                阅读次数:
191
                             
                    
                        
                            
                            
                                如果要获取一张图片原本的高度和宽度,我们一般这样获取var url = 
"../images/1.jpg";var img = new Image();img.src = url;img.onload = function(){ 
//do something.....}当图片从服务器传到本来(也即....
                            
                            
                                分类:
其他好文   时间:
2014-05-08 11:23:03   
                                阅读次数:
358
                             
                    
                        
                            
                            
                                Single Number
 Total Accepted: 19800 Total
 Submissions: 44027My Submissions
Given an array of integers, every element appears twice except for one. Find that single one.
Note:
Your algor...
                            
                            
                                分类:
其他好文   时间:
2014-05-08 11:01:40   
                                阅读次数:
298
                             
                    
                        
                            
                            
                                Struts2出现错误,总是提示"There is no Action mapped for 
namespace / and action name"的错误。 错误代码如下: 09:36:13,515 WARN [Dispatcher] Could 
not find action or result...
                            
                            
                                分类:
移动开发   时间:
2014-05-08 10:26:18   
                                阅读次数:
525
                             
                    
                        
                            
                            
                                Find the maximumTime Limit: 2000/1000 MS 
(Java/Others)Memory Limit: 65768/65768 K (Java/Others)Total Submission(s): 
1561Accepted Submission(s): 680Pro...
                            
                            
                                分类:
其他好文   时间:
2014-05-08 08:33:37   
                                阅读次数:
299
                             
                    
                        
                            
                            
                                解决V9缩略图模糊/libs/classes/image.class.php注释掉elseimagecopyresized($thumbimg,$srcimg,0,0,$psrc_x,$psrc_y,$width,$height,$srcwidth,$srcheight);另将102行的$image...
                            
                            
                                分类:
Web程序   时间:
2014-05-08 07:43:20   
                                阅读次数:
391
                             
                    
                        
                            
                            
                                1,下载MongoDB数据库扩展介质wget 
http://pecl.php.net/get/mongo-1.5.1.tgz2,tar zxvf mongo-1.5.1.tgz && cd 
mongo-1.5.1 && phpize3,find / -name php-config 搜索php配置文...
                            
                            
                                分类:
数据库   时间:
2014-05-08 06:59:08   
                                阅读次数:
327
                             
                    
                        
                            
                            
                                Given an array of integers, find two numbers 
such that they add up to a specific target number.The function twoSum should 
return indices of the two nu...
                            
                            
                                分类:
其他好文   时间:
2014-05-08 06:33:29   
                                阅读次数:
339
                             
                    
                        
                            
                            
                                之前一直做docker的实验,可是遇到了好多问题,在ubuntu 12.04 
环境下很难模拟出真实机器的环境,(尤其是hosts文件无法修改,服务无法启动。。。),就转战vagrant,放弃了一段时间。最近docker 0.10 
发布加上ubuntu14.04 的感觉docker用起来和顺手多了,所...
                            
                            
                                分类:
其他好文   时间:
2014-05-08 01:35:00   
                                阅读次数:
346