<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[大鹏]]></title><description><![CDATA[易天下]]></description><link>https://blog.csdn.net/adparking</link><language>zh-cn</language><generator>https://blog.csdn.net/</generator><copyright><![CDATA[Copyright &copy; adparking]]></copyright><item><title><![CDATA[golang 正则匹配（更详细易懂 语法+示例）]]></title><link>https://blog.csdn.net/adparking/article/details/131617997</link><guid>https://blog.csdn.net/adparking/article/details/131617997</guid><author>adparking</author><pubDate>Sat, 08 Jul 2023 23:51:48 +0800</pubDate><description><![CDATA[可以在 [] 中使用转义字符：\f、\t、\n、\r、\v、\377、\xFF、\x{10FFFF}、\\、\^、\$、\.、\*、\+、\。、\{、\}、\(、\)、\[、\]、\|（具体含义见上面的说明）。fmt.Printf("%q\n", reg.ReplaceAllString(text, "$3$2$1")) // "Go 世界。123 G" "."]fmt.Printf("%q\n", reg.FindAllString(text, -1)) // ["Hello 世界" "123 Go"]]]></description><category></category></item><item><title><![CDATA[docker安装nacos]]></title><link>https://blog.csdn.net/adparking/article/details/128786361</link><guid>https://blog.csdn.net/adparking/article/details/128786361</guid><author>adparking</author><pubDate>Sun, 29 Jan 2023 13:48:09 +0800</pubDate><description><![CDATA[5、创建容器，这里的指定参数根据/home/nacos/conf/application.properties 配置设置的，主要是mysql配置的修改。1、老规则咱们登录docker 官网搜索nacos再到镜像执行拉取。4、nacos初始化sql,需要先创建nacos数据库后，然后执行下面的Sql【2、创建本地的映射文件，custom.properties，3、创建数据库 nacos_config。]]></description><category></category></item><item><title><![CDATA[mysql query_time单位_深入mysql慢查询设置的详解]]></title><link>https://blog.csdn.net/adparking/article/details/127547241</link><guid>https://blog.csdn.net/adparking/article/details/127547241</guid><author>adparking</author><pubDate>Thu, 27 Oct 2022 10:28:56 +0800</pubDate><description><![CDATA[在web开发中，我们经常会写出一些SQL语句，一条糟糕的SQL语句可能让你的整个程序都非常慢，超过10秒一般用户就会选择关闭网页，如何优化 SQL语句将那些运行时间 比较长的SQL语句找出呢？(4)如果日志文件不想放在data目录，我们可以通过如下配置指定存放的目录及日志文件名：slow_query_log_file=file_name其中file_name就是你的存放日志的目录和文件名，在这里注意有的资料上可能是log-slow-queries=file_name,这个在mysql5.5版已经过时！]]></description><category></category></item><item><title><![CDATA[php如何实现Redis的Zset操作]]></title><link>https://blog.csdn.net/adparking/article/details/127406434</link><guid>https://blog.csdn.net/adparking/article/details/127406434</guid><author>adparking</author><pubDate>Wed, 19 Oct 2022 13:47:00 +0800</pubDate><description><![CDATA[如果某个成员已经是有序集的成员，则更新这个成员的分数值，并通过重新插入这个成员元素，来保证该成员在正确的位置上。//返回有序集中指定分数区间的成员列表，按分数值递减排序，分数值相同的则按字典序的逆序来排序。//返回有序集中指定分数区间的成员列表，按分数值递增排序，分数值相同的则按字典序来排序。//返回有序集中指定成员的排名，按分数值递增排序。//返回有序集中指定成员的排名，按分数值递减排序。//移除有序集中的一个或多个成员，忽略不存在的成员。//返回有序集中指定成员的分数值。//返回指定有序集的元素数量。]]></description><category></category></item><item><title><![CDATA[百度地图、腾讯地图、高德地图经纬度转换]]></title><link>https://blog.csdn.net/adparking/article/details/124200590</link><guid>https://blog.csdn.net/adparking/article/details/124200590</guid><author>adparking</author><pubDate>Fri, 15 Apr 2022 17:54:15 +0800</pubDate><description><![CDATA[WGS-84：是国际标准，GPS坐标（GoogleEarth使用、或者GPS模块）GCJ-02：中国坐标偏移标准，GoogleMap、高德、腾讯使用
BD-09：百度坐标偏移标准，BaiduMap使用



