摘要:
* 动态规划法 343 * 数学问题 maths is fun https://www.mathsisfun.com/algebra/index.html 阅读全文
摘要:
$.ajax 常用的套路 阅读全文
摘要:
* 一个对象池的简单应用 tool tip tootip.html js/toolTip.js Run: A, B没有重复创建 * 通用对象池的实现 iframe.html js/iframe.js Run: 阅读全文
摘要:
* 适应条件 ** 一个程序中使用了大量的相似对象 造成大的内存开销 ** 对象的大多数状态都可以变为外部状态 ** 剥离出对象的外部状态之后, 可以使用相对较少的共享对象取代大量对象 * 上传文件的例子: index.html js/upload.js 阅读全文
摘要:
* 项目部署更新 用符号链接 project => project1, project2 * composer自动加载机制 namespace => directory, class name => file name * fcgi, cgi原理 php-fpm * mysql当前版本8.0 htt 阅读全文
摘要:
* 绝对路径转化为相对路径 <?php /** * $path相对于$base的相对路径 * @param string $base * @param string $path */ function abs2rel(string $base, string $path) { if (is_dir( 阅读全文
摘要:
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 阅读全文
摘要:
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 阅读全文
摘要:
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 阅读全文
摘要:
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 阅读全文