This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [HTML 动态插入 svg](https://blog.csdn.net/yanyang1116/article/details/51830589) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [git-ssh](https://gitee.com/help/articles/4181#article-header0) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [如何解决“微信小程序”的Https要求](https://www.jianshu.com/p/00314ced475e) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| **修改mysql时区** | |
| [mysql 时区](https://www.cnblogs.com/shiqiangqiang/p/8393662.html) | |
| **修改mysql默认字符集** | |
|  |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [mac webbench](https://www.jianshu.com/p/0635ee94f7d8) | |
| webbench -c 并发数 -t 运行测试时间 URL | |
| webbench -t 60 -c 100 http://www.baidu.com/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ```language | |
| /** | |
| * getV(init, obj, 'children', 'children' ...) | |
| * @param init args | |
| * @returns {any} | |
| */ | |
| const getV = (init, ...args) => args.length >=2 ? args.reduce((a, b) => a && a.hasOwnProperty(b) ? a[b]: init) : init | |
| ``` |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ```language | |
| /* 定义 */ | |
| .flex-def { | |
| display: -webkit-box; /* 老版本语法: Safari, iOS, Android browser, older WebKit browsers. */ | |
| display: -moz-box; /* 老版本语法: Firefox (buggy) */ | |
| display: -ms-flexbox; /* 混合版本语法: IE 10 */ | |
| display: -webkit-flex; /* 新版本语法: Chrome 21+ */ | |
| display: flex; /* 新版本语法: Opera 12.1, Firefox 22+ */ | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ```language | |
| Object.flatten = function(obj){ | |
| var result = {}; | |
| function recurse(src, prop) { | |
| var toString = Object.prototype.toString; | |
| if (toString.call(src) == '[object Object]') { | |
| var isEmpty = true; | |
| for (var p in src) { | |
| isEmpty = false; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ```language | |
| /*apply()方法*/ | |
| function.apply(thisObj[, argArray]) | |
| /*call()方法*/ | |
| function.call(thisObj[, arg1[, arg2[, [,...argN]]]]); | |
| ``` | |
| 它们各自的定义: |