下面的代码在老的编译器上不work,我用gcc 4.8.2编译没问题 template?<typename?T>
class?is_class?{
????typedef?char?YES;
????typedef?int?NO;
????template?<typename?U>?static?Y...
                            
                            
                                分类:
其他好文   时间:
2015-04-02 13:33:22   
                                阅读次数:
129
                             
                    
                        
                            
                            
                                Optimizing AngularJS: 1200ms to 35msBySteven CzerwinksiEdit: Due to the level of interest, we’ve released the source code to the work described here: ...
                            
                            
                                分类:
Web程序   时间:
2015-04-01 12:41:02   
                                阅读次数:
197
                             
                    
                        
                            
                            
                                Publish/SubscribeIn theprevious tutorialwe created a work queue. The assumption behind a work queue is that each task is delivered to exactly one work...
                            
                            
                                分类:
其他好文   时间:
2015-04-01 00:20:25   
                                阅读次数:
158
                             
                    
                        
                            
                            
                                Work QueuesIn thefirst tutorialwe wrote programs to send and receive messages from a named queue. In this one we'll create aWork Queuethat will be use...
                            
                            
                                分类:
其他好文   时间:
2015-03-31 23:58:50   
                                阅读次数:
474
                             
                    
                        
                            
                            
                                Register-SPWorkflowService 远程服务器返回错误: (404) 未找到 如何解决...
                            
                            
                                分类:
其他好文   时间:
2015-03-31 18:02:07   
                                阅读次数:
122
                             
                    
                        
                            
                            
                                状态模式一、定义:当一个对象内在状态改变时允许改变行为,实现状态的改变二、作用主要解决的是当一个状态转换的条件表达式过于复杂的时候,把状态的判断转移到不同状态的一系列类中,把复杂的判断简单化三、类图:四、实现1.work类 用于实现转换状态,状态判断,运行对应状态的程序 同时也是用户调用的接口pub...
                            
                            
                                分类:
其他好文   时间:
2015-03-31 17:21:41   
                                阅读次数:
103
                             
                    
                        
                            
                            
                                环境:ubuntu+terminal(前面这几步是上次的重复,可略过)1、建立工程和应用:root@pc:/home/uu# mkdir workroot@pc:/home/uu# cd workroot@pc:/home/uu/work# django-admin.py startproject ...
                            
                            
                                分类:
其他好文   时间:
2015-03-31 12:26:47   
                                阅读次数:
356
                             
                    
                        
                            
                            
                                Go to Application Loader java folder : /Applications/Xcode.app/Contents/Applications/Application Loader.app/Contents/MacOS/itms/java/lib
Open net.properties file with “sublime text” or “text mate”
Chan...
                            
                            
                                分类:
其他好文   时间:
2015-03-31 10:54:50   
                                阅读次数:
145
                             
                    
                        
                            
                            
                                Macbook自带词典使用起来比较方便,三指轻拍就可以翻译英文。但是该词典有一个很大的问题就是不能识别变形的词汇,比如可以识别work,但是不能识别works或worked。 由于本人英文实在太烂,一行英文基本上只认识半个到一个词汇,而且是a和the之类。所以老夫就查看Apple的官方文档,自...
                            
                            
                                分类:
系统相关   时间:
2015-03-30 22:31:54   
                                阅读次数:
246
                             
                    
                        
                            
                            
                                一、apache模式的查看如果apache已经安装,我们可以用httpd-l命令查看当前模式(只可能有一种),如果找到prefork.c则表示当前工作在prefork模式,同理出现worker.c则工作在worker模式。如果apache还未安装,我们在编译的时候可以加入--with-pem=(prefork|worker)选项决定启用..
                            
                            
                                分类:
Web程序   时间:
2015-03-30 19:13:22   
                                阅读次数:
118