<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[qq_37190845的博客]]></title><description><![CDATA[]]></description><link>https://blog.csdn.net/qq_37190845</link><language>zh-cn</language><generator>https://blog.csdn.net/</generator><copyright><![CDATA[Copyright &copy; qq_37190845]]></copyright><item><title><![CDATA[安装man中文]]></title><link>https://blog.csdn.net/qq_37190845/article/details/115533714</link><guid>https://blog.csdn.net/qq_37190845/article/details/115533714</guid><author>qq_37190845</author><pubDate>Thu, 08 Apr 2021 22:46:31 +0800</pubDate><description><![CDATA[安装 man 中文手册
在使用 mac 或者 linux 的时候，需要用到命令，而大量的命令含有大量 options，一般很难记住，使用 man 可以查看这些命令的 options，但对于英语薄弱的人来说，例如我，看起来还是有一定的困难，所以需要安装以下中文手册。
准备前，我们需要安装两个 package，前提你是使用了 brew 管理
&gt; brew install automake
&gt; brew install opencc

然后需要下载中文包。
&gt; git clone  https:]]></description><category></category></item><item><title><![CDATA[谷歌扩展工具管理]]></title><link>https://blog.csdn.net/qq_37190845/article/details/105166997</link><guid>https://blog.csdn.net/qq_37190845/article/details/105166997</guid><author>qq_37190845</author><pubDate>Sat, 28 Mar 2020 19:40:09 +0800</pubDate><description><![CDATA[1、扩展打包
~/Library/Application Support/Google/Chrome/Default/Extensions
下打包扩展文件夹
每个扩展对应自己的id名文件
2、使用扩展
进入谷歌浏览器扩展工具


]]></description><category></category></item><item><title><![CDATA[关于epoll, select, poll的实现demo]]></title><link>https://blog.csdn.net/qq_37190845/article/details/103751514</link><guid>https://blog.csdn.net/qq_37190845/article/details/103751514</guid><author>qq_37190845</author><pubDate>Thu, 16 Jan 2020 23:17:02 +0800</pubDate><description><![CDATA[client.c
//client.c
#include&lt;stdio.h&gt;
#include&lt;sys/types.h&gt;
#include&lt;sys/socket.h&gt;
#include&lt;unistd.h&gt;
#include&lt;netinet/in.h&gt;
#include&lt;arpa/inet.h&gt;
#include&lt;stdli...]]></description><category></category></item><item><title><![CDATA[关于c语言的数组和字符串的区别]]></title><link>https://blog.csdn.net/qq_37190845/article/details/103536237</link><guid>https://blog.csdn.net/qq_37190845/article/details/103536237</guid><author>qq_37190845</author><pubDate>Mon, 23 Dec 2019 10:18:01 +0800</pubDate><description><![CDATA[#include &lt;stdio.h&gt;
#include &lt;string.h&gt;
int main(int argc, char const *argv[])
{
char *p;
p = “aaaaa”;
printf("%s\n", p);
char a[10] = "bbbbb";
printf("%s\n", a);


char b[10];
b = "cccccc"...]]></description><category></category></item><item><title><![CDATA[关于php的管道组件理解]]></title><link>https://blog.csdn.net/qq_37190845/article/details/99168886</link><guid>https://blog.csdn.net/qq_37190845/article/details/99168886</guid><author>qq_37190845</author><pubDate>Sun, 11 Aug 2019 09:38:49 +0800</pubDate><description><![CDATA[应用在对代码进行层层校验，通过array_reduce和匿名函数调用来实现。
&lt;?php
class Pipeline
{
    public $method = 'handle';
    public $request = 'testData';
    public $arr = array('test1', 'test2', 'test3');
    public functio...]]></description><category></category></item><item><title><![CDATA[redis跳跃表和整数集合]]></title><link>https://blog.csdn.net/qq_37190845/article/details/97050559</link><guid>https://blog.csdn.net/qq_37190845/article/details/97050559</guid><author>qq_37190845</author><pubDate>Thu, 01 Aug 2019 20:28:28 +0800</pubDate><description><![CDATA[跳跃表：

跳跃表作为有序集合的是底层实现;
在集群节点中做内部的数据结构;
跳跃表是一种基于顺序表实现的数据结构，相比于平衡树，它的实现更简单;

整数集合：

