<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>姜鹏辉的个人博客</title>
    <description>blog &amp; blog theme🤘</description>
    <link>https://jiangph2016.github.io/</link>
    <atom:link href="https://jiangph2016.github.io/feed.xml" rel="self" type="application/rss+xml"/>
    <pubDate>Sat, 08 Oct 2022 11:49:08 +0000</pubDate>
    <lastBuildDate>Sat, 08 Oct 2022 11:49:08 +0000</lastBuildDate>
    <generator>Jekyll v3.9.2</generator>
    
      <item>
        <title>BloomFilter使用</title>
        <description>&lt;ul id=&quot;markdown-toc&quot;&gt;
  &lt;li&gt;&lt;a href=&quot;#部署&quot; id=&quot;markdown-toc-部署&quot;&gt;部署&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

参考：&lt;a href=&quot;https://www.cnblogs.com/yscl/p/12003359.html&quot;&gt;https://www.cnblogs.com/yscl/p/12003359.html&lt;/a&gt;

&lt;h2 id=&quot;部署&quot;&gt;部署&lt;/h2&gt;

&lt;div class=&quot;language-plaintext highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;docker pull redislabs/rebloom:latest
docker run -p 6379:6379 --name redis-redisbloom redislabs/rebloom:latest
docker exec -it redis-redisbloom /bin/bash
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

</description>
        <pubDate>Wed, 15 Dec 2021 00:00:00 +0000</pubDate>
        <link>https://jiangph2016.github.io/2021/12/15/redis-bloom/</link>
        <guid isPermaLink="true">https://jiangph2016.github.io/2021/12/15/redis-bloom/</guid>
        
        <category>开发</category>
        
        
        <category>笔记</category>
        
      </item>
    
      <item>
        <title>【Docker】web端容器监控Dashboard</title>
        <description>&lt;h2 id=&quot;ui-for-docker&quot;&gt;UI for Docker&lt;/h2&gt;

拉取镜像
&lt;div class=&quot;language-plaintext highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;$ docker pull uifd/ui-for-docker
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

运行镜像

&lt;div class=&quot;language-plaintext highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;$ docker run -d -p 9000:9000 --privileged -v /var/run/docker.sock:/var/run/docker.sock uifd/ui-for-docker
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;h2 id=&quot;portainer&quot;&gt;Portainer&lt;/h2&gt;

</description>
        <pubDate>Mon, 15 Nov 2021 00:00:00 +0000</pubDate>
        <link>https://jiangph2016.github.io/2021/11/15/docker-dashboard/</link>
        <guid isPermaLink="true">https://jiangph2016.github.io/2021/11/15/docker-dashboard/</guid>
        
        <category>docker</category>
        
        
        <category>笔记</category>
        
      </item>
    
      <item>
        <title>【go】处理json文件</title>
        <description>
官方文档： &lt;a href=&quot;https://go.dev/blog/json&quot;&gt;https://go.dev/blog/json&lt;/a&gt;

</description>
        <pubDate>Fri, 15 Oct 2021 00:00:00 +0000</pubDate>
        <link>https://jiangph2016.github.io/2021/10/15/go-json/</link>
        <guid isPermaLink="true">https://jiangph2016.github.io/2021/10/15/go-json/</guid>
        
        <category>Golang</category>
        
        
        <category>笔记</category>
        
      </item>
    
      <item>
        <title>【Linux】Linux清除缓存占用</title>
        <description>&lt;ul id=&quot;markdown-toc&quot;&gt;
  &lt;li&gt;&lt;a href=&quot;#查看占用&quot; id=&quot;markdown-toc-查看占用&quot;&gt;查看占用&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#yum缓存&quot; id=&quot;markdown-toc-yum缓存&quot;&gt;yum缓存&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#docker占用&quot; id=&quot;markdown-toc-docker占用&quot;&gt;docker占用&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;h2 id=&quot;查看占用&quot;&gt;查看占用&lt;/h2&gt;

