11 2016 档案

摘要:empty(trim($str))报错原因 一个if判断如下: 报出如下错误: 如下形式则不报错误 经过查询php手册,发现两个函数的使用方法为: 错误就出现在这里了,原来empty()接收的是参数是一个变量,而trim()返回值为字符串,所以报错 Note: 在 PHP 5.5 之前,empty( 阅读全文
posted @ 2016-11-28 01:52 码不能停 阅读(204) 评论(0) 推荐(0)
摘要:RPC failed; 解决: 应该是pull 内容更新太多,需要设置postBuffer更大些,具体看上面的链接 "https://segmentfault.com/q/1010000002221288" 阅读全文
posted @ 2016-11-28 01:47 码不能停 阅读(1412) 评论(0) 推荐(0)
摘要:文档 http://tiddlywiki.com/ http://web.nlhs.tyc.edu.tw/~lss/wiki/TiddlyWikiTutorialTW.html https://sites.google.com/site/tiddlywikizh/Home/guide 阅读全文
posted @ 2016-11-21 14:51 码不能停 阅读(440) 评论(0) 推荐(0)
摘要:分页 首先,配置 前端输出 样式美化,这里以bootstrap pagination为例子,在config目录下添加pagination.php的配置 需要用的配置项: $config['suffix'] = ''; 给路径添加一个自定义后缀,后缀位于偏移段的后面。 防止静态文件被跳转 阅读全文
posted @ 2016-11-17 12:59 码不能停 阅读(173) 评论(0) 推荐(0)
摘要:"IE 10或 IE 11 hack" css @media screen and ( ms high contrast: active), ( ms high contrast: none) { // Put your IE specific css class here } `` 阅读全文
posted @ 2016-11-15 22:35 码不能停 阅读(94) 评论(0) 推荐(0)
摘要:好用的mysql客户端 https://www.quora.com/What is the best free DB schema design tool https://www.quora.com/What is the best MySQL client for Mac OS X or Wind 阅读全文
posted @ 2016-11-10 21:12 码不能停 阅读(134) 评论(0) 推荐(0)
摘要:思路:utf 8 decode(to buffer) convert to gbk(buffer also) write buffer to file. request库使用时, gb2312、GBK中文乱码解决方法 参考资料 https://cnodejs.org/topic/53142ef833 阅读全文
posted @ 2016-11-01 23:26 码不能停 阅读(3835) 评论(0) 推荐(0)