//将腾讯、高德地图经纬度转换为百度地图经纬度

function qqMapTransBMap(lng, lat) {
let x_pi = 3.14159265358979324 * 3000.0 / 180.0;
let x = lng;
let y = lat;
...]]></description><category></category></item><item><title><![CDATA[charles安装配置 for Mac]]></title><link>https://blog.csdn.net/adparking/article/details/122732727</link><guid>https://blog.csdn.net/adparking/article/details/122732727</guid><author>adparking</author><pubDate>Fri, 28 Jan 2022 16:02:59 +0800</pubDate><description><![CDATA[1. 安装

去官网下载，地址：https://www.charlesproxy.com/download/

2. 激活

这里是网上找的激活账号，填入即可




Registered Name: https://zhile.io
License Key: 48891cf209c6d32bf4


3. 配置

3.1 证书安装


Help-&gt;ssl proxying




依次


	Charles Root Certificate
	
	
	Charles Root Certificate]]></description><category></category></item><item><title><![CDATA[CentOS 配置Swap]]></title><link>https://blog.csdn.net/adparking/article/details/122685299</link><guid>https://blog.csdn.net/adparking/article/details/122685299</guid><author>adparking</author><pubDate>Tue, 25 Jan 2022 14:52:54 +0800</pubDate><description><![CDATA[1、查看目前内存配置情况


第一种方法：运行free -h




image.png


可以看到swap部分参数都为0，即没有配置



第二种方法：运行 swapon -s
如果没有任何输出，则代表没有配置


2、创建文件


运行df -h，查看硬盘空间使用情况，确保有足够的空间




image.png



创建缓存文件
网上有很多方法，例如：sudo fallocate -l 2G /swapfile，
但是容易报错：fallocate: /swapfile: fallocate ...]]></description><category></category></item><item><title><![CDATA[使用awk批量杀进程的命令]]></title><link>https://blog.csdn.net/adparking/article/details/122566662</link><guid>https://blog.csdn.net/adparking/article/details/122566662</guid><author>adparking</author><pubDate>Tue, 18 Jan 2022 19:22:23 +0800</pubDate><description><![CDATA[ps -ef | grep firefox | grep -v grep | awk '{print "kill -9 "$2}'|sh



#列出了当前主机中运行的进程中包含firefox关键字的进程
ps -ef | grep firefox | grep -v grep    
 
#列出了要kill掉这些进程的命令，并将之打印在了屏幕上 
ps -ef | grep firefox | grep -v grep | awk '{print "kill -9 "$2}'
 
#后面加上|sh后，则.]]></description><category></category></item><item><title><![CDATA[调试工具:Yasd或Sdebug 在 phpstorm + hyperf 中使用的注意事项]]></title><link>https://blog.csdn.net/adparking/article/details/122396384</link><guid>https://blog.csdn.net/adparking/article/details/122396384</guid><author>adparking</author><pubDate>Sun, 09 Jan 2022 17:45:08 +0800</pubDate><description><![CDATA[在 phpstorm 中的使用问题

不少小伙伴会发现，一顿猛如虎操作的下来后，发现依然进入不了调试模式。焦头烂额之际，查找官方文档，常见问题描述如下：

官方提供的方案

使用了代理类 例如hyperf框架，如果程序实际上执行的是代理类，需要在代理类里面打断点。
	程序跑在虚拟机里面 因为断点是由文件的绝对路径+行号决定的。如果虚拟机和宿主机的项目路径不一样，就会导致断点不被触发。我们需要去配置IDE的path mapping来解决这个问题。
	项目目录使用了软连接 如果项目目录使用了软连接，会导致断点失]]></description><category></category></item><item><title><![CDATA[Mac的PHP-Swoole开发环境安装]]></title><link>https://blog.csdn.net/adparking/article/details/122391443</link><guid>https://blog.csdn.net/adparking/article/details/122391443</guid><author>adparking</author><pubDate>Sun, 09 Jan 2022 11:40:50 +0800</pubDate><description><![CDATA[快速开始 - Homebrew



/bin/bash -c "$(curl -fsSL https://cdn.jsdelivr.net/gh/ineo6/homebrew-install/install.sh)"



Mac 中brew安装PHP及扩展


