上一页 1 ··· 7 8 9 10 11 12 13 14 15 ··· 24 下一页
摘要: ps:来源 https://www.cnblogs.com/justphp/p/5959655.html 办法一:改dns解析 vim /etc/resolv.conf 添加: nameserver 8.8.8.8 search localdomain 结果:没用! 办法二:修改镜像源 vim /e 阅读全文
posted @ 2018-08-08 15:50 pengcx 阅读(1194) 评论(0) 推荐(0) 编辑
摘要: 基础上vi/vim共分为三种模式,分别是命令模式,输入模式和底线命令模式。 一、命令模式用户刚刚启动vi/vim,便进入了命令模式。在此状态下敲击键盘动作会被vim识别为命令,而非输入字符。比如我们此时按下i,并不会输入一个字符,i被当做了一个命令。一下是常用的几个命令:1、i切换到输入模式,以输入 阅读全文
posted @ 2018-08-07 15:20 pengcx 阅读(16133) 评论(0) 推荐(1) 编辑
摘要: test 点击 阅读全文
posted @ 2018-07-31 17:22 pengcx 阅读(1028) 评论(0) 推荐(0) 编辑
摘要: $memberList = $member->getMemberList(); $members = []; if (is_array($memberList)) { foreach ($memberList as $item) { $members[$item["id"]] ... 阅读全文
posted @ 2018-07-26 20:30 pengcx 阅读(561) 评论(0) 推荐(0) 编辑
摘要: header("Access-Control-Allow-Origin: 域名");header("Access-Control-Allow-Headers: Origin, X-Requested-With, Content-Type, Accept");header('Access-Contro 阅读全文
posted @ 2018-07-24 15:56 pengcx 阅读(85) 评论(0) 推荐(0) 编辑
摘要: explain MySQL语句 列如 explain SELECT * FROM 表名 WHERE id=1; 阅读全文
posted @ 2018-07-19 14:14 pengcx 阅读(146) 评论(0) 推荐(0) 编辑
摘要: function intercept($str,$length = 10){ if (strlen($str)>$length) $str=substr($str,0,$length) . '...'; return $str; } 阅读全文
posted @ 2018-07-16 09:20 pengcx 阅读(304) 评论(0) 推荐(0) 编辑
摘要: 1、mkdir [目录名] //创建目录2、mkdir -p [目录名] //递归创建目录3、cd [目录] //切换目录4、ctrl + L //清屏操作5、pwd //当前目录6 、Tab键自动补全7、rmdir [目录名] //删除空目录8、rm -rf [文件或目录] //删除文件或目录 - 阅读全文
posted @ 2018-06-28 13:58 pengcx 阅读(89) 评论(0) 推荐(0) 编辑
摘要: $(function(){ pushHistory(); window.addEventListener("popstate", function(e) { alert("我监听到了浏览器的返回按钮事件啦");//根据自己的需求实现自己的功能 }, false); function pus... 阅读全文
posted @ 2018-06-25 15:32 pengcx 阅读(371) 评论(0) 推荐(0) 编辑
摘要: ps:来源 https://blog.csdn.net/eadela/article/details/76264168 修改ueditor.all.js文件 ueditor.all.js,17769行 html.push(creatInsertStr( vi.url, vi.width || 420 阅读全文
posted @ 2018-06-21 17:53 pengcx 阅读(601) 评论(0) 推荐(0) 编辑
上一页 1 ··· 7 8 9 10 11 12 13 14 15 ··· 24 下一页