# tar zvxf php-5.1.2.tar.gz# cd php-5.1.2# ./configure --prefix=/usr/local/php --with-mysql=/usr/local/mysql --with-apxs2=/usr/local/apache/bin/apxs - ...
分类:
Web程序 时间:
2017-03-16 16:06:23
阅读次数:
357
一 RAC集群 优势:高可用,平衡负载 二 虚拟机 挂载共享文件夹 mount -t vboxsf share /mnt/shared 初始化root用户密码: jady@jady-VirtualBox:/$ sudo passwd[sudo] password for jady: Sorry, t ...
分类:
其他好文 时间:
2017-03-06 19:43:28
阅读次数:
187
在win下用Go语言的cgo时(比如下面场景)我们会用到的GCC编译器,Win下我们一般用MinGW。 Golang连接Oracle数据库;win下 golang 跨平台编译 MinGW全称Minimalist GNU For Windows,是个精简的Windows平台C/C++、ADA及Fort ...
分类:
其他好文 时间:
2017-02-18 18:57:18
阅读次数:
451
一、display:table-cell属性简述 display:table-cell属性指让标签元素以表格单元格的形式呈现,类似于td标签。目前IE8+以及其他现代浏览器都是支持此属性的,但是IE6/7只能对你说sorry了,这一事实也是大大制约了display:table-cell属性在实际项目 ...
分类:
其他好文 时间:
2017-02-14 19:09:54
阅读次数:
282
"Bella, I'm so sorry!""I'm fine, Tyler — you look awful, are you all right?" “Bella,我很抱歉!”“我很好Tyler-你看起来很糟糕,你还好吗?” As we spoke,nurses began unwinding ...
分类:
其他好文 时间:
2017-02-04 01:03:27
阅读次数:
232
age=float(raw_input("enteryourage:"))
grade=int(raw_input("enteryourgrade:"))
ifage>=8andgrade>=3:
print"youcanplaythisgame."
else:
print"sorry,youcan‘tplaythegame."
分类:
编程语言 时间:
2017-01-10 00:03:12
阅读次数:
272
age=float(raw_input("enteryourage:"))
grade=int(raw_input("enteryourgrade:"))
ifage>=8:
ifgrade>=3:
print"youcanplaythisgame."
else:
print"sorry,youcan‘tplaythegame."
分类:
编程语言 时间:
2017-01-10 00:02:33
阅读次数:
260
color=raw_input("enteryourfavoritecolor:")
ifcolor=="red"orcolor=="green"orcolor=="black":
print"youcanplaythisgame."
else:
print"sorry,youcan‘tplaythegame."#开始不明白为什么==后的color一定要带“”,而之前的age==不用“”。运行了一次,报错xxx不是一个变量。如..
分类:
编程语言 时间:
2017-01-10 00:01:59
阅读次数:
274
HelloWorld Shiro的HelloWorld不是我们写的,而是看Shiro给我们提供的一段代码。通过这段代码可以看到Shiro大致的使用方式。 1.找到Shiro的jar包 目前的最新稳定版本是1.3.2 需要的4个jar包: log4j-1.2.15.jar shiro-all-1.3. ...
分类:
其他好文 时间:
2017-01-06 01:00:19
阅读次数:
195
1 正常存储过程带RETURN(只能返回整型) 2 带OUTPUT参数的存储过程 3 存储过程中产生了一个结果集(注: select c1 from table 在存储过程中 执行两次,其实也算是一个结果集) 4存储过程中产生了两个结果集 这个就很麻烦了,因为两个结果集数据表结构不一样,所以无法使用 ...
分类:
其他好文 时间:
2017-01-03 08:14:01
阅读次数:
250