brew search php  使用此命令搜索可用的PHP版本
brew install php@7.1 使用此命令安装指定版本的php
brew install brew-php-switcher 安装php多版本切换工具
brew-php-]]></description><category></category></item><item><title><![CDATA[Hyperf 初体验-汇总]]></title><link>https://blog.csdn.net/adparking/article/details/122203841</link><guid>https://blog.csdn.net/adparking/article/details/122203841</guid><author>adparking</author><pubDate>Tue, 28 Dec 2021 21:58:03 +0800</pubDate><description><![CDATA[请求与协程生命周期

Swoole 在处理每个连接时，会默认创建一个协程去处理，主要体现在onRequest、onReceive、onConnect事件，所以可以理解为每个请求都是一个协程，由于创建协程也是个常规操作，所以一个请求协程里面可能会包含很多个协程，同一个进程内协程之间是内存共享的，但调度顺序是非顺序的，且协程间本质上是相互独立的没有父子关系，所以对每个协程的状态处理都需要通过协程上下文来管理。
...]]></description><category></category></item><item><title><![CDATA[Mac使用ssh公钥免密登录Linux]]></title><link>https://blog.csdn.net/adparking/article/details/122200643</link><guid>https://blog.csdn.net/adparking/article/details/122200643</guid><author>adparking</author><pubDate>Tue, 28 Dec 2021 19:33:05 +0800</pubDate><description><![CDATA[mac上使用ssh登录linux，不想装各种工具，又很想偷懒（不想输密码）。采用密钥的形式是个思路，找了很多例子，但实现中出了不少小问题。最终通了，实际步骤很简单，先留个底，回头再研究其原理。

1. 切换到 .ssh目录下




cd ~/.ssh


2. 生成密钥


三次回车，不需要输入密码





ssh-keygen -t rsa  -C "yourname@email"
ssh-keygen -t rsa
Enter file in which to save the key (/User]]></description><category></category></item><item><title><![CDATA[算法复杂度 o(1), o(n), o(logn), o(nlogn)]]></title><link>https://blog.csdn.net/adparking/article/details/122070688</link><guid>https://blog.csdn.net/adparking/article/details/122070688</guid><author>adparking</author><pubDate>Tue, 21 Dec 2021 18:40:55 +0800</pubDate><description><![CDATA[描述算法复杂度时,常用o(1), o(n), o(logn), o(nlogn)表示对应算法的时间复杂度，是算法的时空复杂度的表示。不仅仅用于表示时间复杂度，也用于表示空间复杂度。

O后面的括号中有一个函数，指明某个算法的耗时/耗空间与数据增长量之间的关系。其中的n代表输入数据的量。

比如时间复杂度为O(n)，就代表数据量增大几倍，耗时也增大几倍。比如常见的遍历算法。再比如时间复杂度O(n^2)，就代表数据量增大n倍时，耗时增大n的平方倍，这是比线性更高的时间复杂度。...]]></description><category></category></item><item><title><![CDATA[Redis之常用的十几种使用场景]]></title><link>https://blog.csdn.net/adparking/article/details/122070478</link><guid>https://blog.csdn.net/adparking/article/details/122070478</guid><author>adparking</author><pubDate>Tue, 21 Dec 2021 18:26:06 +0800</pubDate><description><![CDATA[1、缓存


String类型


例如：热点数据缓存（例如报表、明星爆料）、对象缓存、全页缓存等

2、数据共享分布式


String 类型，因为 Redis 是分布式的独立服务，可以在多个应用之间共享


例如：分布式Session




&lt;dependency&gt; 
  &lt;groupId&gt;org.springframework.session&lt;/groupId&gt; 
  &lt;artifactId&gt;spring-session-data-redis&lt;/]]></description><category></category></item><item><title><![CDATA[注解ConfigurationProperties注入yml配置文件中的数据]]></title><link>https://blog.csdn.net/adparking/article/details/122006744</link><guid>https://blog.csdn.net/adparking/article/details/122006744</guid><author>adparking</author><pubDate>Fri, 17 Dec 2021 23:32:22 +0800</pubDate><description><![CDATA[在使用SpringBoot开发中需要将一些配置参数放在yml文件中定义，再通过Java类来引入这些配置参数

SpringBoot提供了一些注解来实现这个功能

ConfigurationProperties
	Value
	EnableConfigurationProperties
下面提供例子来说明如何引入常规变量，数组，List，Ｍap,引用对象。

[相关代码-ＧitHub]



引入pom


