摘要: https://laravelacademy.org/post/8464.html 最佳实践 laravel代码的书写规范以及优化 https://laravelacademy.org/post/7500.html 错误及异常处理,可以选择Monolog 参考(https://blog.csdn.n 阅读全文
posted @ 2019-03-14 21:37 圆明猿 阅读(82) 评论(0) 推荐(0) 编辑
摘要: 参考http://www.cnblogs.com/ldj3/p/9298734.htmlserver { listen 80; server_name foo.com; root /path; index index.html index.htm index.php; location / { tr 阅读全文
posted @ 2019-03-13 01:13 圆明猿 阅读(138) 评论(0) 推荐(0) 编辑
摘要: 恢复内容开始 参考 https://www.jianshu.com/p/36d7f97a20cd vi _site/app.js 改下面的http://localhost:9100 确保是9100端口 this.base_uri = this.config.base_uri || this.pref 阅读全文
posted @ 2019-03-12 16:07 圆明猿 阅读(111) 评论(0) 推荐(0) 编辑
摘要: 1.ik下载(下载es对应版本的ik分词包) https://github.com/medcl/elasticsearch-analysis-ik/releases 2.mac cd /usr/local/Cellar/elasticsearch/6.6.1/libexec/plugins mkdi 阅读全文
posted @ 2019-03-12 15:49 圆明猿 阅读(2412) 评论(0) 推荐(0) 编辑
摘要: demo 阅读全文
posted @ 2019-03-12 15:45 圆明猿 阅读(142) 评论(0) 推荐(0) 编辑
摘要: 分词工具 sphinx 支持php版本5.2.2~6.0因此选用scws 文档地址 http://www.xunsearch.com/scws/docs.php#instscws 简单的demo(测试有效) 阅读全文
posted @ 2019-03-12 12:12 圆明猿 阅读(1160) 评论(0) 推荐(0) 编辑
摘要: 参考地址:https://www.cnblogs.com/jinjiangongzuoshi/p/9299275.html 1.下载镜像 docker pull mysql:5.7.19 2.建立配用文件 --mysql --master --data --conf --my.cnf --slave 阅读全文
posted @ 2019-03-10 22:42 圆明猿 阅读(850) 评论(0) 推荐(0) 编辑
摘要: 启动 sudo nginx 重启 sudo nginx -s reload 停止 sudo nginx -s stop sudo nginx -s quit 测试nginx配置文件 nginx -t /usr/local/Cellar/nginx/1.15.8/logs/nginx.pid pid 阅读全文
posted @ 2019-03-10 15:30 圆明猿 阅读(88) 评论(0) 推荐(0) 编辑
摘要: 配置docker加速器 第一步,到 https://www.daocloud.io/mirror#accelerator-doc 登陆 第二步,还到 https://www.daocloud.io/mirror#accelerator-doc 找到 Mac 选项卡,复制镜像链接 第三步,打开 Mac 阅读全文
posted @ 2019-03-10 15:29 圆明猿 阅读(146) 评论(0) 推荐(0) 编辑
摘要: PC定义:IPC是intent-Process Communication的缩写,含义为进程间通信或者跨进程通信,是指两个进程之间进行数据交换的过程。 Windows上可以通过剪贴板、管道和邮槽等来进行进程间通信 Linux上可以通过命名共享内容、信号量等来进行线程间通信 Android中具体实现通 阅读全文
posted @ 2019-03-10 15:28 圆明猿 阅读(1091) 评论(0) 推荐(0) 编辑