整数集合是集合键的底层实现之一;
整数集合的底层实现为数组，在添加新的元素的时候，会根据新元素的类型，改变整个数组的类型，
升级操作节约了内存使用
整数集合不支持降级操作。


...]]></description><category></category></item><item><title><![CDATA[redis链表和字典]]></title><link>https://blog.csdn.net/qq_37190845/article/details/96912652</link><guid>https://blog.csdn.net/qq_37190845/article/details/96912652</guid><author>qq_37190845</author><pubDate>Thu, 25 Jul 2019 23:09:53 +0800</pubDate><description><![CDATA[链表在redis 的常用：
列表，发布订阅，满查询，监视器等。

双向链表，通过prev和next指针来实现前后节点的访问
无环，头节点和尾节点都是以null为终点
具备带头指针和带尾指针
链表长度计数器
存放不同类型的数据

字典(关联数组，映射)：

在执行set a b时候，就会创建a为键名，b为键值的关联数组。
字典的底层通过hash来实现，一个hash表里面有多个hash节点，一个has...]]></description><category></category></item><item><title><![CDATA[redis简单动态字符串]]></title><link>https://blog.csdn.net/qq_37190845/article/details/96776439</link><guid>https://blog.csdn.net/qq_37190845/article/details/96776439</guid><author>qq_37190845</author><pubDate>Tue, 23 Jul 2019 22:17:27 +0800</pubDate><description><![CDATA[redis内部使用sds，简单动态字符串，
sds是什么：simple dynamic t包含字符串长度，空间使用率，已使用，未使用等信息的一个结构体
sds比c语言字符串的优点：


获取字符串长度不需要进行遍历，时间复杂度为O(1)。


杜绝缓冲区溢出：对sds进行修改的时候，api会先检查sds的空间是否足够，，如果不需要的话，api会自动进行空间的扩展，然后执行实际的修改。


