def p3p headers[’P3P’] = "policyref=\"/w3c/p3p.xml\", CP=\"ALL DSP COR CURa ADMa DEVa TAIa OUR BUS IND UNI COM NAV INT\"" end
《闻香识女人》中的经典探戈
January 9th, 2012
moonfox 当中校为西门辩论台下掌声雷动的时候,你是否流下感动的泪水,那是生命的尊严.和电影同样出彩的还有那探戈,这是一首典型的阿根廷式探戈,热情浪漫得无以复加。一首曲尽,而脑中的旋律挥之不去,犹如一场没有尽兴的舞蹈,永远只差最后一步
MacBook 无法开机故障排除
December 30th, 2011
moonfox 问题的表现 如果 MacBook Air 无法开机,您应该尝试一些简单的故障排除步骤。下列情况下使用这些步骤: 您开机后 MacBook Air 显示器没有图片。 打开电脑后听不到任何风扇或硬盘活动声音,而且睡眠灯没有打开。 电脑打开后好像没有加电。
thin 配置
December 25th, 2011
moonfox sudo thin config -C /etc/thin/<config -name>.yml -c <rails -app-root-path> –servers <number -of-threads> -e <environment> </environment></number></rails></config> thin config -C /etc/thin/redmine.yml -c /var/www/redmine –servers 5 -e production thin config -C /etc/thin/myapp.yml -c /var/rails/myapp –servers 5 –socket /tmp/thin.myapp.sock -e production
Resque生效的必要条件
December 13th, 2011
moonfox Resque生效的必要条件:启动redis-server,执行rake resque:work或resque:workers监听
ubuntu下安装mysql出现FATAL ERROR: Could not find mysqld的处理
December 11th, 2011
moonfox 错误信息: #./bin/mysql_install_db –user=mysql FATAL ERROR: Could not find mysqld The following directories were searched:
mysql 编译安装选择配置文件my.cnf
December 8th, 2011
moonfox mysql 在编译安装初始化数据库时需要读取my.cnf文件,默认读取的位置是/etc/mysql,所以如果你把my.cnf文件copy到/etc/下的话,mysql读取的是/etc/mysql下的my.cnf,而不是/etc/my.cnf。如果想要读取my.cnf,请删除/etc/mysql文件夹。
redis 存入hash值
December 7th, 2011
moonfox redis> HMSET myhash field1 “Hello” field2 “World” redis> HMGET myhash field1 field2
RSS Feed
Twitter
Posted in
Tags: