在有些应用中需要用到背景音乐和音效,那在程序中是这么实现的。1.首先加载背景音乐需要用到AVFoundation框架2.音乐资源都是在包里的,所以需要获得包路径,涉及方法- 
(id)initWithContentsOfURL:(NSURL *)url error:(NSError **)outErr...
                            
                            
                                分类:
其他好文   时间:
2014-05-10 08:26:10   
                                阅读次数:
275
                             
                    
                        
                            
                            
                                转载至 : http://www.blogjava.net/huamengxing/archive/2009/10/21/299153.htmlStruts2架构图有视频讲解百度一下就可以找到了 
我是在 私塾在线看到的 (因为这里放链接处error所以就没上连接了) 请求首先通过Filter c.....
                            
                            
                                分类:
其他好文   时间:
2014-05-10 07:37:57   
                                阅读次数:
470
                             
                    
                        
                            
                            
                                VS2010 C++ win32 DLL 工程, 添加 rc 文件, 编辑 String 
Table。默认情况下英文版本的 rc 文件能够顺序编译通过,为了让工程支持多语言,将字符串修改为其他语言时,编译就会出错error RC2135: file 
not found.解决方案参考:[经验之谈]VS...
                            
                            
                                分类:
其他好文   时间:
2014-05-10 06:12:44   
                                阅读次数:
275
                             
                    
                        
                            
                            
                                需要每隔一段时间选取最老的商户更新时间戳: 
update DP_Shop set DP_Shop.LastDate = now() where DP_Shop.ShopId in (select ShopId from DP_Shop order by LastDate limit 5); 
ERROR 1235 (42000): This version of MySQL doesn't ...
                            
                            
                                分类:
数据库   时间:
2014-05-10 04:22:58   
                                阅读次数:
423
                             
                    
                        
                            
                            
                                将IP表存入SQL里的程序
写得比较粗糙,还有一点错误,不过能达到效果,请大家测试 
create.asp 
----------------------------------------------------------------------- 
'Option Explicit 
Server.Scripttimeout = 1000 
On Error Resume N...
                            
                            
                                分类:
数据库   时间:
2014-05-10 04:22:32   
                                阅读次数:
563
                             
                    
                        
                            
                            
                                configure: error: APR not found.  Please read the documentation.
configure: error: APR-util not found.  Please read the documentation....
                            
                            
                                分类:
其他好文   时间:
2014-05-10 04:20:35   
                                阅读次数:
316
                             
                    
                        
                            
                            
                                简单说下实现苹果通知推送服务(APNs)客户端的一些要注意的地方:
使用长连接;sanbox服务器是没用的,调试时直接用“gateway.push.apple.com”域名;对于错误的Notification,苹果会回应一个Error response,里面有个identifier,在这个identifier之后的Notification全都失败;
因此发送者要缓存已经发送的Not...
                            
                            
                                分类:
移动开发   时间:
2014-05-10 03:33:21   
                                阅读次数:
473
                             
                    
                        
                            
                            
                                当hive在执行大数据量的统计查询语句时,经常会出现下面OOM错误,具体错误提示如下:
Possible error: Out of memory due to hash maps used in map-side aggregation.
Solution: Currently hive.map.aggr.hash.percentmemory is set to 0.5. Try set...
                            
                            
                                分类:
其他好文   时间:
2014-05-09 21:08:27   
                                阅读次数:
366
                             
                    
                        
                            
                            
                                在 mkfs.ext4 /dev/sda2 格式化硬盘空间时,可能出现这样的错误。
had this situation at office where I was told to re-partition an already existing partition. The situation was to get the below schema
/dev/sdb1 1 3040 24...
                            
                            
                                分类:
其他好文   时间:
2014-05-09 20:49:25   
                                阅读次数:
343
                             
                    
                        
                            
                            
                                在上一个例子中,元素的类名使用拼接的方法,这样,类名中就不得不带有true或false,并且不易维护,所以,angular使用ng-class属性来控制元素的类名:我们来看一个小例子,点击error按钮,顶部提示错误框,点击warning按钮,顶部提示警告框.错误框的类名是.err,警告框的类名是....
                            
                            
                                分类:
Web程序   时间:
2014-05-09 19:30:28   
                                阅读次数:
523