减少修改...]]></description><category></category></item><item><title><![CDATA[对于c实现socket(一对一通信)]]></title><link>https://blog.csdn.net/qq_37190845/article/details/96575979</link><guid>https://blog.csdn.net/qq_37190845/article/details/96575979</guid><author>qq_37190845</author><pubDate>Sat, 20 Jul 2019 12:01:40 +0800</pubDate><description><![CDATA[对于socket一般是出现在网络编程中的，但是它的作用却并不是仅仅用于网络通信，对于nginx和php之间的交互（进程之间的通信）也是通过socket来实现的，基于提升对socket的理解和认识，写下此博客
什么是socket：
socket的翻译是插座，在计算机七层模型中，socket是基于传输层来实现的，两个端的通信通过socket来进行数据的传输，而socket可以简化理解为ip+端口号。
...]]></description><category></category></item><item><title><![CDATA[关于PHP的yield认识]]></title><link>https://blog.csdn.net/qq_37190845/article/details/96036601</link><guid>https://blog.csdn.net/qq_37190845/article/details/96036601</guid><author>qq_37190845</author><pubDate>Thu, 18 Jul 2019 23:53:14 +0800</pubDate><description><![CDATA[在symfony中，看到对于对象的生成使用了yield，而不是return，由此对yield有了一个认识。
关于yield可以参考php官网：https://www.php.net/manual/zh/language.generators.overview.php
官网上有解释说，yield会节省php的内存，为了证明这个问题，我也借鉴php官网的demo进行了测试，代码如下
range.php...]]></description><category></category></item><item><title><![CDATA[关于fastcgi_finish_request的认识]]></title><link>https://blog.csdn.net/qq_37190845/article/details/95856707</link><guid>https://blog.csdn.net/qq_37190845/article/details/95856707</guid><author>qq_37190845</author><pubDate>Mon, 15 Jul 2019 23:00:10 +0800</pubDate><description><![CDATA[在查看symfony框架源码时候，发现在设置http头以及消息体后，存在一个fastcgi_finish_request函数的判断。
想要了解该函数的作用，需要先了解PHP的四种运行模式：
1. CLI
命令行运行模式。
2. cgi
网关接口模式（使用的比较少，当请求比较多的时候，需要fork出大量的进程，对服务器的压力很大）
3. Fast-cgi
像cgi模式的常驻内存的方式，FastCgi...]]></description><category></category></item><item><title><![CDATA[symfony中的eventDispatcher核心简单实现]]></title><link>https://blog.csdn.net/qq_37190845/article/details/95683266</link><guid>https://blog.csdn.net/qq_37190845/article/details/95683266</guid><author>qq_37190845</author><pubDate>Sat, 13 Jul 2019 00:42:07 +0800</pubDate><description><![CDATA[关于symfony中的eventDispatcher核心实现的认识
eventDispatcher主要用来实现事件的监听和触发， 再有异常或者其他情况时候，及时调用和触发。
在eventDispatcher的使用中，我们都知道需要先在dispatcher上绑定监听器，然后在需要的情况下，触发特定的事件，其实，对于监听器的选择和事件的选择，我们都是可以控制的，甚至可以脱离listeners直接绑定e...]]></description><category></category></item><item><title><![CDATA[mysql查询中，根据字段查找库]]></title><link>https://blog.csdn.net/qq_37190845/article/details/89021567</link><guid>https://blog.csdn.net/qq_37190845/article/details/89021567</guid><author>qq_37190845</author><pubDate>Thu, 04 Apr 2019 14:14:59 +0800</pubDate><description><![CDATA[缘由：项目中设计的表和库比较多，根据字段查询在哪个表中
select table_schema,table_name from information_schema.columns where column_name = ‘列表名’

]]></description><category></category></item><item><title><![CDATA[macbook关于https 证书.p12文件转出私钥，公钥，crt文件，cre文件]]></title><link>https://blog.csdn.net/qq_37190845/article/details/88583874</link><guid>https://blog.csdn.net/qq_37190845/article/details/88583874</guid><author>qq_37190845</author><pubDate>Fri, 15 Mar 2019 20:59:44 +0800</pubDate><description><![CDATA[缘由：使用postman整理公司的接口文档，有对https的请求；需要使用到证书的相关文件。
首先：会有一个 test.p12文件。
p12文件是公司运维发配的，我查看资料，生成过程如下：
1：pfx 文件 生成  pem  文件。
openssl pkcs12 -in test.pfx -out test.pem
2：pem文件 生成
openssl pkcs12 -export -in tes...]]></description><category></category></item><item><title><![CDATA[关于PHP array_map,array_filter,array_reduce函数]]></title><link>https://blog.csdn.net/qq_37190845/article/details/88428905</link><guid>https://blog.csdn.net/qq_37190845/article/details/88428905</guid><author>qq_37190845</author><pubDate>Tue, 12 Mar 2019 20:49:21 +0800</pubDate><description><![CDATA[缘由：当开发中需要两层foreach甚至多层（不建议出现多层情况）时候，为了提高代码的可读性，可以使用适当的array相关函数来处理这些问题。
array_map
定义：为数组的每个元素应用回调函数，可以理解为，将数组中的每个元素作为形参，依次运行回调函数，将所处理的值以数组的形式返回。
例子：
$array = array(
	1,2,3,4,5
);

$array2 = array(
	1,...]]></description><category></category></item><item><title><![CDATA[php中 ？？语法]]></title><link>https://blog.csdn.net/qq_37190845/article/details/88373388</link><guid>https://blog.csdn.net/qq_37190845/article/details/88373388</guid><author>qq_37190845</author><pubDate>Sat, 09 Mar 2019 23:47:50 +0800</pubDate><description><![CDATA[缘由：
symfony框架中对变量的赋值使用了这样的语法。
？？语法：
$a = $b ?? $c;

等同于
$a = isset($b) ? $b : $c;

一般更常用的
$a = $b ?? $c ?? null;
等同于
$a = isset($b) ?$b : (isset($c)? $c :null);

将第一个存在的值赋值给$a；

...]]></description><category></category></item><item><title><![CDATA[php函数spl_autoload_register]]></title><link>https://blog.csdn.net/qq_37190845/article/details/88372720</link><guid>https://blog.csdn.net/qq_37190845/article/details/88372720</guid><author>qq_37190845</author><pubDate>Sat, 09 Mar 2019 23:09:55 +0800</pubDate><description><![CDATA[定义：
首先spl_autoload_register的官方定义：注册给定的函数作为 __autoload 的实现。
可以理解为替代_autoload函数的方案；
函数的使用：
关于spl_autoload_register的使用如下：
文件1：ClassTest.php
&amp;amp;lt;?php
Class classTest
{
	public function go()
	{
		echo 'suc...]]></description><category></category></item></channel></rss>