1. 安装WarmServer(一键式安装apache+php+mysql);2. 
将安装后的EclipsePHP工作目录workspace指向WarmServer安装目录下的www目录下即可异常1:Eclipse启动提示javaw.exe 
in your current PATH、No java ...
                            
                            
                         
                    
                        
                            
                            
                                #includeint sum(int* a, int n){ return (0 == 
n)?0:(sum(a,n-1) + a[n-1]);}void sum1(int* a, int n,int& s){ if(0 == n) 
return; else {...
                            
                            
                                分类:
其他好文   时间:
2014-05-19 20:33:20   
                                阅读次数:
381
                             
                    
                        
                            
                            
                                if 
(System.IO.Directory.Exists(System.IO.Path.GetDirectoryName(this.Asset.LocalPath)) 
&& System.IO.Directory.GetFiles(System.IO.Path.GetDirectoryName(...
                            
                            
                                分类:
其他好文   时间:
2014-05-19 11:04:02   
                                阅读次数:
217
                             
                    
                        
                            
                            
                                题意:就是一个人走到一个城市就会记录与该城市相连的城市有多少,最后判断这些城市是否全部相连;样例输入87 7 
4 3 3 3 2 1105 4 3 3 2 2 2 1 1 
1样例输出NOYES解题思路:其实就是判断无向连通图,sum#include#include#include #includeu...
                            
                            
                                分类:
其他好文   时间:
2014-05-19 10:13:47   
                                阅读次数:
306
                             
                    
                        
                            
                            
                                题目链接:HDU 1394 Minimum Inversion 
Number【题意】给你一个1~N的数字组成的初始序列,然后每一次都将第一个数字移到最后,形成新的序列,然后求出这些序列的逆序数中的最小值。【思路】开始可以用任意一种方法(线段树 
or 暴力 or 树状数组)计算出初始数列的逆序数sum...
                            
                            
                                分类:
其他好文   时间:
2014-05-19 09:50:31   
                                阅读次数:
282
                             
                    
                        
                            
                            
                                安卓工具有3种:make、make 
sdk、下载安装启动安卓模拟器需要文件:system.img、userdata.img、ramdisk.img(3个安卓镜像文件)、zImage(Linux内核镜像文件)命令:emulator默认使用:zImage:$PATH(/prebuilts/qemu-ke...
                            
                            
                                分类:
移动开发   时间:
2014-05-17 14:57:34   
                                阅读次数:
304
                             
                    
                        
                            
                            
                                0.学习时间: 2014-05-15which命令用来在PATH指定的路径中查找特定的文件, 
并返回第一个找到的结果.1. 命令格式: which 文件名2.命令功能 一般使用which命令来查看某个系统命令(可执行文件)是否存在, 
以及该命令所在的目录.3.命令参数 -n 指定文件名长度...
                            
                            
                                分类:
系统相关   时间:
2014-05-17 14:36:45   
                                阅读次数:
391
                             
                    
                        
                            
                            
                                #!/usr/bin/envpython
#-*-coding:UTF-8-*-
"""
@Item:IOCtl
@Author:VilliamSheng
@Group:PythonDEVGroup
@Date:2013-05-29
@Funtion:
CPUcontrol:
TocontrolforCPU
"""
importos,sys,time,libvirt,traceback,commands
‘‘‘
Func:Recorderrormessage
path:Messagesavepath
form..
                            
                            
                                分类:
其他好文   时间:
2014-05-16 02:46:57   
                                阅读次数:
504
                             
                    
                        
                            
                            
                                1.下载jdbc驱动:
http://dev.mysql.com/downloads/connector/j/
2.加入jdbc的jar包至项目的libs目录并build path
2.修改环境变量:export PATH=/usr/local/mysql/bin/:${PATH}
3.默认root@localhost没有密码
4.修改密码:
命令行:mysqladmin -u roo...
                            
                            
                                分类:
数据库   时间:
2014-05-16 01:37:15   
                                阅读次数:
329
                             
                    
                        
                            
                            
                                Given an array S of n integers, are there elements a, b, c in S such that a + b + c = 0? Find all unique triplets in the array which gives the sum of zero....
                            
                            
                                分类:
其他好文   时间:
2014-05-16 01:34:36   
                                阅读次数:
293