07 2021 档案

摘要:![](https://img2020.cnblogs.com/blog/422101/202107/422101-20210729142211752-962652182.png) ![](https://img2020.cnblogs.com/blog/422101/202107/422101-20210729142239015-650822132.png) 阅读全文
posted @ 2021-07-29 14:23 TBHacker 阅读(207) 评论(0) 推荐(0) 编辑
摘要:# netstat -ntulp |grep 8000 阅读全文
posted @ 2021-07-29 11:21 TBHacker 阅读(52) 评论(0) 推荐(0) 编辑
摘要:git pull origin master --rebase 阅读全文
posted @ 2021-07-27 17:34 TBHacker 阅读(1567) 评论(0) 推荐(0) 编辑
摘要:composer require qiniu/php-sdk 工具类 <?php /** * 七牛云,工具类 */ namespace Common\Util; use Qiniu\Config; use Qiniu\Storage\BucketManager; use Qiniu\Storage\ 阅读全文
posted @ 2021-07-22 12:00 TBHacker 阅读(80) 评论(0) 推荐(0) 编辑
摘要:ini_set("memory_limit","-1"); 阅读全文
posted @ 2021-07-21 16:09 TBHacker 阅读(59) 评论(0) 推荐(0) 编辑
摘要:workerman使用 检测是否支持 % curl -Ss http://www.workerman.net/check.php | php PHP Version >= 5.3.3 [OK] Extension pcntl check [OK] Extension posix check [OK] 阅读全文
posted @ 2021-07-17 18:54 TBHacker 阅读(450) 评论(0) 推荐(0) 编辑
摘要:HTTP协议的特点: 1、服务器只能响应客户端的请求,不能主动向客户端推送数据 2、客户端的每次请求都需要连接、断开,即每次请求都是一个全新的请求 WebSocket的特点: 1、客户端与服务器端在连接时可以互相推据数据 2、客户端连接到服务器之后,会一直保持连接的状态,直到有一端主动断开连接 阅读全文
posted @ 2021-07-17 14:25 TBHacker 阅读(289) 评论(0) 推荐(0) 编辑
摘要:查看java项目 # ps -ef | grep java root 2279 1 0 2月01 ? 05:56:11 java -jar common-controller.jar root 24187 1 0 2月24 ? 01:23:21 java -jar customer-controll 阅读全文
posted @ 2021-07-14 09:43 TBHacker 阅读(396) 评论(0) 推荐(0) 编辑
摘要:header('Content-type: text/html; charset=utf-8'); origin=isset(_SERVER['HTTP_ORIGIN']) ? $_SERVER['HTTP_ORIGIN'] : ''; //header('Access-Control-Al 阅读全文
posted @ 2021-07-14 09:26 TBHacker 阅读(185) 评论(0) 推荐(0) 编辑
摘要:我的应用是nginx+php。 是因为php没有及时回应nginx,导致错误。 这个时候重启nginx,没有效果。 重启php才有效果。 brew services restart php@5.6 阅读全文
posted @ 2021-07-13 09:49 TBHacker 阅读(148) 评论(0) 推荐(0) 编辑
摘要:配置数据库 return array( //数据库配置信息 'DB_TYPE' => 'mysql', // 数据库类型 'DB_HOST' => dbhost,//DBNAME=>db_name, // 数据库名 'DB_USER' => $db_user, // 阅读全文
posted @ 2021-07-12 13:43 TBHacker 阅读(267) 评论(0) 推荐(0) 编辑
摘要:修改配置 # requirepass foobared requirepass 123456 重启 阅读全文
posted @ 2021-07-10 18:10 TBHacker 阅读(59) 评论(0) 推荐(0) 编辑
摘要:Redis 如何对外开放 关闭防火墙 进入 # vim /etc/sysconfig/iptables 修改 # -A INPUT -p tcp -m tcp --dport 6379 -j DROP -A INPUT -p tcp -m tcp --dport 6379 -j ACCEPT 重启 阅读全文
posted @ 2021-07-10 17:18 TBHacker 阅读(70) 评论(0) 推荐(0) 编辑
摘要:/** * 初始化车辆信息 */ public function initCar() { car=M(car);edit_data = [ 'begin_date' => '2020-01-01 00:00:00', ]; flag=car->where(['begin_dat 阅读全文
posted @ 2021-07-08 11:00 TBHacker 阅读(322) 评论(0) 推荐(0) 编辑
摘要:development 开发环境(本地服务器) stage (test) 测试环境 (测试服务器) production 生产环境(正式服务器) .env.development # 开发环境 ENV = 'development' # base api VUE_APP_BASE_API = 'lo 阅读全文
posted @ 2021-07-06 14:40 TBHacker 阅读(316) 评论(0) 推荐(0) 编辑
摘要:<?php /** * 文件工具类 */ namespace Common\Util; class FileUtil extends CommonUtil { /** * @param $file * @return bool */ public static function check_file 阅读全文
posted @ 2021-07-05 14:34 TBHacker 阅读(98) 评论(0) 推荐(0) 编辑
摘要:<?php namespace Common\Enum; class RoleEnum { const HOST = 0; const MEMBER = 1; const FRIEND = 2; const RENT = 3; const OTHER = 4; public static $data 阅读全文
posted @ 2021-07-01 19:33 TBHacker 阅读(177) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示