02 2013 档案
js日期和毫秒互转
摘要:<script>function c1(){ var d = document.getElementsByName("s")[0].value; var b = (new Date(d)).getTime(); document.getElementsByName("s")[0].value = b; }function c2(){ var d = document.getElementsByName("d")[0].value; var b = new Date(d); b.setTime(d); document.ge 阅读全文
posted @ 2013-02-22 12:50 双面煎蛋 阅读(1700) 评论(0) 推荐(0) 编辑
my.cnf
摘要:# Example MySQL config file for medium systems.## This is for a system with little memory (32M - 64M) where MySQL plays# an important part, or systems up to 128M where MySQL is used together with# other programs (such as a web server)## MySQL programs look for option files in a set of# locations whi 阅读全文
posted @ 2013-02-04 11:12 双面煎蛋 阅读(310) 评论(0) 推荐(0) 编辑
Linux ./configure --prefix 命令是什么意思?
摘要:转载地址:http://www.oseye.net/question/96源码的安装一般由3个步骤组成:配置(configure)、编译(make)、安装(make install)。Configure是一个可执行脚本,它有很多选项,在待安装的源码路径下使用命令./configure –help输出详细的选项列表。其中--prefix选项是配置安装的路径,如果不配置该选项,安装后可执行文件默认放在/usr /local/bin,库文件默认放在/usr/local/lib,配置文件默认放在/usr/local/etc,其它的资源文件放在/usr /local/share,比较凌乱。如果配置--p 阅读全文
posted @ 2013-02-03 19:19 双面煎蛋 阅读(1533) 评论(0) 推荐(0) 编辑