&lt;ul&gt;
  &lt;li&gt;一般用&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;df -h&lt;/code&gt;命令查看整体的占用，当发现满了的时候需要排查来清理空间&lt;/li&gt;
  &lt;li&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;du -sh&lt;/code&gt;查看当前目录的占用总和&lt;/li&gt;
  &lt;li&gt;
    &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;du -h --max-depth=1&lt;/code&gt;查看当前目录下每一级目录的占用总和，比较常用
  &lt;/li&gt;
  &lt;li&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;find . -size +200M&lt;/code&gt; 查找占用超过200M的文件&lt;/li&gt;
&lt;/ul&gt;

&lt;h2 id=&quot;yum缓存&quot;&gt;yum缓存&lt;/h2&gt;

缓存目录: &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;/var/cache/yum&lt;/code&gt;

清理命令 :&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;yum clean all&lt;/code&gt;

&lt;h2 id=&quot;docker占用&quot;&gt;docker占用&lt;/h2&gt;

docker的镜像和缓存会占用大量的存储空间

目录: &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;/var/lib/docker/overlay2&lt;/code&gt;&lt;br /&gt;
通过&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;docker system df&lt;/code&gt;命令可以查看docker各种镜像和容器的空间占用 &lt;br /&gt;
&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;docker system df -v&lt;/code&gt;列出各个镜像具体的占用情况

清理命令&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;docker system prune&lt;/code&gt;
&lt;ul&gt;
  &lt;li&gt;清理所有停止的容器&lt;/li&gt;
  &lt;li&gt;未被使用的网络&lt;/li&gt;
  &lt;li&gt;所有dangling状态的镜像&lt;/li&gt;
  &lt;li&gt;所有dangling状态的build cache&lt;/li&gt;
&lt;/ul&gt;

</description>
        <pubDate>Thu, 07 Oct 2021 00:00:00 +0000</pubDate>
        <link>https://jiangph2016.github.io/2021/10/07/linux-cache/</link>
        <guid isPermaLink="true">https://jiangph2016.github.io/2021/10/07/linux-cache/</guid>
        
        <category>Linux</category>
        
        
        <category>笔记</category>
        
      </item>
    
      <item>
        <title>【Docker】给镜像附带ssh，并特权启动</title>
        <description>&lt;ul id=&quot;markdown-toc&quot;&gt;
  &lt;li&gt;&lt;a href=&quot;#简介&quot; id=&quot;markdown-toc-简介&quot;&gt;简介&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#构建镜像&quot; id=&quot;markdown-toc-构建镜像&quot;&gt;构建镜像&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#启动&quot; id=&quot;markdown-toc-启动&quot;&gt;启动&lt;/a&gt;    &lt;ul&gt;
      &lt;li&gt;&lt;a href=&quot;#host网络模式&quot; id=&quot;markdown-toc-host网络模式&quot;&gt;host网络模式&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#macvlan网络模式&quot; id=&quot;markdown-toc-macvlan网络模式&quot;&gt;macvlan网络模式&lt;/a&gt;&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
&lt;/ul&gt;

&lt;h2 id=&quot;简介&quot;&gt;简介&lt;/h2&gt;

创建一个容器，提供ssh访问，像一个虚拟机一样持续提供服务。&lt;br /&gt;
需求是这个容器&lt;strong&gt;不对外提供web服务&lt;/strong&gt;，而是作为一个独立的开发环境，需要远程连上进行开发

&lt;h2 id=&quot;构建镜像&quot;&gt;构建镜像&lt;/h2&gt;

编写&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;Dockerfile&lt;/code&gt;，基于原来的纯开发镜像构建&lt;br /&gt;
在原先的开发环境里安装ssh，并拷贝相应的sshd_config(例如修改ssh端口号22为其他的)
&lt;div class=&quot;language-plaintext highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;FROM sapp:latest
RUN yum install -y openssl openssh-server
WORKDIR /etc/ssh
COPY sshd_config .
WORKDIR /
ENTRYPOINT /usr/sbin/init
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