&lt;dependency&gt;
    &lt;groupId&gt;org.springfra]]></description><category></category></item><item><title><![CDATA[方法在执行过程中在JVM中的内存分配]]></title><link>https://blog.csdn.net/adparking/article/details/121944174</link><guid>https://blog.csdn.net/adparking/article/details/121944174</guid><author>adparking</author><pubDate>Wed, 15 Dec 2021 08:39:28 +0800</pubDate><description><![CDATA[1.方法只定义，不调用，是不会执行的，也并不会在JVM中给他分配“运行所属”内存空间调用的时候才会动态的给这个方法分配所属的内存空间



2.内存划分上主要有三块主要的内存空间
方法区内存
堆内存
栈内存



3.关于栈数据结构：
栈 stack
数据结构反映的是数据的存储形态。

常见的数据结构：
数组
队列
栈
链表
二叉树
哈希表/散列表
······

1.栈帧永远指向栈顶元素
2.栈顶元素处于活跃状态，其他元素静止
3. 压栈/入栈/push 弹栈/出栈/pop

4.栈数据结构存储数据的特.]]></description><category></category></item><item><title><![CDATA[dependencies与dependencyManagement的区别]]></title><link>https://blog.csdn.net/adparking/article/details/121483477</link><guid>https://blog.csdn.net/adparking/article/details/121483477</guid><author>adparking</author><pubDate>Mon, 22 Nov 2021 23:33:29 +0800</pubDate><description><![CDATA[在上一个项目中遇到一些jar包冲突的问题，之后还有很多人分不清楚dependencies与dependencyManagement的区别，本篇文章将这些区别总结下来。



1、DepencyManagement应用场景

当我们的项目模块很多的时候，我们使用Maven管理项目非常方便，帮助我们管理构建、文档、报告、依赖、scms、发布、分发的方法。可以方便的编译代码、进行依赖管理、管理二进制库等等。

由于我们的模块很多，所以我们又抽象了一层，抽出一个itoo-base...]]></description><category></category></item><item><title><![CDATA[Mysql触发器字段双向更新]]></title><link>https://blog.csdn.net/adparking/article/details/120906428</link><guid>https://blog.csdn.net/adparking/article/details/120906428</guid><author>adparking</author><pubDate>Sat, 23 Oct 2021 14:57:41 +0800</pubDate><description><![CDATA[业务场景：不同的业务系统共用余额，hjmallind_user和ims_cjdc_user两个表不同的余额字段，但是共用余额值。

触发器定义：


DROP TRIGGER IF EXISTS `test-up_ds_wallet`;
CREATE TRIGGER `test-up_ds_wallet` AFTER UPDATE ON `ims_cjdc_user`
 FOR EACH ROW
 BEGIN
  DECLARE ds_money decimal(10,2);
...]]></description><category></category></item><item><title><![CDATA[git clone 报403错误，完美解决方案]]></title><link>https://blog.csdn.net/adparking/article/details/120342446</link><guid>https://blog.csdn.net/adparking/article/details/120342446</guid><author>adparking</author><pubDate>Fri, 17 Sep 2021 09:36:08 +0800</pubDate><description><![CDATA[首先命令行操作结果如下：

root@zhiren-PowerEdge-T110-II:/zrun# git clone https://git.coding.net/xxxxxxxx/xxxx.git
正克隆到 'anbu'...
remote: Coding.net Tips : [You have no permission to access this repo.]
fatal: unable to access 'https://git.coding.net/xxxxxxxx/xxxx.git/']]></description><category></category></item><item><title><![CDATA[Ncdu强大的磁盘查看命令]]></title><link>https://blog.csdn.net/adparking/article/details/120258190</link><guid>https://blog.csdn.net/adparking/article/details/120258190</guid><author>adparking</author><pubDate>Sun, 12 Sep 2021 23:35:35 +0800</pubDate><description><![CDATA[不管是使用电脑还是维护服务器，都会遇到一个问题，磁盘空间不足。一般都是通过du命令来统计磁盘占用空间。

今天推荐一个非常好用的统计磁盘占用工具ncdu。


ncdu项目地址 https://github.com/rofl0r/ncdu


ncdu 相对与 du 的优势

优势：


	统计的目录以仪表盘展示
	
	
	可以以磁盘占用大小或者文件名称排序
	
	
	支持远程导出本地分析
	
示例

命令格式


ncdu&lt;options&gt;&lt;directory&gt;


直...]]></description><category></category></item></channel></rss>