<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[php_hello_word的博客]]></title><description><![CDATA[]]></description><link>https://blog.youkuaiyun.com/php_hello_word</link><language>zh-cn</language><generator>https://blog.youkuaiyun.com/</generator><copyright><![CDATA[Copyright &copy; php_hello_word]]></copyright><item><title><![CDATA[php微信Emoji表情处理]]></title><link>https://blog.youkuaiyun.com/php_hello_word/article/details/130342468</link><guid>https://blog.youkuaiyun.com/php_hello_word/article/details/130342468</guid><author>php_hello_word</author><pubDate>Mon, 24 Apr 2023 15:02:44 +0800</pubDate><description><![CDATA[php微信Emoji表情处理]]></description><category></category></item><item><title><![CDATA[uni-app打包h5后chunk-vendors.js文件大导致页面访问缓慢解决方案]]></title><link>https://blog.youkuaiyun.com/php_hello_word/article/details/114930973</link><guid>https://blog.youkuaiyun.com/php_hello_word/article/details/114930973</guid><author>php_hello_word</author><pubDate>Wed, 17 Mar 2021 15:20:11 +0800</pubDate><description><![CDATA[步骤一

uni-app开发文档：https://uniapp.dcloud.io/collocation/manifest?id=h5

在manifest.json里配置开启摇树优化，会自动裁剪没有使用到的uni-app组件和api

"h5" : {
    "title" : "春暖花开好运来",
    "domain" : "",
    "optimization": {
      "treeShaking": {
        "ena...]]></description><category></category></item><item><title><![CDATA[微信h5公众号授权登录获取用户信息]]></title><link>https://blog.youkuaiyun.com/php_hello_word/article/details/114675265</link><guid>https://blog.youkuaiyun.com/php_hello_word/article/details/114675265</guid><author>php_hello_word</author><pubDate>Thu, 11 Mar 2021 18:14:42 +0800</pubDate><description><![CDATA[一、前期准备

微信公众派台地址：https://mp.weixin.qq.com/

1、认证的服务号(目前每年300元)

2、域名

二、配置公众号相关信息



1、微信公众平台配置网页授权域名（域名不支持IP、端口号）

2、设置微信公众号AppSecret（记录下来，后期获取ACCESS_TOKENSHIYONG 使用）、设置IP白名单

三、授权流程



1、用户同意授权后获取code，code有效期10分钟

2、使用code获取一下信息

access_token调用接口凭证，有效期..]]></description><category></category></item><item><title><![CDATA[2021-01-05利用Linux自带的logrotate管理日志]]></title><link>https://blog.youkuaiyun.com/php_hello_word/article/details/112241908</link><guid>https://blog.youkuaiyun.com/php_hello_word/article/details/112241908</guid><author>php_hello_word</author><pubDate>Tue, 05 Jan 2021 16:22:46 +0800</pubDate><description><![CDATA[利用Linux自带的logrotate管理日志

日常运维中，经常要对各类日志进行管理，清理，监控，尤其是因为应用bug，在1小时内就能写几十个G日志，导致磁盘爆满，系统挂掉。

nohup.out，access.log，catalina.out

本文简单介绍利用Linux自带的logrotate来对操作系统中各类日志进行管理。

1、logrotate简介

The logrotate utility is designed to simplify the administration of log f]]></description><category></category></item><item><title><![CDATA[php使用携程Apollo配置中心]]></title><link>https://blog.youkuaiyun.com/php_hello_word/article/details/105540074</link><guid>https://blog.youkuaiyun.com/php_hello_word/article/details/105540074</guid><author>php_hello_word</author><pubDate>Wed, 15 Apr 2020 17:50:17 +0800</pubDate><description><![CDATA[1、安装

php version &gt;= 7.0，linux执行以下命令

composer require multilinguals/apollo-client

php 5.4 =&lt; version &lt;7.0，linux执行以下命令

composer require multilinguals/apollo-client --ignore-platform-reqs