构建镜像
&lt;div class=&quot;language-plaintext highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;docker build -t sapp-ssh:v1.0 .
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;
&lt;h2 id=&quot;启动&quot;&gt;启动&lt;/h2&gt;

&lt;h3 id=&quot;host网络模式&quot;&gt;host网络模式&lt;/h3&gt;

编写&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;docker-compose.yml&lt;/code&gt;
&lt;div class=&quot;language-plaintext highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;version: '3'
services: 
  sapp:
    image: sapp-ssh:v1.0
    container_name: sapp-ssh
    network_mode: host
    privileged: true
    command: tail -f /dev/null
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;
这里选择&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;network_mode: host&lt;/code&gt;是因为要监听宿主机的网卡，启动以后会和宿主机共用一个ip&lt;br /&gt;
所以需要将&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;sshd_cofig&lt;/code&gt;中监听的端口进行修改，例如改为10022

&lt;h3 id=&quot;macvlan网络模式&quot;&gt;macvlan网络模式&lt;/h3&gt;

将容器的ip设置为和宿主机在同一个网关下，但拥有一个独立的ip，相当于vmware的桥接模式

这里我宿主机的ip是192.168.11.195，网关是192.168.10.1，子网掩码是255.255.254.0

先创建一个docker网络，名叫macvlan
&lt;div class=&quot;language-plaintext highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;docker network create -d macvlan --subnet 192.168.10.0/23 --gateway 192.168.10.1 -o parent=eno1 -o macvlan_mode=bridge macnet
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

启动容器，指定IP为&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;192.168.11.193&lt;/code&gt;
&lt;div class=&quot;language-plaintext highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;docker run -d  --net macnet --ip 192.168.11.193 --restart always --privileged=true [镜像名] /usr/sbin/init
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;
其中&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;--privileged=true&lt;/code&gt;和&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;/usr/sbin/init&lt;/code&gt;是为了让容器拥有真正的sudo权限
</description>
        <pubDate>Tue, 31 Aug 2021 00:00:00 +0000</pubDate>
        <link>https://jiangph2016.github.io/2021/08/31/docker-with-ssh/</link>
        <guid isPermaLink="true">https://jiangph2016.github.io/2021/08/31/docker-with-ssh/</guid>
        
        <category>linux</category>
        
        
        <category>技巧</category>
        
      </item>
    
      <item>
        <title>【调研】yara调研</title>
        <description>&lt;ul id=&quot;markdown-toc&quot;&gt;
  &lt;li&gt;&lt;a href=&quot;#简介&quot; id=&quot;markdown-toc-简介&quot;&gt;简介&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;h1 id=&quot;简介&quot;&gt;简介&lt;/h1&gt;

YARA 是一个帮助恶意软件研究人员识别和分类恶意软件样本的工具，由VirusTotal开源（GPL协议），基于静态分析识别恶意软件样本

目前使用 YARA 的知名软件有赛门铁克、火眼、卡巴斯基、McAfee等。

源码：&lt;a href=&quot;https://github.com/VirusTotal/yara&quot;&gt;https://github.com/VirusTotal/yara&lt;/a&gt;

文档：&lt;a href=&quot;https://yara.readthedocs.org/&quot;&gt;https://yara.readthedocs.org/&lt;/a&gt;

</description>
        <pubDate>Fri, 20 Aug 2021 00:00:00 +0000</pubDate>
        <link>https://jiangph2016.github.io/2021/08/20/yara/</link>
        <guid isPermaLink="true">https://jiangph2016.github.io/2021/08/20/yara/</guid>
        
        <category>linux</category>
        
        
        <category>技巧</category>
        
      </item>
    
      <item>
        <title>【刷题】LeetCode解题技巧</title>
        <description>
