摘要: 环境要求,php>=7.3 并且需要安装 7-zip 自行点击链接下载即可Windows: 7-zip >= 7.30 (7-Zip)找个文件夹 composer下来 以下是目录结构composer require gemorroj/archive7z (如何有错执行下 composer self- 阅读全文
posted @ 2022-04-13 17:49 讲做 阅读(799) 评论(0) 推荐(0) 编辑
摘要: 一、安装 1.开启go mod模式: $ export GO111MODULE=on GOPROXY=https://goproxy.cn​2.引入包package main​import ( _ "github.com/1819997197/ws-tools")​3.生成mod文件$ go mod 阅读全文
posted @ 2021-11-12 12:00 讲做 阅读(409) 评论(0) 推荐(1) 编辑
摘要: 问题: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 5DC22404A6F9F1CA解决方法:把pubkey后面的8为复制gpg --keyserve 阅读全文
posted @ 2020-09-14 15:33 讲做 阅读(2769) 评论(0) 推荐(0) 编辑
摘要: if(isset($_POST['start_time']) && $_POST['start_time']>0){ $_POST['start_time'] = strtotime($_POST['start_time']); if(isset($_POST['end_time']) && $_P 阅读全文
posted @ 2019-02-15 15:46 讲做 阅读(400) 评论(0) 推荐(0) 编辑
摘要: ['Think\Think', 'appException'], 'finally_error' => ['Think\Think', 'appError'], ]; static $data = [ 'msg' => '',// 错误信息 'msgCode' => '',// 自定义错误码 六位数字字符串 e... 阅读全文
posted @ 2018-07-18 13:53 讲做 阅读(543) 评论(0) 推荐(0) 编辑
摘要: elasticsearch数据备份与sshfs建立共享文件 阅读全文
posted @ 2017-12-08 18:11 讲做 阅读(1038) 评论(0) 推荐(0) 编辑
摘要: elasticsearch开机启动脚本 阅读全文
posted @ 2017-12-07 18:14 讲做 阅读(6958) 评论(0) 推荐(0) 编辑
摘要: require 'vendor/PHPExcel/PHPExcel.php';require 'vendor/PHPExcel/PHPExcel/IOFactory.php';public function dull_url(){ $reader = \PHPExcel_IOFactory::createReader('Excel2007'); //设置以Exc... 阅读全文
posted @ 2017-12-05 15:42 讲做 阅读(1115) 评论(0) 推荐(0) 编辑
摘要: #!/bin/bashinterval=1if [ "$1" != "" ]then interval=$1fiecho "检查时间间隔(单位秒):"$intervaldatetime=`date +'%Y%m%d'`while :do#获取用户es占用cpu、内存、虚拟内存、物理内存、共享内存的信 阅读全文
posted @ 2017-10-25 16:56 讲做 阅读(5633) 评论(0) 推荐(0) 编辑
摘要: 作为一个程序员,在工作的过程中或多或少都会接触都Linux,那么对于权限这块肯定有所了解,今天有空想谈谈觉得比较绕的权限问题,即文件权限与目录权限 1.文件权限,对于文件权限这个是比较简单的,也很容易令人理解,即读、写、执行,下面以一些图片来进行说明 (一)首先,关于权限的Linux命令chmod、 阅读全文
posted @ 2017-06-23 16:07 讲做 阅读(240) 评论(0) 推荐(0) 编辑