使用 phpDocumentor 生成文档 作者: Chuwen 时间: 2021-06-04 分类: PHP 评论 项目地址:https://github.com/phpDocumentor/phpDocumentor 下载地址:https://github.com/phpDocumentor/phpDocumentor/releases/tag/v3.0.0 1. 下载包 ```shell curl -O phpdoc "https://github.com/phpDocumentor/phpDocumentor/releases/download/v3.0.0/phpDocumentor.phar" ``` 2. 移动到 `/usr/local/bin` ```shell mv phpdoc /usr/local/bin/phpdoc ``` 3. 给予执行权限(其实我也不是很确定要不要给) ```shell chmod +x /usr/local/bin/phpdoc ``` 4. 使用 > 首先进入项目路径 > `d` 代表要扫描的文件夹,这里代表这个项目 > `-t` 代表输出文档到哪个文件夹,这里是此项目的 `docs/api` 目录, > 也可以省略-t选项,默认输出到 `output` 文件夹。 ```shell cd /www/wwwroot/nowtime.cc phpdoc -d . -t docs/api ```
域名 NowTime.cc 续费一年 作者: Chuwen 时间: 2021-05-30 分类: 唠嗑闲聊 评论  
Scrcpy 关闭屏幕仍可操控手机 作者: Chuwen 时间: 2021-05-29 分类: 软件 评论 执行以下命令启动即可: > 注意,如果操作界面黑屏了,鼠标右键点击下即可,或 ```shell scrcpy -Sw ```
macOS / Windows DLAN 服务端软件 Kodi 作者: Chuwen 时间: 2021-05-29 分类: 软件 评论 下载地址:https://kodi.tv/download/ 设置中文语言:https://www.jianshu.com/p/159e4b231a25 启用 UPnP/DLNA:http://www.kodiplayer.cn/course/2858.html
ECharts 饼图取消 hover 图例的联动效果 作者: Chuwen 时间: 2021-05-25 分类: JavaScript 1 条评论 文档链接:https://echarts.apache.org/zh/option.html#series-pie.legendHoverLink  ```js { //这里省略部分代码 series: [ { name: '', type: 'pie', legendHoverLink: false,//只需要将这个给 false 即可 } ] //这里省略部分代码 } ```