</description>
        <pubDate>Wed, 11 Aug 2021 00:00:00 +0000</pubDate>
        <link>https://jiangph2016.github.io/2021/08/11/leetcode-skill/</link>
        <guid isPermaLink="true">https://jiangph2016.github.io/2021/08/11/leetcode-skill/</guid>
        
        <category>docker</category>
        
        
        <category>技巧</category>
        
      </item>
    
      <item>
        <title>【C/C++】STL相关用法笔记</title>
        <description>&lt;ul id=&quot;markdown-toc&quot;&gt;
  &lt;li&gt;&lt;a href=&quot;#vector&quot; id=&quot;markdown-toc-vector&quot;&gt;Vector&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;a href=&quot;https://blog.csdn.net/lady_killer9/article/details/81175682&quot;&gt;https://blog.csdn.net/lady_killer9/article/details/81175682&lt;/a&gt;
&lt;h2 id=&quot;vector&quot;&gt;Vector&lt;/h2&gt;

不错的参考:&lt;a href=&quot;https://blog.csdn.net/lady_killer9/article/details/79237116&quot;&gt;https://blog.csdn.net/lady_killer9/article/details/79237116&lt;/a&gt;

常见用法

&lt;div class=&quot;language-plaintext highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;vector&amp;lt;int&amp;gt; v;
int num,start,end;
cin &amp;gt;&amp;gt; num&amp;gt;&amp;gt;start&amp;gt;&amp;gt;end;
//行尾添加
v.push_back(num); 

//指定位置插入
v.insert(v.begin()+start,num);

//排序
sort(v.begin(),v.end());
everse(v.begin(),v.end());


//遍历
vector&amp;lt;int&amp;gt;::iterator it;
for(it=v.begin();it!=v.end();it++)
{
    cout&amp;lt;&amp;lt;*it&amp;lt;&amp;lt;&quot; &quot;;
}

//指定位置删除
v.erase(v.begin()+start);

//区间删除
v.erase(v.begin()+start,v.begin()+end);

&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

二维数组的定义

&lt;div class=&quot;language-plaintext highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;
// 1
vector&amp;lt;pair&amp;lt;int, int&amp;gt; &amp;gt; v(N);


// 2
using pii = pair&amp;lt;int, int&amp;gt;;
vector&amp;lt;pii&amp;gt; v(N);


//3 
vector&amp;lt;vector&amp;lt;int&amp;gt; &amp;gt; q(N,vector&amp;lt;int&amp;gt;(2,0));

&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;
</description>
        <pubDate>Sun, 25 Jul 2021 00:00:00 +0000</pubDate>
        <link>https://jiangph2016.github.io/2021/07/25/stl/</link>
        <guid isPermaLink="true">https://jiangph2016.github.io/2021/07/25/stl/</guid>
        
        <category>C</category>
        
        
        <category>笔记</category>
        
      </item>
    
      <item>
        <title>【Docker】docker快速搭建mysql数据库服务</title>
        <description>&lt;ul id=&quot;markdown-toc&quot;&gt;
  &lt;li&gt;&lt;a href=&quot;#mysql&quot; id=&quot;markdown-toc-mysql&quot;&gt;MySQL&lt;/a&gt;    &lt;ul&gt;
      &lt;li&gt;&lt;a href=&quot;#配置docker-compose&quot; id=&quot;markdown-toc-配置docker-compose&quot;&gt;配置docker-compose&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#配置文件&quot; id=&quot;markdown-toc-配置文件&quot;&gt;配置文件&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#允许root远程访问&quot; id=&quot;markdown-toc-允许root远程访问&quot;&gt;允许root远程访问&lt;/a&gt;&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
&lt;/ul&gt;

&lt;h2 id=&quot;mysql&quot;&gt;MySQL&lt;/h2&gt;