...]]></description><category></category></item><item><title><![CDATA[jquery的each循环与javascript的for循环性能比较]]></title><link>https://blog.youkuaiyun.com/php_hello_word/article/details/103838059</link><guid>https://blog.youkuaiyun.com/php_hello_word/article/details/103838059</guid><author>php_hello_word</author><pubDate>Sat, 04 Jan 2020 21:50:55 +0800</pubDate><description><![CDATA[最近开发了H5，其中有一个页面的列表数据是由ajax获取接口的数据进行渲染的，页面渲染的速度非常慢，首先考虑的是接口响应的速度，经测试接口响应的速度平均值在1s之内，属于正常速度，之后发现是jquery的each循坏处理速度慢，后改成javascript的for循环处理数据，页面加载速度有明显的的提升。

请看下面的例子：

&lt;!DOCTYPE html&gt;
&lt;html&gt;
&...]]></description><category></category></item><item><title><![CDATA[排序算法]]></title><link>https://blog.youkuaiyun.com/php_hello_word/article/details/80280816</link><guid>https://blog.youkuaiyun.com/php_hello_word/article/details/80280816</guid><author>php_hello_word</author><pubDate>Fri, 11 May 2018 14:26:03 +0800</pubDate><description><![CDATA[排序算法八大排序插入排序:直接插入排序、希尔排序交换排序:冒泡排序、快速排序选择排序:简单选择排序、堆排序归并排序基数排序1.插入排序—直接插入排序(Straight Insertion Sort)基本思想:将一个记录插入到已排序好的有序表中，从而得到一个新记录数增1的有序表。即：先将序列的第1个记录看成是一个有序的子序列，然后从第2个记录逐个进行插入，直至整个序列有序为止。要点：设立哨兵，作为临...]]></description><category></category></item><item><title><![CDATA[算法]]></title><link>https://blog.youkuaiyun.com/php_hello_word/article/details/80280785</link><guid>https://blog.youkuaiyun.com/php_hello_word/article/details/80280785</guid><author>php_hello_word</author><pubDate>Fri, 11 May 2018 14:16:01 +0800</pubDate><description><![CDATA[算法算法是一种将有限计算资源发挥到极致的武器，当计算资源很富余时算法没大用，但一旦到了效率瓶颈，算法绝对是开山第一刀（因为算法不要钱嘛！）。 存储空间，包括存储算法本身所占用的存储空间，算法的输入输出数据所占用的存储空间和算法在运行过程中临时占用的存储空间这三个方面。算法的输入输出数据所占用的存储空间是由要解决的问题决定的，是通过参数表由调用函数传递而来的，它不随本算法的不同而改变。存储算法本身所...]]></description><category></category></item><item><title><![CDATA[数据结构]]></title><link>https://blog.youkuaiyun.com/php_hello_word/article/details/80280706</link><guid>https://blog.youkuaiyun.com/php_hello_word/article/details/80280706</guid><author>php_hello_word</author><pubDate>Fri, 11 May 2018 14:14:35 +0800</pubDate><description><![CDATA[数据结构数据结构是计算机存储、组织数据的方式。数据怎么存储和表示数据结构是指相互之间存在一种或多种特定关系的数据元素的集合。通常情况下，精心选择的数据结构可以带来更高的运行或者存储效率。数据结构往往同高效的检索算法和索引技术有关一、数据的逻辑结构：指反映数据元素之间的逻辑关系的数据结构，其中的逻辑关系是指数据元素之间的前后件关系，而与他们在计算机中的存储位置无关。逻辑结构包括：1.集合数据结构中的...]]></description><category></category></item><item><title><![CDATA[Telnet发送邮件]]></title><link>https://blog.youkuaiyun.com/php_hello_word/article/details/80270438</link><guid>https://blog.youkuaiyun.com/php_hello_word/article/details/80270438</guid><author>php_hello_word</author><pubDate>Thu, 10 May 2018 16:55:36 +0800</pubDate><description><![CDATA[Telnet发送邮件Telnet协议是TCP/IP协议族中的一员，是Internet远程登陆服务的标准协议和主要方式。它为用户提供了在本地计算机上完成远程主机工作的能力。在终端使用者的电脑上使用telnet程序，用它连接到服务器。终端使用者可以在telnet程序中输入命令，这些命令会在服务器上运行，就像直接在服务器的控制台上输入一样。可以在本地就能控制服务器。要开始一个telnet会话，必须输入用...]]></description><category></category></item><item><title><![CDATA[jmeter详述]]></title><link>https://blog.youkuaiyun.com/php_hello_word/article/details/80270323</link><guid>https://blog.youkuaiyun.com/php_hello_word/article/details/80270323</guid><author>php_hello_word</author><pubDate>Thu, 10 May 2018 16:50:55 +0800</pubDate><description><![CDATA[1.线程组名称：可以随意取，我们保持创建是自动分配的名称　　注释：随意　　在取样器错误后要执行的动作：我们选择继续，错误之后依然继续执行　　线程数：一般我们用来表示多少个用户，即我们测试时的用户数量　　Ramp-up Period(in Seconds)：表示每个用户启动的延迟时间，上述我设为1秒，表示系统将在1秒结束前启动我设置的1000个用户，如果设置为1000秒，那么系统将会在1000秒结束...]]></description><category></category></item><item><title><![CDATA[jmeter录制和回放]]></title><link>https://blog.youkuaiyun.com/php_hello_word/article/details/80270160</link><guid>https://blog.youkuaiyun.com/php_hello_word/article/details/80270160</guid><author>php_hello_word</author><pubDate>Thu, 10 May 2018 16:48:57 +0800</pubDate><description><![CDATA[录制在测试计划下，先添加线程组和下面的http请求，已经讲过 在线程组上，在点击增加，添加录制控制器，如下图在工作台上右击新增http代理服务器，如下图点击参数项，在排除模式下，点击Add suggested Excludes,会生成屏蔽访问时的图片，css其他资源...]]></description><category></category></item><item><title><![CDATA[jmeter等待时间]]></title><link>https://blog.youkuaiyun.com/php_hello_word/article/details/80270114</link><guid>https://blog.youkuaiyun.com/php_hello_word/article/details/80270114</guid><author>php_hello_word</author><pubDate>Thu, 10 May 2018 16:41:53 +0800</pubDate><description><![CDATA[用户浏览页面之前不会是直接点击，会有浏览的过程，那么咱们模拟就需要有等待的时间，所以在用户浏览的时候首页等待一会，分类页等待一会，详情页等待一会在录制控制器中新增固定定时器，如下图创建后，可以手动修改等待时间，毫秒为单位，然后把他移动到你需要等待的页面前面接着下面的两个页面也同样加上定时器高斯随机定时器是随机变化的，可以再100毫秒到300毫秒直接变化，更加真实的模拟了用户的一个浏览时间，当然时间...]]></description><category></category></item><item><title><![CDATA[Jmeter]]></title><link>https://blog.youkuaiyun.com/php_hello_word/article/details/80250148</link><guid>https://blog.youkuaiyun.com/php_hello_word/article/details/80250148</guid><author>php_hello_word</author><pubDate>Wed, 09 May 2018 10:41:37 +0800</pubDate><description><![CDATA[Jmeter简介Jmeter的基本概念Apache JMeter是Apache组织开发的基于Java的开源压力测试工具。(1)压力测试及性能测试；(2)数据库测试；(3)Java程序的测试；(4)HTTP及FTP测试；(5)Web Service测试；还能以多种形式展现测试结果 我们为什么使用Jmeter开源免费，基于Java编写，可集成到其他系统可拓展各个功能插件支持接口测试，压力测试等多种功能...]]></description><category></category></item><item><title><![CDATA[Jdk安装]]></title><link>https://blog.youkuaiyun.com/php_hello_word/article/details/80240312</link><guid>https://blog.youkuaiyun.com/php_hello_word/article/details/80240312</guid><author>php_hello_word</author><pubDate>Tue, 08 May 2018 15:22:42 +0800</pubDate><description><![CDATA[Jdk安装下载地址：http://www.oracle.com/technetwork/java/javase/downloads/index.html   下载成功后，点击exe文件进行安装，选择自定义安装目录 进行下一步安装。直到安装完成点击我的电脑----属性----高级----环境变量----在系统变量中----点击新建，　　在变量名中输入：JAVA_HOME　　变量值中输入：C:\sof...]]></description><category></category></item><item><title><![CDATA[ab测试]]></title><link>https://blog.youkuaiyun.com/php_hello_word/article/details/80240245</link><guid>https://blog.youkuaiyun.com/php_hello_word/article/details/80240245</guid><author>php_hello_word</author><pubDate>Tue, 08 May 2018 15:19:43 +0800</pubDate><description><![CDATA[网站性能压力测试是服务器网站性能调优过程中必不可缺少的一环。只有让服务器处在高压情况下，才能真正体现出软件、硬件等各种设置不当所暴露出的问题。性能测试工具目前最常见的有以下几种：ab、http_load、webbench、siege。今天我们专门来介绍ab。ab是apache自带的压力测试工具。ab非常实用，它不仅可以对apache服务器进行网站访问压力测试，也可以对或其它类型的服务器进行压力测试...]]></description><category></category></item><item><title><![CDATA[PHP SPL（PHP 标准库）]]></title><link>https://blog.youkuaiyun.com/php_hello_word/article/details/80240115</link><guid>https://blog.youkuaiyun.com/php_hello_word/article/details/80240115</guid><author>php_hello_word</author><pubDate>Tue, 08 May 2018 15:14:03 +0800</pubDate><description><![CDATA[PHP SPL（PHP 标准库）一.什么是SPL？SPL是用于解决典型问题(standard problems)的一组接口与类的集合。（出自：http://php.net/manual/zh/book.spl.php）SPL，PHP 标准库（Standard PHP Library） ，从 PHP 5.0 起内置的组件和接口，且从 PHP5.3 已逐渐的成熟。SPL 在所有的 PHP5 开发环境中...]]></description><category></category></item><item><title><![CDATA[mysql慢查询日志]]></title><link>https://blog.youkuaiyun.com/php_hello_word/article/details/80240053</link><guid>https://blog.youkuaiyun.com/php_hello_word/article/details/80240053</guid><author>php_hello_word</author><pubDate>Tue, 08 May 2018 15:10:47 +0800</pubDate><description><![CDATA[查看MySQL是否启用了查看慢SQL的日志文件 （1） 查看慢SQL日志是否启用 mysql&amp;gt; show variables like 'log_slow_queries';+------------------+-------+| Variable_name    | Value |+------------------+-------+| log_slow_queries | ON   ...]]></description><category></category></item><item><title><![CDATA[php操作mongodb增删改查]]></title><link>https://blog.youkuaiyun.com/php_hello_word/article/details/80190959</link><guid>https://blog.youkuaiyun.com/php_hello_word/article/details/80190959</guid><author>php_hello_word</author><pubDate>Fri, 04 May 2018 10:52:25 +0800</pubDate><description><![CDATA[//php链接mongodb$m = new Mongo(&quot;mongodb://username:password@host:port}&quot;);//选择数据库，如果以前没该数据库会自动创建dbname$m = $m-&amp;gt;dbname;    //或者$m-&amp;gt;selectDB(dbname)//选择操作的表，如果以前没该数据表会自动创建table_name$collection = $db-...]]></description><category></category></item><item><title><![CDATA[php链接mongodb有时（频繁刷新）链接中断的解决方法]]></title><link>https://blog.youkuaiyun.com/php_hello_word/article/details/80190751</link><guid>https://blog.youkuaiyun.com/php_hello_word/article/details/80190751</guid><author>php_hello_word</author><pubDate>Fri, 04 May 2018 09:51:31 +0800</pubDate><description><![CDATA[Mognodb数据库连接方式标准连接$m = new Mongo(“mongodb://${username}:${password}@localhost：${port}”);其它连接$m = new Mongo(“mongodb://localhost:${port}/${username}:${password}”);有时（频繁刷新）链接中断时切换链接方式...]]></description><category></category></item></channel></rss>