上一页 1 2 3 4 5 6 7 8 9 10 ··· 14 下一页
摘要: * 项目部署更新 用符号链接 project => project1, project2 * composer自动加载机制 namespace => directory, class name => file name * fcgi, cgi原理 php-fpm * mysql当前版本8.0 htt 阅读全文
posted @ 2018-07-31 09:22 zhanghui_ming 阅读(109) 评论(0) 推荐(0) 编辑
摘要: * 绝对路径转化为相对路径 <?php /** * $path相对于$base的相对路径 * @param string $base * @param string $path */ function abs2rel(string $base, string $path) { if (is_dir( 阅读全文
posted @ 2018-07-30 15:43 zhanghui_ming 阅读(195) 评论(0) 推荐(0) 编辑
摘要: 1. array_chunk 实现 http://php.net/manual/en/function.array-chunk.php test: $input_array = array('a', 'b', 'c', 'd', 'e', 'f', 'g', 'h'); print_r(my_arr 阅读全文
posted @ 2018-07-30 10:19 zhanghui_ming 阅读(1083) 评论(0) 推荐(0) 编辑
摘要: Mac: * 下载go安装包 go语言中文网 ** 通过源码编译安装需要先安装go1.4 Building Go cmd/dist using /Users/Mch/go1.4.ERROR: Cannot find /Users/Mch/go1.4/bin/go.Set $GOROOT_BOOTST 阅读全文
posted @ 2018-07-29 11:32 zhanghui_ming 阅读(923) 评论(0) 推荐(0) 编辑
摘要: always makes the choice that seems to be the best at that moment. Example #1: @function: scheduling // You are given an array A of integers, where eac 阅读全文
posted @ 2018-07-28 14:58 zhanghui_ming 阅读(245) 评论(0) 推荐(1) 编辑
摘要: 1. 面向对象 2. 闭包 3. display:inline-block有间隙怎么处理 4.node.js5. express.js 6.apply/call区别 7.css有哪几种选择器 8.react原理 9.说一下mvc框架 10.http https区别 11.原生ajax实现步骤 <ht 阅读全文
posted @ 2018-07-27 09:56 zhanghui_ming 阅读(218) 评论(0) 推荐(0) 编辑
摘要: jQuery has been removed 阅读全文
posted @ 2018-07-27 09:45 zhanghui_ming 阅读(175) 评论(0) 推荐(0) 编辑
摘要: * 允许所有跨域 E:\apache-tomcat-7.0.81\conf\web.xml <filter> <filter-name>CorsFilter</filter-name> <filter-class>org.apache.catalina.filters.CorsFilter</fil 阅读全文
posted @ 2018-07-26 10:43 zhanghui_ming 阅读(1269) 评论(0) 推荐(0) 编辑
摘要: * javascript自定义事件 output: Event {isTrusted: false, type: "myEventName", target: div, currentTarget: div, eventPhase: 2, …} @Ref: Usage: * 发布-订阅 模式 阅读全文
posted @ 2018-07-26 10:00 zhanghui_ming 阅读(343) 评论(0) 推荐(0) 编辑
摘要: * 假设 E:\upload 作为图片上传的位置 nginx 做web服务 * 创建文件conf.php 放到这个目录下 * 把out.txt粘贴到 nginx 的conf路径下的nginx.conf文件中的对应位置 #user nobody; worker_processes 1; #error_ 阅读全文
posted @ 2018-07-25 18:11 zhanghui_ming 阅读(554) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 9 10 ··· 14 下一页