maven在build构建时,加载资源文件时需要配置资源文件插件:1,在pom.xml文件中加入 ${project.build.target.file.name} ${basedir}/target ${basedir}/src/main/java ${basedir}...
                            
                            
                                分类:
移动开发   时间:
2014-07-27 10:10:22   
                                阅读次数:
288
                             
                         
                    
                        
                            
                            
                                解:这道题很有意思,结论是斐波那契数也可以用对数时间复杂度获得。 通过Tpq(Tpq)=TPQ建立方程,解得: P=pp+qq Q=qq+2pq 程序如下: (define?(fib?n)
??(define?(even??n)
????(=?(remainder?n?2...
                            
                            
                                分类:
其他好文   时间:
2014-07-26 17:26:42   
                                阅读次数:
713
                             
                         
                    
                        
                            
                            
                                解: 公共过程 (define?(even??n)
??(=?(remainder?n?2)?0))
(define?(double?n)
??(+?n?n))
(define?(halve?n)
??(/?n?2)) 1.16: (define?(expt?b?n)
??(define?(iter?b?n?a)
...
                            
                            
                                分类:
其他好文   时间:
2014-07-26 15:41:42   
                                阅读次数:
232
                             
                         
                    
                        
                            
                            
                                Suppose a sorted array is rotated at some pivot unknown to you beforehand.
(i.e., 0 1 2 4 5 6 7 might become 4
 5 6 7 0 1 2).
You are given a target value to search. If found in the array retur...
                            
                            
                                分类:
其他好文   时间:
2014-07-26 15:16:50   
                                阅读次数:
199
                             
                         
                    
                        
                            
                            
                                atitit.表单验证的dsl 本质跟 easyui ligerui比较 
 
1. DSL 声明验证 1
2. 自定义规则 1
3. 正则表达式验证,可以扩展实现 2
4. 犯错误消息提示,generic canBeEmpty is good 3
5. Prevent the form to submit when invalid 3
6. 为空则不验证,不为空则验证,的实现 5
...
                            
                            
                                分类:
其他好文   时间:
2014-07-26 15:09:30   
                                阅读次数:
316
                             
                         
                    
                        
                            
                            
                                周氏一族,整理技术文档,给下一代留点教程...如题,今天在配置服务器的时候,发现这个问题,以前也经常有,但是懒得去搞,今天整理一下,留下笔记[root@Nginx_Web02home]#setup-bash:setup:commandnotfound[root@Nginx_Web02home]#遇到这种问题,一般都可以不难猜想得出,网络..
                            
                            
                                分类:
其他好文   时间:
2014-07-26 03:26:37   
                                阅读次数:
247
                             
                         
                    
                        
                            
                            
                                I would like to know what would be the best way to save contents from a web page. I mean to force save-as option by clicking a link or button. I often found that javascript would not be an option beca...
                            
                            
                                分类:
Web程序   时间:
2014-07-26 02:29:06   
                                阅读次数:
297
                             
                         
                    
                        
                            
                            
                                Linux下Oracle11G RAC报错:在安装oracle软件时报file notfound一例
1、现象
之前安装一切都比较顺利,安装oracle软件时,进度到30%时报错:file not found(/u01/app/oracle/product/11.2.0/db_1/owb/external/oc4j_applications/applications/WFMLRSVCApp.e...
                            
                            
                                分类:
数据库   时间:
2014-07-26 02:07:26   
                                阅读次数:
264
                             
                         
                    
                        
                            
                            
                                There can be an additional spot ghd australia online somerrn which you could view movie previews of all dvds which can be not even GHD Butterfly Purpl...
                            
                            
                                分类:
其他好文   时间:
2014-07-26 00:26:36   
                                阅读次数:
228
                             
                         
                    
                        
                            
                            
                                试着去调一段代码,在OK6410上以Qt为界面显示出来,得到以下两个结果 1、VIDIOC_QUERYBUF error 22, Invalid argument 2、s3c-fimc: invalid target size 很无奈的我找到的资料都是问这个问题的,没有一个解决的 甚至于对OK641...
                            
                            
                                分类:
其他好文   时间:
2014-07-25 23:54:10   
                                阅读次数:
652