01 2017 档案

摘要:参考链接: http://blog.csdn.net/guoyuqi0554/article/details/11015403 http://blog.csdn.net/qk1992919/article/details/51249099 1.安装 sudo apt install slapd ld 阅读全文
posted @ 2017-01-21 16:08 cogitoergosum 阅读(582) 评论(0) 推荐(0) 编辑
摘要:参考链接: http://www.cnblogs.com/zhwl/archive/2012/08/28/2660532.html SHOW DATABASES //列出 MySQL Server 数据库。SHOW TABLES [FROM db_name] //列出数据库数据表。SHOW TABL 阅读全文
posted @ 2017-01-21 14:36 cogitoergosum 阅读(5532) 评论(0) 推荐(0) 编辑
摘要:我的github样例:https://github.com/hzijone/javascript_module js 用对象的方式实现组件化。 1、对一个对象里增加方法的方式: 把模块的变量传给函数,实现动态创建。 2、require.js加载多个js文件时,可以通过优化合并只成为一个js文件,避免 阅读全文
posted @ 2017-01-20 17:36 cogitoergosum 阅读(355) 评论(0) 推荐(0) 编辑
摘要:参考链接:http://www.nowamagic.net/librarys/veda/detail/1271 http://www.ruanyifeng.com/blog/2008/06/base64.html cookie.js 文件 测试案例: 阅读全文
posted @ 2017-01-20 11:25 cogitoergosum 阅读(285) 评论(0) 推荐(0) 编辑
摘要:参考链接:http://www.cnblogs.com/firstForEver/p/5803940.html 自己封装的一个类: 阅读全文
posted @ 2017-01-19 15:30 cogitoergosum 阅读(231) 评论(0) 推荐(0) 编辑
摘要:当在函数里通过require_once包含另外php文件。 而另外php文件包含了另外php文件,而该php文件的函数需要另外的php文件。 例子: installment_maintenance_submit.php文件里downloadZip函数在内部包含了rebootTipsFunc.php 阅读全文
posted @ 2017-01-18 18:27 cogitoergosum 阅读(370) 评论(0) 推荐(0) 编辑
摘要:参考网址: https://segmentfault.com/a/1190000006154011 返回失败时,通过 json_last_error可以获取其json解析失败的原因。 阅读全文
posted @ 2017-01-16 14:36 cogitoergosum 阅读(2690) 评论(0) 推荐(0) 编辑
摘要:参考网址:http://www.phpcomposer.com https://packagist.org 1、linux 安装Composer curl -sS https://getcomposer.org/installer | php sudo mv composer.phar /usr/l 阅读全文
posted @ 2017-01-15 18:23 cogitoergosum 阅读(198) 评论(0) 推荐(0) 编辑
摘要:参考链接: https://segmentfault.com/q/1010000000721799 通过curl方式获取压缩包名: 2、curl -O -d "key=val" url 这样返回的内容就保存为同名文件了。 阅读全文
posted @ 2017-01-13 13:55 cogitoergosum 阅读(317) 评论(0) 推荐(0) 编辑
摘要:参考链接: https://imququ.com/post/four-ways-to-post-data-in-http.html http://blog.csdn.net/leyangjun/article/details/38726049 Content-Type 主要有4种 表单有两种: ap 阅读全文
posted @ 2017-01-10 22:34 cogitoergosum 阅读(2907) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示