摘要: 1. 连接mysql遇到 Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2),mysql没有正常启动 出处: https://stackoverflow.com/questions/22436028/can 阅读全文
posted @ 2017-08-12 17:59 全玉 阅读(152) 评论(0) 推荐(0) 编辑
摘要: //功能:停止事件冒泡 function stopBubble(e) { if ( e && e.stopPropagation ) { e.stopPropagation(); } else { // ie old window.event.cancelBubble = true; } } //功能:阻止事件默认... 阅读全文
posted @ 2017-08-12 17:37 全玉 阅读(259) 评论(0) 推荐(0) 编辑
摘要: windows linux & mac cross-env跨平台设置 阅读全文
posted @ 2017-08-12 14:05 全玉 阅读(8205) 评论(0) 推荐(0) 编辑
摘要: var set1 = new Set([1,2,3]);var set2 = new Set([2,3,4]); 并集let union = new Set([...set1, ...set2]); 交集let intersect = new Set([...set1].filter( x => s 阅读全文
posted @ 2017-08-12 13:56 全玉 阅读(9151) 评论(0) 推荐(0) 编辑
摘要: 此外,tel类型的input在ios上会调出全数字键盘,而number类型的input则会调出带有标点符号的键盘。 阅读全文
posted @ 2017-08-12 13:17 全玉 阅读(20521) 评论(0) 推荐(1) 编辑
摘要: 工作中还是经常使用windows系统,将windows中常用的命令进行总结。 1. 从命令行打开资源管理器,即文件夹 start . 2. 查看端口占用情况 比如查看3000端口的占用情况 运行后,结果如下: 可以看到进程号为9692的占用了该端口,使用下面的命令查看是哪个任务: 使用下面的命令关闭 阅读全文
posted @ 2017-08-12 13:00 全玉 阅读(191) 评论(0) 推荐(0) 编辑