文章分类 - PHP
摘要:快速复制一行:`Ctrl + C` 然后 `Ctrl + V`1 选定多个相同的单词:`Ctrl + D` 双击选定一个单词,然后按下 `Ctrl + D` 可以往下依次选择相同的单词 全局替换某写单词:`Ctrl + H` 选择全部替换即可 快速定位到某一行:`Ctrl + G` 放大缩小整个编辑
阅读全文
posted @ 2024-01-31 09:13
飞鹰之歌
摘要:第一步:文件菜单,导出链接,导出连接获取到 connections.ncx 文件这里需要勾选 导出密码!!! 不然导出的文件里不包含加密的密码 第二步:找到加密密码,进行破解在导出的connections.ncx文件中找到password,然后复制出来 第三步:打开如下网址:https://tool
阅读全文
摘要:参考:https://blog.csdn.net/m0_73311735/article/details/127490520 阿里文档:https://github.com/alibaba/canal?tab=readme-ov-file php实现:https://blog.51cto.com/p
阅读全文
摘要:\simplewind\thinkphp\library\think\db\Query.php //优化选项内容 public function beautifyOptions(){ $data_options = $this->getOptions(); //join优化 if(!empty($d
阅读全文
摘要:参考:https://www.cnblogs.com/hu308830232/p/15331223.html https://blog.csdn.net/hedeqiang9436/article/details/106498591 首先安装组件 composer require hyperf/fi
阅读全文
摘要:composer require reasno/fastmongo参考:https://github.com/Reasno/fastmongo
阅读全文
摘要:方法11.dockerFile增加:&& cd /tmp \&& wget http://pecl.php.net/get/mongodb-1.7.4.tgz \&& tar -xzvf mongodb-1.7.4.tgz && cd mongodb-1.7.4 \&& phpize && ./co
阅读全文
摘要:参考网址:https://blog.csdn.net/u011383596/article/details/120377416https://www.cnblogs.com/summerday152/p/14013439.htmlhttps://www.lanhusoft.com/Article/7
阅读全文
摘要:1、下载 Docker Desktop for Windows2、安装docker镜像docker pull elasticsearch:7.9.3 docker pull hyperf/hyperf:7.4-alpine-v3.12-swoole dcoker pull kibana:7.9.3
阅读全文
摘要:安装教程: https://wiki.hyperfcms.com/#/zh-cn/install 问题处理:安装node-sass报错https://blog.csdn.net/noibug/article/details/121332186 https://blog.csdn.net/you23h
阅读全文
摘要:搭建服务提供者,消费者 参考网址:http://www.manks.top/hyperf-rpc-build-consumer-service.html https://gitee.com/guoyizhou/hyperf-microservice-practice https://blog.csd
阅读全文
摘要:<?php //2021-07-13 13:42:27 namespace app\user\service; use think\cache\driver\Redis; use think\Db; use think\Config; use think\Log; class CrondServic
阅读全文
摘要://es获取内容分词 function getEsAnalyze($text,$analyzer = 'ik_smart',$dbcfg = ''):array { if(empty($dbcfg)){ include DT_ROOT.'/file/config/es.inc.php'; }else
阅读全文
摘要:function get($url,$rerror = 0,$ip = '',$header = []){ $ch = curl_init(); if(stripos($url,"https://")!==FALSE){ curl_setopt($ch, CURLOPT_SSL_VERIFYPEER
阅读全文
摘要:步骤: 环境和软件相关: windows10 phpstorm2017 1)安装phpcs 使用composer全局安装phpcs composer global require "squizlabs/php_codesniffer=*" 在windows系统,全局安装的话会在C:\Users\{u
阅读全文
摘要:https://www.jsdelivr.com/?docs=gh https://cdn.jsdelivr.net/gh/user/repo@version/file
阅读全文
摘要:Redis GEO Redis GEO 主要用于存储地理位置信息,并对存储的信息进行操作,该功能在 Redis 3.2 版本新增。 Redis GEO 操作方法有: geoadd:添加地理位置的坐标。 geopos:获取地理位置的坐标。 geodist:计算两个位置之间的距离。 georadius:
阅读全文
摘要:function file_exists($url) { $ch = curl_init(); curl_setopt ($ch, CURLOPT_URL, $url); //不下载 curl_setopt($ch, CURLOPT_NOBODY, 1); //设置超时 curl_setopt ($
阅读全文
摘要:php高效内容内链替换 //$flag 生成字典缓存function cache_keylink($flag = 1) { global $db; $arr = array(); $result = $db->query("SELECT title,url,murl FROM {$db->pre}k
阅读全文
摘要:分词器下载放在plugins目录下https://github.com/medcl/elasticsearch-analysis-ik/tags?after=v6.8.14 参考:https://blog.csdn.net/z_ipython/article/details/102849579 IK
阅读全文

浙公网安备 33010602011771号