<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:atom="http://www.w3.org/2005/Atom"
>
<channel>
<title><![CDATA[Ryan的技术分享]]></title> 
<atom:link href="https://www.ranmail.net/rss.php" rel="self" type="application/rss+xml" />
<description><![CDATA[]]></description>
<link>https://www.ranmail.net/</link>
<language>zh-cn</language>
<generator>emlog</generator>

<item>
    <title>node.js 常用的数据对象类型</title>
    <link>https://www.ranmail.net/7.html</link>
    <description><![CDATA[<h3>Map</h3>
<p>Map 对象保存键值对，并且能够记住键的原始插入顺序。任何值（对象或者原始值）都可以作为键或值。<br />
详情：<a href="https://developer.mozilla.org/zh-CN/docs/Web/JavaScript/Reference/Global_Objects/Map"><a href="https://developer.mozilla.org/zh-CN/docs/Web/JavaScript/Reference/Global_Objects/Map">https://developer.mozilla.org/zh-CN/docs/Web/JavaScript/Reference/Global_Objects/Map</a></a></p>
<h3>Object{}</h3>
<p>Object 是 JavaScript 的一种数据类型。它用于存储各种键值集合和更复杂的实体。可以通过 Object() 构造函数或者使用对象字面量的方式创建对象。<br />
详情：<a href="https://developer.mozilla.org/zh-CN/docs/Web/JavaScript/Reference/Global_Objects/Object"><a href="https://developer.mozilla.org/zh-CN/docs/Web/JavaScript/Reference/Global_Objects/Object">https://developer.mozilla.org/zh-CN/docs/Web/JavaScript/Reference/Global_Objects/Object</a></a></p>
<h3>Array[]</h3>
<p>Array 对象支持在单个变量名下存储多个元素，并具有执行常见数组操作的成员。<br />
详情：<a href="https://developer.mozilla.org/zh-CN/docs/Web/JavaScript/Reference/Global_Objects/Array"><a href="https://developer.mozilla.org/zh-CN/docs/Web/JavaScript/Reference/Global_Objects/Array">https://developer.mozilla.org/zh-CN/docs/Web/JavaScript/Reference/Global_Objects/Array</a></a></p>]]></description>
    <pubDate>Mon, 22 Apr 2024 22:06:50 +0800</pubDate>
    <dc:creator>Ryan Pan</dc:creator>
    <guid>https://www.ranmail.net/7.html</guid>
</item>
<item>
    <title>Debian 磁盘空间不足清理</title>
    <link>https://www.ranmail.net/8.html</link>
    <description><![CDATA[<pre><code class="language-shell">cd /
du -h --max-depth=1
查找占用较大的目录
cd 目录名称
du -h --max-depth=1
识别文件是否重要，如一些不常用的日志文件，
rm -rf 文件夹或者文件名</code></pre>]]></description>
    <pubDate>Fri, 23 Feb 2024 09:14:00 +0800</pubDate>
    <dc:creator>Ryan Pan</dc:creator>
    <guid>https://www.ranmail.net/8.html</guid>
</item>
<item>
    <title>宝塔 phpredis 报错 Message: Redis::__construct() expects exactly 0 arguments, 1 given</title>
    <link>https://www.ranmail.net/6.html</link>
    <description><![CDATA[<p>PHP扩展页面中安装的phpredis还是5.3.7，但是从6.0.0开始有一些新特性。</p>
<blockquote>
<p>Starting from version 6.0.0 it's possible to specify configuration options. This allows to connect lazily to the server without explicitly invoking connect / pconnect.</p>
</blockquote>
<p>一些比较激进的php项目可能会使用这些新版本，因此需要手动编译一下redis插件。最好还是在php插件里面安装下phpredis,后面能够省点事，php大于7.0的版本还会有igbinary。下面以php8.3举例</p>
<pre><code class="language-shell">git clone https://github.com/phpredis/phpredis.git
cd phpredis
/www/server/php/83/bin/phpize
./configure --with-php-config=/www/server/php/83/bin/php-config --enable-redis-igbinary
make &amp;&amp; make install</code></pre>
<p>搞定以后，打开软件商店，php-8.3.x，配置文件，看看最下面是不是这么写的，不是的话复制粘贴一下。</p>
<pre><code>[redis]
extension = /www/server/php/83/lib/php/extensions/no-debug-non-zts-20230831/redis.so
extension = /www/server/php/83/lib/php/extensions/no-debug-non-zts-20230831/igbinary.so</code></pre>
<p>重启PHP即可解决问题</p>]]></description>
    <pubDate>Sun, 11 Feb 2024 21:21:00 +0800</pubDate>
    <dc:creator>Ryan Pan</dc:creator>
    <guid>https://www.ranmail.net/6.html</guid>
</item>
<item>
    <title>Windows应用商店(Microsoft store) 打不开，提示需要联网0x80131500 0x80072F7D</title>
    <link>https://www.ranmail.net/2.html</link>
    <description><![CDATA[<p>有些很烦人的软件（安全控件）特别喜欢改这个TLS设置。然后你会发现刚装好机能正常使用的应用商店和小组件突然就不能用了。如下图<br />
<img src="https://www.ranmail.net/content/uploadfile/202512/4ec41765809348.png" alt="" /></p>
<p>其中一种解决方案如下：<br />
1.开始菜单-搜索栏，搜索「Internet 选项」。</p>
<ol start="2">
<li>进入 Internet 高级设置。</li>
<li>勾选「使用 TLS 1.2」和「使用 TLS 1.3」。要是不确定就把红款部分的「使用 SSL 3.0」、「使用 TLS 1.0」和「使用 TLS 1.1」全勾上<br />
<img src="https://www.ranmail.net/content/uploadfile/202512/b46c1765809403.png" alt="" /></li>
</ol>]]></description>
    <pubDate>Mon, 15 Jan 2024 01:51:29 +0800</pubDate>
    <dc:creator>Ryan Pan</dc:creator>
    <guid>https://www.ranmail.net/2.html</guid>
</item>
</channel>
</rss>