这两天在进行网站搬家,这次网站搬家采用直接打包mysql数据库和网页文件的形式进行迁移,上传好mysql data目录里面的网站数据库至VPS上mysql存放数据库的目录里面,解压就行。我的VPS存放数据库的路径是 /usr/local/mysql/var。上传好网站数据,解压,配置好数据库链接参数...
                            
                            
                                分类:
数据库   时间:
2014-07-09 00:02:30   
                                阅读次数:
192
                             
                    
                        
                            
                            
                                1. const 只能修饰基本类型和string, null两种引用类型. readonly可以修饰所有类型. 
2. const 申明时不需要static 修饰符, 因为必须要静态访问. 
3. const 必须在编译时知道它的值, 而 readonly 可以在运行时初始化. 
4....
                            
                            
                                分类:
其他好文   时间:
2014-07-08 20:34:58   
                                阅读次数:
176
                             
                    
                        
                            
                            
                                OpenCV支持的目标检测的方法是利用样本的Haar特征进行的分类器训练,得到的级联boosted分类器(Cascade Classification)。注意,新版本的C++接口除了Haar特征以外也可以使用LBP特征。
先介绍一下相关的结构,级联分类器的计算特征值的基础类FeatureEvaluator,功能包括读操作read、复制clone、获得特征类型getFeatureType,分配图片...
                            
                            
                                分类:
其他好文   时间:
2014-07-08 15:38:11   
                                阅读次数:
315
                             
                    
                        
                            
                            
                                Palindrome
Time Limit: 3000MS
 
Memory Limit: 65536K
Total Submissions: 51518
 
Accepted: 17733
Description
A palindrome is a symmetrical string, that is, a string read...
                            
                            
                                分类:
其他好文   时间:
2014-07-08 10:56:08   
                                阅读次数:
204
                             
                    
                        
                            
                            
                                目标:1. 完成最终的设备驱动,增加具体的watchdog设备操作的代码。测试代码:代码最终实现见cwd_demo.c代码只实现了read与write. 没有实现ioctl.因此,我们可以通过shell指令直接操作我们的watchdog.read函数,只读取watchdog的0x01 和0x02寄存...
                            
                            
                                分类:
其他好文   时间:
2014-07-08 00:52:03   
                                阅读次数:
245
                             
                    
                        
                            
                            
                                本文转自:http://www.cfanz.cn/index.php?c=article&a=read&id=65289最近换了新电脑,装了win7 64位系统,安装了各种开发环境,也安装了android开发环境,与xp下的安装基本一致,记录下简单步骤及可能遇到的问题,供后人参考。1.jdk下载地址...
                            
                            
                         
                    
                        
                            
                            
                                void Update (){ if(Input.GetMouseButton(1)) { if (axes == RotationAxes.MouseXAndY) { // Read the mouse input axis rotationX += Input.GetAx...
                            
                            
                                分类:
其他好文   时间:
2014-07-06 14:34:18   
                                阅读次数:
181
                             
                    
                        
                            
                            
                                今天更新为163的源后,yum的时候报错:GPG key retrieval failed: [Errno 14] Could not open/read file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5.
解决方案:vi /etc/yum.repos.d/CentOS-Base.repo 
把文件里所有的RPM-GPG-KEY-CentOS-5更改为R...
                            
                            
                                分类:
其他好文   时间:
2014-07-06 08:39:27   
                                阅读次数:
404
                             
                    
                        
                            
                            
                                insert Vodafone sim card,open the mms read report,when receive the read report,cann't download the message
Test steps:
1.insert Vodafone sim card
2.open the mms read report
3.send the mms successf...
                            
                            
                                分类:
其他好文   时间:
2014-07-06 08:36:10   
                                阅读次数:
292
                             
                    
                        
                            
                            
                                隔离级别 脏读(Dirty Read) 不可重复读(NonRepeatable Read) 幻读(Phantom Read)读未提交(Read uncommitted) 可能 可能 可能读已提交(Read committed...
                            
                            
                                分类:
数据库   时间:
2014-07-05 21:18:34   
                                阅读次数:
272