摘要: 打开 /System/Library/CoreServices/Finder.app/Contents/Resources/English.lproj/InfoPlist.strings将 "Folder"="Folder" 改为"Folder"=" Folder" 或"Folder"="!Fold... 阅读全文
posted @ 2012-05-30 11:59 Yunzhu 阅读(787) 评论(1) 推荐(0) 编辑
摘要: 在server中加上红色所示一行:server { listen 443; ... more config here, include SSL ... location ~ \.php$ { ... FastCGI config here ... fas... 阅读全文
posted @ 2012-05-21 12:23 Yunzhu 阅读(355) 评论(0) 推荐(0) 编辑
摘要: Ubuntu Server 12.04中,网卡MAC变更,导致找不到eth0,提示:Cannot find device "eth0"解决方法 编辑 /etc/udev/rules.d/70-persistent-net.rules 文件将旧MAC对应条目删除,重启系统即可参考链接:http://u... 阅读全文
posted @ 2012-05-21 00:11 Yunzhu 阅读(751) 评论(0) 推荐(0) 编辑
摘要: 根据此文提到的MySQL字符串函数http://www.soft6.com/tech/16/163908.html由于实际需要,得出了以下几个SQL语句:取得字符串中文件名:SELECT RIGHT(`image_url0`, INSTR(REVERSE(`image_url0`),'/') - 1... 阅读全文
posted @ 2012-05-18 04:42 Yunzhu 阅读(340) 评论(0) 推荐(0) 编辑
摘要: ln 文件链接ln -s src dst 创建软链接 阅读全文
posted @ 2012-05-16 02:47 Yunzhu 阅读(115) 评论(0) 推荐(0) 编辑
摘要: /etc/nginx/fastcgi_params 添加一行即可fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; 阅读全文
posted @ 2012-05-15 18:09 Yunzhu 阅读(370) 评论(0) 推荐(0) 编辑
摘要: 解决这类问题的最根本的,最有效的办法就是,使用完bitmap之后,调用bitmap对象的recycle()方法释放所占用的内存,以便于下一次使用。 阅读全文
posted @ 2012-04-18 02:00 Yunzhu 阅读(262) 评论(0) 推荐(0) 编辑
摘要: ---批量异构数据导入INSERT INTO Table1(`catid`, `status`, `inputtime`, `updatetime`)SELECT `typeid`, 99, unix_timestamp(time), unix_timestamp(time)FROM Table2 ----批量数据替换UPDATE `Table1` SET url=REPLACE(url,"/uacool/","/"); ---字符串连接UPDATE `Table1` SET `id`=CONCAT('c-1-',`id`) 阅读全文
posted @ 2012-04-16 19:55 Yunzhu 阅读(155) 评论(0) 推荐(0) 编辑