&lt;h3 id=&quot;配置docker-compose&quot;&gt;配置docker-compose&lt;/h3&gt;
将&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;docker-compose.yml&lt;/code&gt;放在根目录下
&lt;div class=&quot;language-plaintext highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;version: '3'
services:
  mysql:
    restart: always
    container_name: mysql-docker        # 指定容器的名称
    image: mysql:latest                   # 指定镜像和版本
    ports:
      - 3306:3306
    privileged: true
    environment:
      MYSQL_ROOT_PASSWORD: 123456
      MYSQL_ROOT_HOST: 192.168.123.54
      TZ: Asia/Shanghai     # 指定时区
    volumes:
      - &quot;./data:/var/lib/mysql&quot;           # 挂载数据目录
      - &quot;./config:/etc/mysql/conf.d&quot;      # 挂载配置文件目
      - &quot;./conf/my.cnf:/etc/my.cnf&quot;

&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;h3 id=&quot;配置文件&quot;&gt;配置文件&lt;/h3&gt;

创建&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;conf/my.conf&lt;/code&gt;
&lt;div class=&quot;language-plaintext highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;[mysqld]
character-set-server=utf8mb4
default-time-zone='+8:00'
innodb_rollback_on_timeout='ON'
max_connections=500
secure-file-priv=/
innodb_lock_wait_timeout=500
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;h3 id=&quot;允许root远程访问&quot;&gt;允许root远程访问&lt;/h3&gt;

&lt;div class=&quot;language-plaintext highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;use mysql
select host,user from user;
update user set host='%' where user='root' and host='192.168.40.223';
flush privileges;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;
</description>
        <pubDate>Thu, 08 Jul 2021 00:00:00 +0000</pubDate>
        <link>https://jiangph2016.github.io/2021/07/08/docekr-mysql/</link>
        <guid isPermaLink="true">https://jiangph2016.github.io/2021/07/08/docekr-mysql/</guid>
        
        <category>docker</category>
        
        
        <category>技巧</category>
        
      </item>
    
      <item>
        <title>【Mac】初始化命令配置</title>
        <description>&lt;h2 id=&quot;homebrew安装&quot;&gt;Homebrew安装&lt;/h2&gt;

&lt;div class=&quot;language-plaintext highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;/bin/zsh -c &quot;$(curl -fsSL https://gitee.com/cunkai/HomebrewCN/raw/master/Homebrew.sh)&quot;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

安装wget
&lt;div class=&quot;language-plaintext highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;brew install wget
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;h2 id=&quot;解决parallel无法联网&quot;&gt;解决parallel无法联网&lt;/h2&gt;

完全关闭 Parallels

打开终端，输入：
&lt;div class=&quot;language-plaintext highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;sudo vim /Library/Preferences/Parallels/network.desktop.xml
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;
打开&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;desktop.xml&lt;/code&gt;文件，找到&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;&amp;lt;UseKextless&amp;gt;0&amp;lt;/UseKextless&amp;gt;&lt;/code&gt;这一行，将其数值改成0

&lt;h2 id=&quot;配置ssh-autologin&quot;&gt;配置ssh-autologin&lt;/h2&gt;

&lt;a href=&quot;https://github.com/jiangxianli/SSHAutoLogin&quot;&gt;https://github.com/jiangxianli/SSHAutoLogin&lt;/a&gt;
&lt;div class=&quot;language-plaintext highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;curl -s https://www.jiangxianli.com/SSHAutoLogin/install.sh | bash -s mac
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;
</description>
        <pubDate>Wed, 30 Jun 2021 00:00:00 +0000</pubDate>
        <link>https://jiangph2016.github.io/2021/06/30/mac-brew/</link>
        <guid isPermaLink="true">https://jiangph2016.github.io/2021/06/30/mac-brew/</guid>
        
        <category>Mac</category>
        
        
        <category>技巧</category>
        
      </item>
    
  </channel>
</rss>
