smelikecat

导航

上一页 1 ··· 4 5 6 7 8 9 10 11 12 ··· 30 下一页

2015年12月25日 #

[mysql] mysql 查询语句收集

摘要: // 1. 筛选出当天的中奖名单 $where = " date_format(f_ctime,'%Y-%m-%d') = current_date()";// 2. 将同一个分组下面的多条记录中的某个字段合并SELECT f_id, GROUP_CONCAT(f_content SEPARATOR... 阅读全文

posted @ 2015-12-25 19:32 smelikecat 阅读(145) 评论(0) 推荐(0) 编辑

2015年12月22日 #

[javascript-debug-ajax-json]两种不同的json格式数据

摘要: Bug 1:1. 这里面的 data 只是一维数组{"state":0,"errorCode":0,"data":{"originalName":"","name":"3e12cdbd9d855449440035b3fdaf78bd.png","url":"images\/release\/3\/d... 阅读全文

posted @ 2015-12-22 22:51 smelikecat 阅读(205) 评论(0) 推荐(0) 编辑

2015年12月18日 #

[Chrome_Error] (failed) net::ERR_INCOMPLETE_CHUNKED_ENCODING 与 nginx 502 bad gateway

摘要: Chrome 浏览器出现这个错误,还出现 nginx 502 bad gateway .查看 nginx 的 error.log :2015/12/18 14:34:44 [error] 1448#0: *26651 readv() failed (104: Connection reset by ... 阅读全文

posted @ 2015-12-18 14:41 smelikecat 阅读(1852) 评论(0) 推荐(0) 编辑

[javascript] javascript 实现数据滚动加载

摘要: // tpl generate var tmpl = (function (cache, $) { return function (str, data) { var fn = !/\s/.test(str) ? cache[str] = cach... 阅读全文

posted @ 2015-12-18 11:06 smelikecat 阅读(538) 评论(0) 推荐(0) 编辑

2015年12月16日 #

[device-orientation] 使用手机设备的方向感应实现图片选择

摘要: Device Orientation Event Supported DeviceOrientation Tilt Left/Right [gamma] ... 阅读全文

posted @ 2015-12-16 17:28 smelikecat 阅读(466) 评论(0) 推荐(0) 编辑

上一页 1 ··· 4 5 6 7 8 9 10 11 12 ··· 30 下一页