摘要: less与cat和more的区别: cat命令功能用于显示整个文件的内容单独使用没有翻页功能因此经常和more命令搭配使用,cat命令还有就是将数个文件合并成一个文件的功能。 more命令功能:让画面在显示满一页时暂停,此时可按空格健继续显示下一个画面,或按Q键停止显示。... 阅读全文
posted @ 2015-05-18 19:58 ChangCrazy 阅读(762) 评论(0) 推荐(0) 编辑
摘要: phpredis:https://github.com/nicolasff/phpredishttp://www.cnblogs.com/ikodota/archive/2012/03/05/php_redis_cn.html http://redisdoc.com/window安装:http://... 阅读全文
posted @ 2015-05-18 19:54 ChangCrazy 阅读(169) 评论(0) 推荐(0) 编辑
摘要: 1.配置文件设置$db_name = "ecshop";$prefix = "ecs_";$timezone = "Europe/Berlin";$cookie_path = "/";$cookie_domain = "";$session = "1440";$_conf... 阅读全文
posted @ 2015-05-18 19:46 ChangCrazy 阅读(544) 评论(0) 推荐(0) 编辑
摘要: 模板开发首页参考资料:http://book.ecmoban.com/http://pan.baidu.com/s/1bnezFUv自行修改ecshop读写分离设置,请查看另一篇文章,ecshop读写分离 阅读全文
posted @ 2015-05-18 19:42 ChangCrazy 阅读(196) 评论(0) 推荐(0) 编辑
摘要: 下雪js效果调用:$(function(){ $.fn.snow({ minSize: 5, //雪花的最小尺寸 maxSize: 50, //雪花的最大尺寸 newOn: 300 //雪花出现的频率 这个数值越小雪花越多 });... 阅读全文
posted @ 2015-05-18 16:26 ChangCrazy 阅读(401) 评论(0) 推荐(1) 编辑
摘要: 在放大镜效果中代码中有Please upgrade to full version of Magic Zoom Plus™去除办法:在 magiczoom 去版本 magiczoomplus.js 中,将return String.fromCharCode(14 ^ u.charCodeAt(0))... 阅读全文
posted @ 2015-05-18 15:04 ChangCrazy 阅读(579) 评论(0) 推荐(0) 编辑
摘要: /*格式化时间戳为小时,分钟,秒,几天前等 */function dgmdate($timestamp, $format = 'dt', $timeoffset = '9999', $uformat = '') { global $_G; $format == 'u' && !$_G['setting']['dateconvert'] && $format = 'dt'; static $... 阅读全文
posted @ 2015-05-18 14:02 ChangCrazy 阅读(361) 评论(0) 推荐(0) 编辑