第一步:导入c3p0包第二步:在classpath目录下,创建一个c3p0-config.xml 30000 30 2 30 10 2 50 3 com.mysql.jdbc.Driver root 1234 第三步:创建工厂类获取这个连接package cn.itcast...
分类:
编程语言 时间:
2015-04-18 23:27:27
阅读次数:
296
题目描述Given a binary tree and a sum, determine if the tree has a root-to-leaf path such that adding up all the values along the path equals the given sum.For example:
Given the below binary tree and sum...
分类:
其他好文 时间:
2015-04-18 22:01:55
阅读次数:
136
[root@liweichen vsftpd]# vim vsftpd.conf [root@liweichen vsftpd]# cp vsftpd.conf ~/桌面[root@liweichen vsftpd]# cdp vsftpd.conf /home/lwcbash: cdp: comm...
分类:
其他好文 时间:
2015-04-18 21:49:10
阅读次数:
142
1、以下命令对于Linux发行版是通用的:root@MyMail ~ # unameLinuxroot@MyMail ~ # uname -r2.6.18-164.el5[root@localhost ~]# uname -aLinux localhost.localdomain 2.6.18-19...
分类:
其他好文 时间:
2015-04-18 21:42:44
阅读次数:
142
台式机电脑的CPU是i5-4590K,使用Clover 3193引导OSX在"root device uuid is ......"之后就立即重启。
查了查资料,可以通过使用Clover打Patch解决。
在KernelAndKextPatches区域内,将KernelPm字段值设为true,如果再有问题,将AppleRTC字段也设为true,这样就解决问题了。
KernelAndKextP...
分类:
其他好文 时间:
2015-04-18 20:38:10
阅读次数:
137
支持phpfastcgi的配置如下:server {listen 8000;server_name localhost;root F:/home/projects/test;index index.php;location / {index index.php; ##可以有多个,空格隔开}locat...
分类:
Web程序 时间:
2015-04-18 20:21:17
阅读次数:
99
ubuntu搭建mysql 参考http://www.cnblogs.com/wuhou/archive/2008/09/28/1301071.html1. sudo apt-get install mysql-server\ 需要制定root密码password吧2. vi /etc/mys...
分类:
数据库 时间:
2015-04-18 19:06:03
阅读次数:
192
妈蛋这个问题折腾了好久,百度都是噼里啪啦什么什么进入注册表什么的删除啊操 看着难受死了这边也有这个些没有注册类原因什么的的百度一下就有了解决办法 管理员身份运行CMD 输入REG DELETE HKEY_CLASSES_ROOT\ChromeREG DELETE HKLM\Software\Clas...
分类:
其他好文 时间:
2015-04-18 18:55:47
阅读次数:
186
mysql报错:
可能是你一次连接的时间太长,或者是每次连接的查询和插入数据过多,你可以修改max_questions参数的值
use mysql;
update user set max_questions=0;
flush privileges;...
分类:
其他好文 时间:
2015-04-18 17:49:44
阅读次数:
572
Author:魔术@Freebuf.com 0×1自动攻击 终端启动Metasploit,因为我现在SourceCode,所以这样启动! 连接数据库 安装方法,执行以下命令即可(请用ROOT执行)。deb http://ubuntu.mirror.cambrium.nl/ubuntu/ prec.....
分类:
Web程序 时间:
2015-04-18 17:36:52
阅读次数:
109