<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="zh">
    <title>Owen的博客 - Tips</title>
    <subtitle>主要关注技术，读书，摘抄，杂谈，文章评论，工具分享，工作流，灵感，英文学习，注意力管理，深度工作等方向。</subtitle>
    <link rel="self" type="application/atom+xml" href="https://old.owenyoung.com/tags/tips/atom.xml"/>
    <link rel="alternate" type="text/html" href="https://old.owenyoung.com"/>
    <generator uri="https://www.getzola.org/">Zola</generator>
    <updated>2026-01-13T00:00:00+00:00</updated>
    <id>https://old.owenyoung.com/tags/tips/atom.xml</id>
    <entry xml:lang="zh">
        <title>开发技巧收藏</title>
        <published>2022-03-25T00:00:00+00:00</published>
        <updated>2024-03-31T00:00:00+00:00</updated>
        
        <author>
          <name>
            
              Owen Young
            
          </name>
        </author>
        
        <link rel="alternate" type="text/html" href="https://old.owenyoung.com/dev-tips/"/>
        <id>https://old.owenyoung.com/dev-tips/</id>
        
        <summary type="html">&lt;p&gt;收集开发相关的技巧，比如中国需要的镜像服务等。&lt;&#x2F;p&gt;
</summary>
        
        <content type="html" xml:base="https://old.owenyoung.com/dev-tips/">&lt;p&gt;收集开发相关的技巧，比如中国需要的镜像服务等。&lt;&#x2F;p&gt;
&lt;span id=&quot;continue-reading&quot;&gt;&lt;&#x2F;span&gt;&lt;h2 id=&quot;jing-xiang-fu-wu&quot;&gt;镜像服务&lt;a class=&quot;zola-anchor&quot; href=&quot;#jing-xiang-fu-wu&quot; aria-label=&quot;Anchor link for: jing-xiang-fu-wu&quot;&gt;🔗&lt;&#x2F;a&gt;&lt;&#x2F;h2&gt;
&lt;h3 id=&quot;github&quot;&gt;Github&lt;a class=&quot;zola-anchor&quot; href=&quot;#github&quot; aria-label=&quot;Anchor link for: github&quot;&gt;🔗&lt;&#x2F;a&gt;&lt;&#x2F;h3&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;&lt;a rel=&quot;noopener nofollow noreferrer&quot; target=&quot;_blank&quot; href=&quot;https:&#x2F;&#x2F;doc.fastgit.org&#x2F;zh-cn&#x2F;&quot;&gt;Fastgit&lt;&#x2F;a&gt; - Github 国内镜像&lt;&#x2F;p&gt;
&lt;&#x2F;li&gt;
&lt;li&gt;
&lt;p&gt;Download: &lt;code&gt;https:&#x2F;&#x2F;download.fastgit.org&#x2F;org&#x2F;repo&#x2F;xxx&lt;&#x2F;code&gt;&lt;&#x2F;p&gt;
&lt;&#x2F;li&gt;
&lt;li&gt;
&lt;p&gt;Clone &lt;code&gt;git clone https:&#x2F;&#x2F;github.com&#x2F;org&#x2F;repo&lt;&#x2F;code&gt;&lt;&#x2F;p&gt;
&lt;&#x2F;li&gt;
&lt;li&gt;
&lt;p&gt;Clone with ssh &lt;code&gt;git clone git@ssh.fastgit.org:theowenyoung&#x2F;gatsby-theme-primer-wiki.git&lt;&#x2F;code&gt;&lt;&#x2F;p&gt;
&lt;&#x2F;li&gt;
&lt;&#x2F;ul&gt;
&lt;h3 id=&quot;rust&quot;&gt;Rust&lt;a class=&quot;zola-anchor&quot; href=&quot;#rust&quot; aria-label=&quot;Anchor link for: rust&quot;&gt;🔗&lt;&#x2F;a&gt;&lt;&#x2F;h3&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a rel=&quot;noopener nofollow noreferrer&quot; target=&quot;_blank&quot; href=&quot;https:&#x2F;&#x2F;rsproxy.cn&#x2F;&quot;&gt;rsproxy cn&lt;&#x2F;a&gt; - rust 国内镜像&lt;&#x2F;li&gt;
&lt;&#x2F;ul&gt;
&lt;h3 id=&quot;docker&quot;&gt;Docker&lt;a class=&quot;zola-anchor&quot; href=&quot;#docker&quot; aria-label=&quot;Anchor link for: docker&quot;&gt;🔗&lt;&#x2F;a&gt;&lt;&#x2F;h3&gt;
&lt;ul&gt;
&lt;li&gt;阿里云公网: &lt;code&gt;https:&#x2F;&#x2F;registry.cn-hangzhou.aliyuncs.com&lt;&#x2F;code&gt;&lt;&#x2F;li&gt;
&lt;li&gt;腾讯云： &lt;code&gt;https:&#x2F;&#x2F;mirror.ccs.tencentyun.com&lt;&#x2F;code&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a rel=&quot;noopener nofollow noreferrer&quot; target=&quot;_blank&quot; href=&quot;https:&#x2F;&#x2F;cloud.tencent.com&#x2F;document&#x2F;product&#x2F;1207&#x2F;45596&quot;&gt;使用说明&lt;&#x2F;a&gt;&lt;&#x2F;li&gt;
&lt;&#x2F;ul&gt;
&lt;&#x2F;li&gt;
&lt;&#x2F;ul&gt;
&lt;p&gt;&lt;code&gt;sudo vim &#x2F;etc&#x2F;docker&#x2F;daemon.json&lt;&#x2F;code&gt;&lt;&#x2F;p&gt;
&lt;pre data-lang=&quot;json&quot; style=&quot;background-color:#2b303b;color:#c0c5ce;&quot; class=&quot;language-json &quot;&gt;&lt;code class=&quot;language-json&quot; data-lang=&quot;json&quot;&gt;&lt;span&gt;{ &amp;quot;&lt;&#x2F;span&gt;&lt;span style=&quot;color:#a3be8c;&quot;&gt;registry-mirrors&lt;&#x2F;span&gt;&lt;span&gt;&amp;quot;: [&amp;quot;&lt;&#x2F;span&gt;&lt;span style=&quot;color:#a3be8c;&quot;&gt;https:&#x2F;&#x2F;mirror.ccs.tencentyun.com&lt;&#x2F;span&gt;&lt;span&gt;&amp;quot;] }
&lt;&#x2F;span&gt;&lt;&#x2F;code&gt;&lt;&#x2F;pre&gt;
&lt;pre data-lang=&quot;bash&quot; style=&quot;background-color:#2b303b;color:#c0c5ce;&quot; class=&quot;language-bash &quot;&gt;&lt;code class=&quot;language-bash&quot; data-lang=&quot;bash&quot;&gt;&lt;span style=&quot;color:#bf616a;&quot;&gt;sudo&lt;&#x2F;span&gt;&lt;span&gt; systemctl restart docker
&lt;&#x2F;span&gt;&lt;&#x2F;code&gt;&lt;&#x2F;pre&gt;
&lt;h2 id=&quot;jie-jue-fang-an&quot;&gt;解决方案&lt;a class=&quot;zola-anchor&quot; href=&quot;#jie-jue-fang-an&quot; aria-label=&quot;Anchor link for: jie-jue-fang-an&quot;&gt;🔗&lt;&#x2F;a&gt;&lt;&#x2F;h2&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a rel=&quot;noopener nofollow noreferrer&quot; target=&quot;_blank&quot; href=&quot;https:&#x2F;&#x2F;developer.aliyun.com&#x2F;article&#x2F;645670?spm=5176.smartservice_service_chat.0.0.6a33709aQ2zFPh&quot;&gt;阿里云函数计算 php 环境如何自定义内置扩展，覆盖系统自带扩展&lt;&#x2F;a&gt;&lt;&#x2F;li&gt;
&lt;&#x2F;ul&gt;
&lt;h2 id=&quot;bash-tips&quot;&gt;Bash Tips&lt;a class=&quot;zola-anchor&quot; href=&quot;#bash-tips&quot; aria-label=&quot;Anchor link for: bash-tips&quot;&gt;🔗&lt;&#x2F;a&gt;&lt;&#x2F;h2&gt;
&lt;h3 id=&quot;get-bash-script-parent-dir-absolute-path&quot;&gt;Get bash script parent dir absolute path&lt;a class=&quot;zola-anchor&quot; href=&quot;#get-bash-script-parent-dir-absolute-path&quot; aria-label=&quot;Anchor link for: get-bash-script-parent-dir-absolute-path&quot;&gt;🔗&lt;&#x2F;a&gt;&lt;&#x2F;h3&gt;
&lt;pre data-lang=&quot;bash&quot; style=&quot;background-color:#2b303b;color:#c0c5ce;&quot; class=&quot;language-bash &quot;&gt;&lt;code class=&quot;language-bash&quot; data-lang=&quot;bash&quot;&gt;&lt;span style=&quot;color:#bf616a;&quot;&gt;workspace&lt;&#x2F;span&gt;&lt;span&gt;=&amp;quot;$&lt;&#x2F;span&gt;&lt;span style=&quot;color:#a3be8c;&quot;&gt;( &lt;&#x2F;span&gt;&lt;span style=&quot;color:#96b5b4;&quot;&gt;cd&lt;&#x2F;span&gt;&lt;span&gt; -- &amp;quot;$&lt;&#x2F;span&gt;&lt;span style=&quot;color:#a3be8c;&quot;&gt;( &lt;&#x2F;span&gt;&lt;span style=&quot;color:#bf616a;&quot;&gt;dirname&lt;&#x2F;span&gt;&lt;span&gt; -- &amp;quot;$&lt;&#x2F;span&gt;&lt;span style=&quot;color:#a3be8c;&quot;&gt;{&lt;&#x2F;span&gt;&lt;span style=&quot;color:#bf616a;&quot;&gt;BASH_SOURCE[&lt;&#x2F;span&gt;&lt;span style=&quot;color:#d08770;&quot;&gt;0&lt;&#x2F;span&gt;&lt;span style=&quot;color:#bf616a;&quot;&gt;]&lt;&#x2F;span&gt;&lt;span style=&quot;color:#a3be8c;&quot;&gt;}&lt;&#x2F;span&gt;&lt;span&gt;&amp;quot; &lt;&#x2F;span&gt;&lt;span style=&quot;color:#a3be8c;&quot;&gt;)&#x2F;..&#x2F;&lt;&#x2F;span&gt;&lt;span&gt;&amp;quot; &amp;amp;&amp;gt;&lt;&#x2F;span&gt;&lt;span style=&quot;color:#a3be8c;&quot;&gt; &#x2F;dev&#x2F;null &lt;&#x2F;span&gt;&lt;span&gt;&amp;amp;&amp;amp; &lt;&#x2F;span&gt;&lt;span style=&quot;color:#96b5b4;&quot;&gt;pwd &lt;&#x2F;span&gt;&lt;span style=&quot;color:#a3be8c;&quot;&gt;)&lt;&#x2F;span&gt;&lt;span&gt;&amp;quot;
&lt;&#x2F;span&gt;&lt;&#x2F;code&gt;&lt;&#x2F;pre&gt;
&lt;h3 id=&quot;get-bash-script-dir-path&quot;&gt;Get bash script dir path&lt;a class=&quot;zola-anchor&quot; href=&quot;#get-bash-script-dir-path&quot; aria-label=&quot;Anchor link for: get-bash-script-dir-path&quot;&gt;🔗&lt;&#x2F;a&gt;&lt;&#x2F;h3&gt;
&lt;pre data-lang=&quot;bash&quot; style=&quot;background-color:#2b303b;color:#c0c5ce;&quot; class=&quot;language-bash &quot;&gt;&lt;code class=&quot;language-bash&quot; data-lang=&quot;bash&quot;&gt;&lt;span style=&quot;color:#bf616a;&quot;&gt;workspace&lt;&#x2F;span&gt;&lt;span&gt;=&amp;quot;$&lt;&#x2F;span&gt;&lt;span style=&quot;color:#a3be8c;&quot;&gt;( &lt;&#x2F;span&gt;&lt;span style=&quot;color:#96b5b4;&quot;&gt;cd&lt;&#x2F;span&gt;&lt;span&gt; -- &amp;quot;$&lt;&#x2F;span&gt;&lt;span style=&quot;color:#a3be8c;&quot;&gt;( &lt;&#x2F;span&gt;&lt;span style=&quot;color:#bf616a;&quot;&gt;dirname&lt;&#x2F;span&gt;&lt;span&gt; -- &amp;quot;$&lt;&#x2F;span&gt;&lt;span style=&quot;color:#a3be8c;&quot;&gt;{&lt;&#x2F;span&gt;&lt;span style=&quot;color:#bf616a;&quot;&gt;BASH_SOURCE[&lt;&#x2F;span&gt;&lt;span style=&quot;color:#d08770;&quot;&gt;0&lt;&#x2F;span&gt;&lt;span style=&quot;color:#bf616a;&quot;&gt;]&lt;&#x2F;span&gt;&lt;span style=&quot;color:#a3be8c;&quot;&gt;}&lt;&#x2F;span&gt;&lt;span&gt;&amp;quot; &lt;&#x2F;span&gt;&lt;span style=&quot;color:#a3be8c;&quot;&gt;)&lt;&#x2F;span&gt;&lt;span&gt;&amp;quot; &amp;amp;&amp;gt;&lt;&#x2F;span&gt;&lt;span style=&quot;color:#a3be8c;&quot;&gt; &#x2F;dev&#x2F;null &lt;&#x2F;span&gt;&lt;span&gt;&amp;amp;&amp;amp; &lt;&#x2F;span&gt;&lt;span style=&quot;color:#96b5b4;&quot;&gt;pwd &lt;&#x2F;span&gt;&lt;span style=&quot;color:#a3be8c;&quot;&gt;)&lt;&#x2F;span&gt;&lt;span&gt;&amp;quot;
&lt;&#x2F;span&gt;&lt;&#x2F;code&gt;&lt;&#x2F;pre&gt;
&lt;h3 id=&quot;bash-dotenv&quot;&gt;Bash Dotenv&lt;a class=&quot;zola-anchor&quot; href=&quot;#bash-dotenv&quot; aria-label=&quot;Anchor link for: bash-dotenv&quot;&gt;🔗&lt;&#x2F;a&gt;&lt;&#x2F;h3&gt;
&lt;blockquote&gt;
&lt;p&gt;导出.env 文件到当前执行环境&lt;&#x2F;p&gt;
&lt;&#x2F;blockquote&gt;
&lt;pre data-lang=&quot;bash&quot; style=&quot;background-color:#2b303b;color:#c0c5ce;&quot; class=&quot;language-bash &quot;&gt;&lt;code class=&quot;language-bash&quot; data-lang=&quot;bash&quot;&gt;&lt;span style=&quot;color:#96b5b4;&quot;&gt;set &lt;&#x2F;span&gt;&lt;span style=&quot;color:#bf616a;&quot;&gt;-o&lt;&#x2F;span&gt;&lt;span&gt; allexport; &lt;&#x2F;span&gt;&lt;span style=&quot;color:#96b5b4;&quot;&gt;source&lt;&#x2F;span&gt;&lt;span&gt; .env; &lt;&#x2F;span&gt;&lt;span style=&quot;color:#96b5b4;&quot;&gt;set &lt;&#x2F;span&gt;&lt;span style=&quot;color:#bf616a;&quot;&gt;+o&lt;&#x2F;span&gt;&lt;span&gt; allexport
&lt;&#x2F;span&gt;&lt;&#x2F;code&gt;&lt;&#x2F;pre&gt;
&lt;h2 id=&quot;deno-tips&quot;&gt;Deno Tips&lt;a class=&quot;zola-anchor&quot; href=&quot;#deno-tips&quot; aria-label=&quot;Anchor link for: deno-tips&quot;&gt;🔗&lt;&#x2F;a&gt;&lt;&#x2F;h2&gt;
&lt;h3 id=&quot;dirname&quot;&gt;Dirname&lt;a class=&quot;zola-anchor&quot; href=&quot;#dirname&quot; aria-label=&quot;Anchor link for: dirname&quot;&gt;🔗&lt;&#x2F;a&gt;&lt;&#x2F;h3&gt;
&lt;pre data-lang=&quot;ts&quot; style=&quot;background-color:#2b303b;color:#c0c5ce;&quot; class=&quot;language-ts &quot;&gt;&lt;code class=&quot;language-ts&quot; data-lang=&quot;ts&quot;&gt;&lt;span style=&quot;color:#b48ead;&quot;&gt;const &lt;&#x2F;span&gt;&lt;span style=&quot;color:#bf616a;&quot;&gt;__dirname &lt;&#x2F;span&gt;&lt;span&gt;= new URL(&amp;quot;&lt;&#x2F;span&gt;&lt;span style=&quot;color:#a3be8c;&quot;&gt;.&lt;&#x2F;span&gt;&lt;span&gt;&amp;quot;, &lt;&#x2F;span&gt;&lt;span style=&quot;color:#b48ead;&quot;&gt;import&lt;&#x2F;span&gt;&lt;span&gt;.meta.&lt;&#x2F;span&gt;&lt;span style=&quot;color:#bf616a;&quot;&gt;url&lt;&#x2F;span&gt;&lt;span&gt;).pathname;
&lt;&#x2F;span&gt;&lt;&#x2F;code&gt;&lt;&#x2F;pre&gt;
&lt;h2 id=&quot;docker-tips&quot;&gt;Docker Tips&lt;a class=&quot;zola-anchor&quot; href=&quot;#docker-tips&quot; aria-label=&quot;Anchor link for: docker-tips&quot;&gt;🔗&lt;&#x2F;a&gt;&lt;&#x2F;h2&gt;
&lt;h3 id=&quot;docker-compose-exec-bin&quot;&gt;Docker compose exec bin&lt;a class=&quot;zola-anchor&quot; href=&quot;#docker-compose-exec-bin&quot; aria-label=&quot;Anchor link for: docker-compose-exec-bin&quot;&gt;🔗&lt;&#x2F;a&gt;&lt;&#x2F;h3&gt;
&lt;pre data-lang=&quot;bash&quot; style=&quot;background-color:#2b303b;color:#c0c5ce;&quot; class=&quot;language-bash &quot;&gt;&lt;code class=&quot;language-bash&quot; data-lang=&quot;bash&quot;&gt;&lt;span style=&quot;color:#bf616a;&quot;&gt;docker-compose&lt;&#x2F;span&gt;&lt;span&gt; exec service-name &#x2F;bin&#x2F;sh
&lt;&#x2F;span&gt;&lt;&#x2F;code&gt;&lt;&#x2F;pre&gt;
&lt;h3 id=&quot;stop-all-contains-and-remove&quot;&gt;Stop All contains and remove&lt;a class=&quot;zola-anchor&quot; href=&quot;#stop-all-contains-and-remove&quot; aria-label=&quot;Anchor link for: stop-all-contains-and-remove&quot;&gt;🔗&lt;&#x2F;a&gt;&lt;&#x2F;h3&gt;
&lt;pre data-lang=&quot;bash&quot; style=&quot;background-color:#2b303b;color:#c0c5ce;&quot; class=&quot;language-bash &quot;&gt;&lt;code class=&quot;language-bash&quot; data-lang=&quot;bash&quot;&gt;&lt;span style=&quot;color:#bf616a;&quot;&gt;sudo&lt;&#x2F;span&gt;&lt;span&gt; docker stop $(&lt;&#x2F;span&gt;&lt;span style=&quot;color:#bf616a;&quot;&gt;sudo&lt;&#x2F;span&gt;&lt;span&gt; docker ps&lt;&#x2F;span&gt;&lt;span style=&quot;color:#bf616a;&quot;&gt; -a -q&lt;&#x2F;span&gt;&lt;span&gt;)
&lt;&#x2F;span&gt;&lt;span style=&quot;color:#bf616a;&quot;&gt;sudo&lt;&#x2F;span&gt;&lt;span&gt; docker rm $(&lt;&#x2F;span&gt;&lt;span style=&quot;color:#bf616a;&quot;&gt;sudo&lt;&#x2F;span&gt;&lt;span&gt; docker ps&lt;&#x2F;span&gt;&lt;span style=&quot;color:#bf616a;&quot;&gt; -a -q&lt;&#x2F;span&gt;&lt;span&gt;)
&lt;&#x2F;span&gt;&lt;&#x2F;code&gt;&lt;&#x2F;pre&gt;
&lt;h3 id=&quot;clean-all&quot;&gt;Clean all&lt;a class=&quot;zola-anchor&quot; href=&quot;#clean-all&quot; aria-label=&quot;Anchor link for: clean-all&quot;&gt;🔗&lt;&#x2F;a&gt;&lt;&#x2F;h3&gt;
&lt;pre data-lang=&quot;bash&quot; style=&quot;background-color:#2b303b;color:#c0c5ce;&quot; class=&quot;language-bash &quot;&gt;&lt;code class=&quot;language-bash&quot; data-lang=&quot;bash&quot;&gt;&lt;span style=&quot;color:#bf616a;&quot;&gt;sudo&lt;&#x2F;span&gt;&lt;span&gt; docker system prune&lt;&#x2F;span&gt;&lt;span style=&quot;color:#bf616a;&quot;&gt; --volumes
&lt;&#x2F;span&gt;&lt;span style=&quot;color:#bf616a;&quot;&gt;sudo&lt;&#x2F;span&gt;&lt;span&gt; docker image prune&lt;&#x2F;span&gt;&lt;span style=&quot;color:#bf616a;&quot;&gt; -a
&lt;&#x2F;span&gt;&lt;&#x2F;code&gt;&lt;&#x2F;pre&gt;
&lt;h2 id=&quot;git-tips&quot;&gt;Git Tips&lt;a class=&quot;zola-anchor&quot; href=&quot;#git-tips&quot; aria-label=&quot;Anchor link for: git-tips&quot;&gt;🔗&lt;&#x2F;a&gt;&lt;&#x2F;h2&gt;
&lt;h3 id=&quot;generate-ssh-key&quot;&gt;Generate ssh key&lt;a class=&quot;zola-anchor&quot; href=&quot;#generate-ssh-key&quot; aria-label=&quot;Anchor link for: generate-ssh-key&quot;&gt;🔗&lt;&#x2F;a&gt;&lt;&#x2F;h3&gt;
&lt;p&gt;Reference: &lt;a rel=&quot;noopener nofollow noreferrer&quot; target=&quot;_blank&quot; href=&quot;https:&#x2F;&#x2F;docs.github.com&#x2F;en&#x2F;github&#x2F;authenticating-to-github&#x2F;connecting-to-github-with-ssh&#x2F;generating-a-new-ssh-key-and-adding-it-to-the-ssh-agent&quot;&gt;Generating a new SSH key and adding it to the ssh-agent - GitHub Docs&lt;&#x2F;a&gt;&lt;&#x2F;p&gt;
&lt;pre data-lang=&quot;bash&quot; style=&quot;background-color:#2b303b;color:#c0c5ce;&quot; class=&quot;language-bash &quot;&gt;&lt;code class=&quot;language-bash&quot; data-lang=&quot;bash&quot;&gt;&lt;span style=&quot;color:#bf616a;&quot;&gt;ssh-keygen -t&lt;&#x2F;span&gt;&lt;span&gt; ed25519&lt;&#x2F;span&gt;&lt;span style=&quot;color:#bf616a;&quot;&gt; -C &lt;&#x2F;span&gt;&lt;span&gt;&amp;quot;&lt;&#x2F;span&gt;&lt;span style=&quot;color:#a3be8c;&quot;&gt;your_email@example.com&lt;&#x2F;span&gt;&lt;span&gt;&amp;quot;
&lt;&#x2F;span&gt;&lt;span style=&quot;color:#65737e;&quot;&gt;# Start the ssh-agent in the background.
&lt;&#x2F;span&gt;&lt;span style=&quot;color:#96b5b4;&quot;&gt;eval &lt;&#x2F;span&gt;&lt;span&gt;&amp;quot;$&lt;&#x2F;span&gt;&lt;span style=&quot;color:#a3be8c;&quot;&gt;(&lt;&#x2F;span&gt;&lt;span style=&quot;color:#bf616a;&quot;&gt;ssh-agent -s&lt;&#x2F;span&gt;&lt;span style=&quot;color:#a3be8c;&quot;&gt;)&lt;&#x2F;span&gt;&lt;span&gt;&amp;quot;
&lt;&#x2F;span&gt;&lt;span style=&quot;color:#65737e;&quot;&gt;# Add your SSH private key to the ssh-agent
&lt;&#x2F;span&gt;&lt;span style=&quot;color:#bf616a;&quot;&gt;ssh-add ~&lt;&#x2F;span&gt;&lt;span&gt;&#x2F;.ssh&#x2F;id_ed25519
&lt;&#x2F;span&gt;&lt;&#x2F;code&gt;&lt;&#x2F;pre&gt;
&lt;p&gt;Add ssh key to Github:&lt;&#x2F;p&gt;
&lt;pre data-lang=&quot;bash&quot; style=&quot;background-color:#2b303b;color:#c0c5ce;&quot; class=&quot;language-bash &quot;&gt;&lt;code class=&quot;language-bash&quot; data-lang=&quot;bash&quot;&gt;&lt;span style=&quot;color:#bf616a;&quot;&gt;cat&lt;&#x2F;span&gt;&lt;span&gt; .ssh&#x2F;id_ed25519.pub
&lt;&#x2F;span&gt;&lt;&#x2F;code&gt;&lt;&#x2F;pre&gt;
&lt;p&gt;&lt;a rel=&quot;noopener nofollow noreferrer&quot; target=&quot;_blank&quot; href=&quot;https:&#x2F;&#x2F;github.com&#x2F;settings&#x2F;keys&quot;&gt;SSH Keys Setting&lt;&#x2F;a&gt;&lt;&#x2F;p&gt;
&lt;h3 id=&quot;huo-qu-shou-ci-ti-jiao-shi-jian&quot;&gt;获取首次提交时间&lt;a class=&quot;zola-anchor&quot; href=&quot;#huo-qu-shou-ci-ti-jiao-shi-jian&quot; aria-label=&quot;Anchor link for: huo-qu-shou-ci-ti-jiao-shi-jian&quot;&gt;🔗&lt;&#x2F;a&gt;&lt;&#x2F;h3&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a rel=&quot;noopener nofollow noreferrer&quot; target=&quot;_blank&quot; href=&quot;https:&#x2F;&#x2F;stackoverflow.com&#x2F;questions&#x2F;2390199&#x2F;finding-the-date-time-a-file-was-first-added-to-a-git-repository&#x2F;25633731&quot;&gt;Finding the date&#x2F;time a file was first added to a Git repository - Stack Overflow&lt;&#x2F;a&gt; - 获取首次提交时间&lt;&#x2F;li&gt;
&lt;&#x2F;ul&gt;
&lt;h3 id=&quot;ti-jiao-xiao-xi-de-mo-ban&quot;&gt;提交消息的模版&lt;a class=&quot;zola-anchor&quot; href=&quot;#ti-jiao-xiao-xi-de-mo-ban&quot; aria-label=&quot;Anchor link for: ti-jiao-xiao-xi-de-mo-ban&quot;&gt;🔗&lt;&#x2F;a&gt;&lt;&#x2F;h3&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a rel=&quot;noopener nofollow noreferrer&quot; target=&quot;_blank&quot; href=&quot;https:&#x2F;&#x2F;gist.github.com&#x2F;joshbuchea&#x2F;6f47e86d2510bce28f8e7f42ae84c716&quot;&gt;Git Semantic Commit Messages&lt;&#x2F;a&gt; - git 语义化提交消息模版&lt;&#x2F;li&gt;
&lt;&#x2F;ul&gt;
&lt;h3 id=&quot;he-bing-shang-you-de-shi-hou-bu-dan-chu-que-ren-kuang&quot;&gt;合并上游的时候不弹出确认框&lt;a class=&quot;zola-anchor&quot; href=&quot;#he-bing-shang-you-de-shi-hou-bu-dan-chu-que-ren-kuang&quot; aria-label=&quot;Anchor link for: he-bing-shang-you-de-shi-hou-bu-dan-chu-que-ren-kuang&quot;&gt;🔗&lt;&#x2F;a&gt;&lt;&#x2F;h3&gt;
&lt;pre data-lang=&quot;bash&quot; style=&quot;background-color:#2b303b;color:#c0c5ce;&quot; class=&quot;language-bash &quot;&gt;&lt;code class=&quot;language-bash&quot; data-lang=&quot;bash&quot;&gt;&lt;span style=&quot;color:#bf616a;&quot;&gt;git&lt;&#x2F;span&gt;&lt;span&gt; pull upstream main&lt;&#x2F;span&gt;&lt;span style=&quot;color:#bf616a;&quot;&gt; --commit --no-edit
&lt;&#x2F;span&gt;&lt;&#x2F;code&gt;&lt;&#x2F;pre&gt;
&lt;h3 id=&quot;dui-suo-you-de-chong-tu-shang-you-de-geng-xin&quot;&gt;对所有的冲突上游的更新&lt;a class=&quot;zola-anchor&quot; href=&quot;#dui-suo-you-de-chong-tu-shang-you-de-geng-xin&quot; aria-label=&quot;Anchor link for: dui-suo-you-de-chong-tu-shang-you-de-geng-xin&quot;&gt;🔗&lt;&#x2F;a&gt;&lt;&#x2F;h3&gt;
&lt;pre data-lang=&quot;bash&quot; style=&quot;background-color:#2b303b;color:#c0c5ce;&quot; class=&quot;language-bash &quot;&gt;&lt;code class=&quot;language-bash&quot; data-lang=&quot;bash&quot;&gt;&lt;span style=&quot;color:#bf616a;&quot;&gt;git&lt;&#x2F;span&gt;&lt;span&gt; checkout&lt;&#x2F;span&gt;&lt;span style=&quot;color:#bf616a;&quot;&gt; --theirs&lt;&#x2F;span&gt;&lt;span&gt; .
&lt;&#x2F;span&gt;&lt;&#x2F;code&gt;&lt;&#x2F;pre&gt;
&lt;h3 id=&quot;shou-ci-geng-xin-zi-repo-submodule&quot;&gt;首次更新子 repo submodule&lt;a class=&quot;zola-anchor&quot; href=&quot;#shou-ci-geng-xin-zi-repo-submodule&quot; aria-label=&quot;Anchor link for: shou-ci-geng-xin-zi-repo-submodule&quot;&gt;🔗&lt;&#x2F;a&gt;&lt;&#x2F;h3&gt;
&lt;pre data-lang=&quot;bash&quot; style=&quot;background-color:#2b303b;color:#c0c5ce;&quot; class=&quot;language-bash &quot;&gt;&lt;code class=&quot;language-bash&quot; data-lang=&quot;bash&quot;&gt;&lt;span style=&quot;color:#bf616a;&quot;&gt;git&lt;&#x2F;span&gt;&lt;span&gt; submodule update&lt;&#x2F;span&gt;&lt;span style=&quot;color:#bf616a;&quot;&gt; --init --recursive
&lt;&#x2F;span&gt;&lt;&#x2F;code&gt;&lt;&#x2F;pre&gt;
&lt;p&gt;Later&lt;&#x2F;p&gt;
&lt;pre data-lang=&quot;bash&quot; style=&quot;background-color:#2b303b;color:#c0c5ce;&quot; class=&quot;language-bash &quot;&gt;&lt;code class=&quot;language-bash&quot; data-lang=&quot;bash&quot;&gt;&lt;span style=&quot;color:#bf616a;&quot;&gt;git&lt;&#x2F;span&gt;&lt;span&gt; submodule update&lt;&#x2F;span&gt;&lt;span style=&quot;color:#bf616a;&quot;&gt; --recursive
&lt;&#x2F;span&gt;&lt;&#x2F;code&gt;&lt;&#x2F;pre&gt;
&lt;h3 id=&quot;gitignore-hu-lue-suo-you-chu-liao-wen-jian-jia&quot;&gt;Gitignore 忽略所有，除了文件夹&lt;a class=&quot;zola-anchor&quot; href=&quot;#gitignore-hu-lue-suo-you-chu-liao-wen-jian-jia&quot; aria-label=&quot;Anchor link for: gitignore-hu-lue-suo-you-chu-liao-wen-jian-jia&quot;&gt;🔗&lt;&#x2F;a&gt;&lt;&#x2F;h3&gt;
&lt;pre data-lang=&quot;bash&quot; style=&quot;background-color:#2b303b;color:#c0c5ce;&quot; class=&quot;language-bash &quot;&gt;&lt;code class=&quot;language-bash&quot; data-lang=&quot;bash&quot;&gt;&lt;span style=&quot;color:#bf616a;&quot;&gt;folder&#x2F;*
&lt;&#x2F;span&gt;&lt;span&gt;!&lt;&#x2F;span&gt;&lt;span style=&quot;color:#bf616a;&quot;&gt;folder&#x2F;.gitkeep
&lt;&#x2F;span&gt;&lt;&#x2F;code&gt;&lt;&#x2F;pre&gt;
&lt;h2 id=&quot;go-template-tips&quot;&gt;Go Template Tips&lt;a class=&quot;zola-anchor&quot; href=&quot;#go-template-tips&quot; aria-label=&quot;Anchor link for: go-template-tips&quot;&gt;🔗&lt;&#x2F;a&gt;&lt;&#x2F;h2&gt;
&lt;ul&gt;
&lt;li&gt;Parent Variable, &lt;code&gt;{{$.XX}}&lt;&#x2F;code&gt;&lt;&#x2F;li&gt;
&lt;li&gt;URL encode, &lt;code&gt;urlquery &quot;https:&#x2F;&#x2F;test.com&quot;&lt;&#x2F;code&gt;&lt;&#x2F;li&gt;
&lt;&#x2F;ul&gt;
&lt;h2 id=&quot;kai-yuan-xu-ke-zheng-license&quot;&gt;开源许可证 License&lt;a class=&quot;zola-anchor&quot; href=&quot;#kai-yuan-xu-ke-zheng-license&quot; aria-label=&quot;Anchor link for: kai-yuan-xu-ke-zheng-license&quot;&gt;🔗&lt;&#x2F;a&gt;&lt;&#x2F;h2&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a rel=&quot;noopener nofollow noreferrer&quot; target=&quot;_blank&quot; href=&quot;https:&#x2F;&#x2F;unlicense.org&#x2F;&quot;&gt;Unlicense&lt;&#x2F;a&gt; - 无版权许可证，公有领域许可证&lt;&#x2F;li&gt;
&lt;li&gt;&lt;a rel=&quot;noopener nofollow noreferrer&quot; target=&quot;_blank&quot; href=&quot;https:&#x2F;&#x2F;fsl.software&#x2F;&quot;&gt;fsl&lt;&#x2F;a&gt; -
&lt;img src=&quot;https:&#x2F;&#x2F;old.owenyoung.com&#x2F;dev-tips&#x2F;.&#x2F;license-comparision.png&quot; alt=&quot;License Comparison&quot; &#x2F;&gt;&lt;&#x2F;li&gt;
&lt;li&gt;&lt;a rel=&quot;noopener nofollow noreferrer&quot; target=&quot;_blank&quot; href=&quot;https:&#x2F;&#x2F;wiki.coopcycle.org&#x2F;en:license&quot;&gt;Coopcycle&lt;&#x2F;a&gt; - 商业不友好开源许可
&lt;ul&gt;
&lt;li&gt;&lt;a rel=&quot;noopener nofollow noreferrer&quot; target=&quot;_blank&quot; href=&quot;https:&#x2F;&#x2F;artlessdevices.com&#x2F;&quot;&gt;https:&#x2F;&#x2F;artlessdevices.com&#x2F;&lt;&#x2F;a&gt;&lt;&#x2F;li&gt;
&lt;&#x2F;ul&gt;
&lt;&#x2F;li&gt;
&lt;li&gt;&lt;a rel=&quot;noopener nofollow noreferrer&quot; target=&quot;_blank&quot; href=&quot;https:&#x2F;&#x2F;prosperitylicense.com&#x2F;versions&#x2F;3.0.0&quot;&gt;Prosperity Public License&lt;&#x2F;a&gt; - 本许可证允许您免费将此软件用于非商业目的并分享，以及在商业目的下试用 30 天。&lt;&#x2F;li&gt;
&lt;&#x2F;ul&gt;
&lt;blockquote&gt;
&lt;p&gt;By &lt;a rel=&quot;noopener nofollow noreferrer&quot; target=&quot;_blank&quot; href=&quot;https:&#x2F;&#x2F;www.ruanyifeng.com&#x2F;blog&#x2F;2011&#x2F;05&#x2F;how_to_choose_free_software_licenses.html&quot;&gt;如何选择开源许可证？&lt;&#x2F;a&gt;&lt;&#x2F;p&gt;
&lt;&#x2F;blockquote&gt;
&lt;h2 id=&quot;linux-common-commands&quot;&gt;Linux Common Commands&lt;a class=&quot;zola-anchor&quot; href=&quot;#linux-common-commands&quot; aria-label=&quot;Anchor link for: linux-common-commands&quot;&gt;🔗&lt;&#x2F;a&gt;&lt;&#x2F;h2&gt;
&lt;h3 id=&quot;view-current-system-info&quot;&gt;View current system info&lt;a class=&quot;zola-anchor&quot; href=&quot;#view-current-system-info&quot; aria-label=&quot;Anchor link for: view-current-system-info&quot;&gt;🔗&lt;&#x2F;a&gt;&lt;&#x2F;h3&gt;
&lt;pre data-lang=&quot;bash&quot; style=&quot;background-color:#2b303b;color:#c0c5ce;&quot; class=&quot;language-bash &quot;&gt;&lt;code class=&quot;language-bash&quot; data-lang=&quot;bash&quot;&gt;&lt;span style=&quot;color:#bf616a;&quot;&gt;lsb_release -a
&lt;&#x2F;span&gt;&lt;&#x2F;code&gt;&lt;&#x2F;pre&gt;
&lt;p&gt;Output:&lt;&#x2F;p&gt;
&lt;pre data-lang=&quot;bash&quot; style=&quot;background-color:#2b303b;color:#c0c5ce;&quot; class=&quot;language-bash &quot;&gt;&lt;code class=&quot;language-bash&quot; data-lang=&quot;bash&quot;&gt;&lt;span style=&quot;color:#bf616a;&quot;&gt;Distributor&lt;&#x2F;span&gt;&lt;span&gt; ID:	Debian
&lt;&#x2F;span&gt;&lt;span style=&quot;color:#bf616a;&quot;&gt;Description:&lt;&#x2F;span&gt;&lt;span&gt;	Debian GNU&#x2F;Linux 10 (buster)
&lt;&#x2F;span&gt;&lt;span style=&quot;color:#bf616a;&quot;&gt;Release:&lt;&#x2F;span&gt;&lt;span&gt;	10
&lt;&#x2F;span&gt;&lt;span style=&quot;color:#bf616a;&quot;&gt;Codename:&lt;&#x2F;span&gt;&lt;span&gt;	buster
&lt;&#x2F;span&gt;&lt;&#x2F;code&gt;&lt;&#x2F;pre&gt;
&lt;h3 id=&quot;view-all-users&quot;&gt;View all users&lt;a class=&quot;zola-anchor&quot; href=&quot;#view-all-users&quot; aria-label=&quot;Anchor link for: view-all-users&quot;&gt;🔗&lt;&#x2F;a&gt;&lt;&#x2F;h3&gt;
&lt;pre data-lang=&quot;bash&quot; style=&quot;background-color:#2b303b;color:#c0c5ce;&quot; class=&quot;language-bash &quot;&gt;&lt;code class=&quot;language-bash&quot; data-lang=&quot;bash&quot;&gt;&lt;span style=&quot;color:#bf616a;&quot;&gt;cat&lt;&#x2F;span&gt;&lt;span&gt; &#x2F;etc&#x2F;passwd | &lt;&#x2F;span&gt;&lt;span style=&quot;color:#bf616a;&quot;&gt;grep -v&lt;&#x2F;span&gt;&lt;span&gt; nologin|&lt;&#x2F;span&gt;&lt;span style=&quot;color:#bf616a;&quot;&gt;grep -v&lt;&#x2F;span&gt;&lt;span&gt; halt|&lt;&#x2F;span&gt;&lt;span style=&quot;color:#bf616a;&quot;&gt;grep -v&lt;&#x2F;span&gt;&lt;span&gt; shutdown|&lt;&#x2F;span&gt;&lt;span style=&quot;color:#bf616a;&quot;&gt;awk -F&lt;&#x2F;span&gt;&lt;span&gt;&amp;quot;&lt;&#x2F;span&gt;&lt;span style=&quot;color:#a3be8c;&quot;&gt;:&lt;&#x2F;span&gt;&lt;span&gt;&amp;quot; &amp;#39;&lt;&#x2F;span&gt;&lt;span style=&quot;color:#a3be8c;&quot;&gt;{ print $1&amp;quot;|&amp;quot;$3&amp;quot;|&amp;quot;$4 }&lt;&#x2F;span&gt;&lt;span&gt;&amp;#39;|&lt;&#x2F;span&gt;&lt;span style=&quot;color:#bf616a;&quot;&gt;more
&lt;&#x2F;span&gt;&lt;&#x2F;code&gt;&lt;&#x2F;pre&gt;
&lt;h3 id=&quot;get-publish-ip&quot;&gt;Get Publish IP&lt;a class=&quot;zola-anchor&quot; href=&quot;#get-publish-ip&quot; aria-label=&quot;Anchor link for: get-publish-ip&quot;&gt;🔗&lt;&#x2F;a&gt;&lt;&#x2F;h3&gt;
&lt;pre data-lang=&quot;bash&quot; style=&quot;background-color:#2b303b;color:#c0c5ce;&quot; class=&quot;language-bash &quot;&gt;&lt;code class=&quot;language-bash&quot; data-lang=&quot;bash&quot;&gt;&lt;span style=&quot;color:#bf616a;&quot;&gt;hostname -I
&lt;&#x2F;span&gt;&lt;&#x2F;code&gt;&lt;&#x2F;pre&gt;
&lt;h3 id=&quot;change-user-group&quot;&gt;Change user group&lt;a class=&quot;zola-anchor&quot; href=&quot;#change-user-group&quot; aria-label=&quot;Anchor link for: change-user-group&quot;&gt;🔗&lt;&#x2F;a&gt;&lt;&#x2F;h3&gt;
&lt;pre data-lang=&quot;bash&quot; style=&quot;background-color:#2b303b;color:#c0c5ce;&quot; class=&quot;language-bash &quot;&gt;&lt;code class=&quot;language-bash&quot; data-lang=&quot;bash&quot;&gt;&lt;span style=&quot;color:#bf616a;&quot;&gt;usermod -g&lt;&#x2F;span&gt;&lt;span&gt; groupname username
&lt;&#x2F;span&gt;&lt;&#x2F;code&gt;&lt;&#x2F;pre&gt;
&lt;h3 id=&quot;get-user-group&quot;&gt;Get user group&lt;a class=&quot;zola-anchor&quot; href=&quot;#get-user-group&quot; aria-label=&quot;Anchor link for: get-user-group&quot;&gt;🔗&lt;&#x2F;a&gt;&lt;&#x2F;h3&gt;
&lt;pre data-lang=&quot;bash&quot; style=&quot;background-color:#2b303b;color:#c0c5ce;&quot; class=&quot;language-bash &quot;&gt;&lt;code class=&quot;language-bash&quot; data-lang=&quot;bash&quot;&gt;&lt;span style=&quot;color:#bf616a;&quot;&gt;id -g -n
&lt;&#x2F;span&gt;&lt;&#x2F;code&gt;&lt;&#x2F;pre&gt;
&lt;h3 id=&quot;remove-apt-ppa&quot;&gt;Remove apt ppa&lt;a class=&quot;zola-anchor&quot; href=&quot;#remove-apt-ppa&quot; aria-label=&quot;Anchor link for: remove-apt-ppa&quot;&gt;🔗&lt;&#x2F;a&gt;&lt;&#x2F;h3&gt;
&lt;pre data-lang=&quot;bash&quot; style=&quot;background-color:#2b303b;color:#c0c5ce;&quot; class=&quot;language-bash &quot;&gt;&lt;code class=&quot;language-bash&quot; data-lang=&quot;bash&quot;&gt;&lt;span style=&quot;color:#bf616a;&quot;&gt;sudo&lt;&#x2F;span&gt;&lt;span&gt; add-apt-repository&lt;&#x2F;span&gt;&lt;span style=&quot;color:#bf616a;&quot;&gt; --remove&lt;&#x2F;span&gt;&lt;span&gt; ppa:qbittorrent-team&#x2F;qbittorrent-stable
&lt;&#x2F;span&gt;&lt;&#x2F;code&gt;&lt;&#x2F;pre&gt;
&lt;h3 id=&quot;get-current-shell&quot;&gt;Get current shell&lt;a class=&quot;zola-anchor&quot; href=&quot;#get-current-shell&quot; aria-label=&quot;Anchor link for: get-current-shell&quot;&gt;🔗&lt;&#x2F;a&gt;&lt;&#x2F;h3&gt;
&lt;pre data-lang=&quot;bash&quot; style=&quot;background-color:#2b303b;color:#c0c5ce;&quot; class=&quot;language-bash &quot;&gt;&lt;code class=&quot;language-bash&quot; data-lang=&quot;bash&quot;&gt;&lt;span style=&quot;color:#96b5b4;&quot;&gt;echo &lt;&#x2F;span&gt;&lt;span&gt;&amp;quot;$&lt;&#x2F;span&gt;&lt;span style=&quot;color:#bf616a;&quot;&gt;SHELL&lt;&#x2F;span&gt;&lt;span&gt;&amp;quot;
&lt;&#x2F;span&gt;&lt;&#x2F;code&gt;&lt;&#x2F;pre&gt;
&lt;h3 id=&quot;get-current-cpu-arch&quot;&gt;Get current cpu arch&lt;a class=&quot;zola-anchor&quot; href=&quot;#get-current-cpu-arch&quot; aria-label=&quot;Anchor link for: get-current-cpu-arch&quot;&gt;🔗&lt;&#x2F;a&gt;&lt;&#x2F;h3&gt;
&lt;pre data-lang=&quot;bash&quot; style=&quot;background-color:#2b303b;color:#c0c5ce;&quot; class=&quot;language-bash &quot;&gt;&lt;code class=&quot;language-bash&quot; data-lang=&quot;bash&quot;&gt;&lt;span style=&quot;color:#bf616a;&quot;&gt;arch
&lt;&#x2F;span&gt;&lt;&#x2F;code&gt;&lt;&#x2F;pre&gt;
&lt;p&gt;or&lt;&#x2F;p&gt;
&lt;pre data-lang=&quot;bash&quot; style=&quot;background-color:#2b303b;color:#c0c5ce;&quot; class=&quot;language-bash &quot;&gt;&lt;code class=&quot;language-bash&quot; data-lang=&quot;bash&quot;&gt;&lt;span style=&quot;color:#bf616a;&quot;&gt;dpkg --print-architecture
&lt;&#x2F;span&gt;&lt;&#x2F;code&gt;&lt;&#x2F;pre&gt;
&lt;h3 id=&quot;unzip-tar-gz&quot;&gt;Unzip tar.gz&lt;a class=&quot;zola-anchor&quot; href=&quot;#unzip-tar-gz&quot; aria-label=&quot;Anchor link for: unzip-tar-gz&quot;&gt;🔗&lt;&#x2F;a&gt;&lt;&#x2F;h3&gt;
&lt;pre data-lang=&quot;bash&quot; style=&quot;background-color:#2b303b;color:#c0c5ce;&quot; class=&quot;language-bash &quot;&gt;&lt;code class=&quot;language-bash&quot; data-lang=&quot;bash&quot;&gt;&lt;span style=&quot;color:#bf616a;&quot;&gt;tar -xf&lt;&#x2F;span&gt;&lt;span&gt; x.tar.gz
&lt;&#x2F;span&gt;&lt;&#x2F;code&gt;&lt;&#x2F;pre&gt;
&lt;p&gt;See also &lt;a rel=&quot;noopener nofollow noreferrer&quot; target=&quot;_blank&quot; href=&quot;https:&#x2F;&#x2F;linuxize.com&#x2F;post&#x2F;how-to-extract-unzip-tar-gz-file&#x2F;&quot;&gt;here&lt;&#x2F;a&gt;&lt;&#x2F;p&gt;
&lt;p&gt;Tar to specific directory&lt;&#x2F;p&gt;
&lt;pre data-lang=&quot;bash&quot; style=&quot;background-color:#2b303b;color:#c0c5ce;&quot; class=&quot;language-bash &quot;&gt;&lt;code class=&quot;language-bash&quot; data-lang=&quot;bash&quot;&gt;&lt;span style=&quot;color:#bf616a;&quot;&gt;tar -xf&lt;&#x2F;span&gt;&lt;span&gt; x.tar.gz&lt;&#x2F;span&gt;&lt;span style=&quot;color:#bf616a;&quot;&gt; -C&lt;&#x2F;span&gt;&lt;span&gt; .&#x2F;xxx
&lt;&#x2F;span&gt;&lt;&#x2F;code&gt;&lt;&#x2F;pre&gt;
&lt;h3 id=&quot;unzip-gz&quot;&gt;Unzip .gz&lt;a class=&quot;zola-anchor&quot; href=&quot;#unzip-gz&quot; aria-label=&quot;Anchor link for: unzip-gz&quot;&gt;🔗&lt;&#x2F;a&gt;&lt;&#x2F;h3&gt;
&lt;pre data-lang=&quot;bash&quot; style=&quot;background-color:#2b303b;color:#c0c5ce;&quot; class=&quot;language-bash &quot;&gt;&lt;code class=&quot;language-bash&quot; data-lang=&quot;bash&quot;&gt;&lt;span style=&quot;color:#bf616a;&quot;&gt;gzip -d&lt;&#x2F;span&gt;&lt;span&gt; file.gz
&lt;&#x2F;span&gt;&lt;&#x2F;code&gt;&lt;&#x2F;pre&gt;
&lt;h3 id=&quot;stdout-to-file&quot;&gt;Stdout to File&lt;a class=&quot;zola-anchor&quot; href=&quot;#stdout-to-file&quot; aria-label=&quot;Anchor link for: stdout-to-file&quot;&gt;🔗&lt;&#x2F;a&gt;&lt;&#x2F;h3&gt;
&lt;pre data-lang=&quot;bash&quot; style=&quot;background-color:#2b303b;color:#c0c5ce;&quot; class=&quot;language-bash &quot;&gt;&lt;code class=&quot;language-bash&quot; data-lang=&quot;bash&quot;&gt;&lt;span style=&quot;color:#96b5b4;&quot;&gt;command &lt;&#x2F;span&gt;&lt;span&gt;&amp;amp;&amp;gt; file
&lt;&#x2F;span&gt;&lt;&#x2F;code&gt;&lt;&#x2F;pre&gt;
&lt;p&gt;Overwrite:&lt;&#x2F;p&gt;
&lt;pre data-lang=&quot;bash&quot; style=&quot;background-color:#2b303b;color:#c0c5ce;&quot; class=&quot;language-bash &quot;&gt;&lt;code class=&quot;language-bash&quot; data-lang=&quot;bash&quot;&gt;&lt;span style=&quot;color:#96b5b4;&quot;&gt;command &lt;&#x2F;span&gt;&lt;span&gt;&amp;gt;| &lt;&#x2F;span&gt;&lt;span style=&quot;color:#bf616a;&quot;&gt;file.txt &lt;&#x2F;span&gt;&lt;span style=&quot;color:#d08770;&quot;&gt;2&lt;&#x2F;span&gt;&lt;span&gt;&amp;gt;&amp;amp;&lt;&#x2F;span&gt;&lt;span style=&quot;color:#d08770;&quot;&gt;1
&lt;&#x2F;span&gt;&lt;&#x2F;code&gt;&lt;&#x2F;pre&gt;
&lt;h3 id=&quot;download-upload-file-by-ssh-scp&quot;&gt;Download&#x2F;Upload file by SSH SCP&lt;a class=&quot;zola-anchor&quot; href=&quot;#download-upload-file-by-ssh-scp&quot; aria-label=&quot;Anchor link for: download-upload-file-by-ssh-scp&quot;&gt;🔗&lt;&#x2F;a&gt;&lt;&#x2F;h3&gt;
&lt;p&gt;Download to local:&lt;&#x2F;p&gt;
&lt;pre data-lang=&quot;bash&quot; style=&quot;background-color:#2b303b;color:#c0c5ce;&quot; class=&quot;language-bash &quot;&gt;&lt;code class=&quot;language-bash&quot; data-lang=&quot;bash&quot;&gt;&lt;span style=&quot;color:#bf616a;&quot;&gt;scp&lt;&#x2F;span&gt;&lt;span&gt; root@ip:&#x2F;path &lt;&#x2F;span&gt;&lt;span style=&quot;color:#bf616a;&quot;&gt;~&lt;&#x2F;span&gt;&lt;span&gt;&#x2F;Downloads
&lt;&#x2F;span&gt;&lt;&#x2F;code&gt;&lt;&#x2F;pre&gt;
&lt;h3 id=&quot;remove-node-modules&quot;&gt;Remove node_modules&lt;a class=&quot;zola-anchor&quot; href=&quot;#remove-node-modules&quot; aria-label=&quot;Anchor link for: remove-node-modules&quot;&gt;🔗&lt;&#x2F;a&gt;&lt;&#x2F;h3&gt;
&lt;pre data-lang=&quot;bash&quot; style=&quot;background-color:#2b303b;color:#c0c5ce;&quot; class=&quot;language-bash &quot;&gt;&lt;code class=&quot;language-bash&quot; data-lang=&quot;bash&quot;&gt;&lt;span style=&quot;color:#bf616a;&quot;&gt;find&lt;&#x2F;span&gt;&lt;span&gt; .&lt;&#x2F;span&gt;&lt;span style=&quot;color:#bf616a;&quot;&gt; -name &lt;&#x2F;span&gt;&lt;span&gt;&amp;#39;&lt;&#x2F;span&gt;&lt;span style=&quot;color:#a3be8c;&quot;&gt;node_modules&lt;&#x2F;span&gt;&lt;span&gt;&amp;#39;&lt;&#x2F;span&gt;&lt;span style=&quot;color:#bf616a;&quot;&gt; -type&lt;&#x2F;span&gt;&lt;span&gt; d&lt;&#x2F;span&gt;&lt;span style=&quot;color:#bf616a;&quot;&gt; -prune -exec&lt;&#x2F;span&gt;&lt;span&gt; rm&lt;&#x2F;span&gt;&lt;span style=&quot;color:#bf616a;&quot;&gt; -rf &lt;&#x2F;span&gt;&lt;span&gt;&amp;#39;&lt;&#x2F;span&gt;&lt;span style=&quot;color:#a3be8c;&quot;&gt;{}&lt;&#x2F;span&gt;&lt;span&gt;&amp;#39; +
&lt;&#x2F;span&gt;&lt;&#x2F;code&gt;&lt;&#x2F;pre&gt;
&lt;h3 id=&quot;remove-target&quot;&gt;Remove target&lt;a class=&quot;zola-anchor&quot; href=&quot;#remove-target&quot; aria-label=&quot;Anchor link for: remove-target&quot;&gt;🔗&lt;&#x2F;a&gt;&lt;&#x2F;h3&gt;
&lt;pre data-lang=&quot;bash&quot; style=&quot;background-color:#2b303b;color:#c0c5ce;&quot; class=&quot;language-bash &quot;&gt;&lt;code class=&quot;language-bash&quot; data-lang=&quot;bash&quot;&gt;&lt;span style=&quot;color:#bf616a;&quot;&gt;find&lt;&#x2F;span&gt;&lt;span&gt; .&lt;&#x2F;span&gt;&lt;span style=&quot;color:#bf616a;&quot;&gt; -name &lt;&#x2F;span&gt;&lt;span&gt;&amp;#39;&lt;&#x2F;span&gt;&lt;span style=&quot;color:#a3be8c;&quot;&gt;target&lt;&#x2F;span&gt;&lt;span&gt;&amp;#39;&lt;&#x2F;span&gt;&lt;span style=&quot;color:#bf616a;&quot;&gt; -type&lt;&#x2F;span&gt;&lt;span&gt; d&lt;&#x2F;span&gt;&lt;span style=&quot;color:#bf616a;&quot;&gt; -prune -exec&lt;&#x2F;span&gt;&lt;span&gt; rm&lt;&#x2F;span&gt;&lt;span style=&quot;color:#bf616a;&quot;&gt; -rf &lt;&#x2F;span&gt;&lt;span&gt;&amp;#39;&lt;&#x2F;span&gt;&lt;span style=&quot;color:#a3be8c;&quot;&gt;{}&lt;&#x2F;span&gt;&lt;span&gt;&amp;#39; +
&lt;&#x2F;span&gt;&lt;&#x2F;code&gt;&lt;&#x2F;pre&gt;
&lt;h3 id=&quot;find-and-replace-string&quot;&gt;Find and replace string&lt;a class=&quot;zola-anchor&quot; href=&quot;#find-and-replace-string&quot; aria-label=&quot;Anchor link for: find-and-replace-string&quot;&gt;🔗&lt;&#x2F;a&gt;&lt;&#x2F;h3&gt;
&lt;pre data-lang=&quot;bash&quot; style=&quot;background-color:#2b303b;color:#c0c5ce;&quot; class=&quot;language-bash &quot;&gt;&lt;code class=&quot;language-bash&quot; data-lang=&quot;bash&quot;&gt;&lt;span style=&quot;color:#bf616a;&quot;&gt;sed -i &lt;&#x2F;span&gt;&lt;span&gt;&amp;#39;&lt;&#x2F;span&gt;&lt;span style=&quot;color:#a3be8c;&quot;&gt;s&#x2F;old-text&#x2F;new-text&#x2F;g&lt;&#x2F;span&gt;&lt;span&gt;&amp;#39; input.txt
&lt;&#x2F;span&gt;&lt;&#x2F;code&gt;&lt;&#x2F;pre&gt;
&lt;h3 id=&quot;soft-link&quot;&gt;Soft Link&lt;a class=&quot;zola-anchor&quot; href=&quot;#soft-link&quot; aria-label=&quot;Anchor link for: soft-link&quot;&gt;🔗&lt;&#x2F;a&gt;&lt;&#x2F;h3&gt;
&lt;pre data-lang=&quot;bash&quot; style=&quot;background-color:#2b303b;color:#c0c5ce;&quot; class=&quot;language-bash &quot;&gt;&lt;code class=&quot;language-bash&quot; data-lang=&quot;bash&quot;&gt;&lt;span style=&quot;color:#bf616a;&quot;&gt;ln -s&lt;&#x2F;span&gt;&lt;span&gt; source_file target_file
&lt;&#x2F;span&gt;&lt;&#x2F;code&gt;&lt;&#x2F;pre&gt;
&lt;h3 id=&quot;create-user&quot;&gt;Create User&lt;a class=&quot;zola-anchor&quot; href=&quot;#create-user&quot; aria-label=&quot;Anchor link for: create-user&quot;&gt;🔗&lt;&#x2F;a&gt;&lt;&#x2F;h3&gt;
&lt;pre data-lang=&quot;bash&quot; style=&quot;background-color:#2b303b;color:#c0c5ce;&quot; class=&quot;language-bash &quot;&gt;&lt;code class=&quot;language-bash&quot; data-lang=&quot;bash&quot;&gt;&lt;span style=&quot;color:#bf616a;&quot;&gt;useradd -m&lt;&#x2F;span&gt;&lt;span&gt; USERNAME
&lt;&#x2F;span&gt;&lt;&#x2F;code&gt;&lt;&#x2F;pre&gt;
&lt;blockquote&gt;
&lt;p&gt;Note: with home directory&lt;&#x2F;p&gt;
&lt;&#x2F;blockquote&gt;
&lt;h3 id=&quot;get-all-shells&quot;&gt;Get all shells&lt;a class=&quot;zola-anchor&quot; href=&quot;#get-all-shells&quot; aria-label=&quot;Anchor link for: get-all-shells&quot;&gt;🔗&lt;&#x2F;a&gt;&lt;&#x2F;h3&gt;
&lt;pre data-lang=&quot;bash&quot; style=&quot;background-color:#2b303b;color:#c0c5ce;&quot; class=&quot;language-bash &quot;&gt;&lt;code class=&quot;language-bash&quot; data-lang=&quot;bash&quot;&gt;&lt;span style=&quot;color:#bf616a;&quot;&gt;cat&lt;&#x2F;span&gt;&lt;span&gt; &#x2F;etc&#x2F;shells
&lt;&#x2F;span&gt;&lt;&#x2F;code&gt;&lt;&#x2F;pre&gt;
&lt;h3 id=&quot;last-n-lines-in-file&quot;&gt;Last n lines in file&lt;a class=&quot;zola-anchor&quot; href=&quot;#last-n-lines-in-file&quot; aria-label=&quot;Anchor link for: last-n-lines-in-file&quot;&gt;🔗&lt;&#x2F;a&gt;&lt;&#x2F;h3&gt;
&lt;pre data-lang=&quot;bash&quot; style=&quot;background-color:#2b303b;color:#c0c5ce;&quot; class=&quot;language-bash &quot;&gt;&lt;code class=&quot;language-bash&quot; data-lang=&quot;bash&quot;&gt;&lt;span style=&quot;color:#bf616a;&quot;&gt;tail -3&lt;&#x2F;span&gt;&lt;span&gt; file.txt
&lt;&#x2F;span&gt;&lt;&#x2F;code&gt;&lt;&#x2F;pre&gt;
&lt;h3 id=&quot;linux-find-a-biggest-directory-in&quot;&gt;Linux find a biggest directory in .&#x2F;&lt;a class=&quot;zola-anchor&quot; href=&quot;#linux-find-a-biggest-directory-in&quot; aria-label=&quot;Anchor link for: linux-find-a-biggest-directory-in&quot;&gt;🔗&lt;&#x2F;a&gt;&lt;&#x2F;h3&gt;
&lt;pre data-lang=&quot;bash&quot; style=&quot;background-color:#2b303b;color:#c0c5ce;&quot; class=&quot;language-bash &quot;&gt;&lt;code class=&quot;language-bash&quot; data-lang=&quot;bash&quot;&gt;&lt;span style=&quot;color:#bf616a;&quot;&gt;sudo&lt;&#x2F;span&gt;&lt;span&gt; du&lt;&#x2F;span&gt;&lt;span style=&quot;color:#bf616a;&quot;&gt; -a&lt;&#x2F;span&gt;&lt;span&gt; .&#x2F; &lt;&#x2F;span&gt;&lt;span style=&quot;color:#d08770;&quot;&gt;2&lt;&#x2F;span&gt;&lt;span&gt;&amp;gt;&#x2F;dev&#x2F;null | &lt;&#x2F;span&gt;&lt;span style=&quot;color:#bf616a;&quot;&gt;sort -n -r &lt;&#x2F;span&gt;&lt;span&gt;| &lt;&#x2F;span&gt;&lt;span style=&quot;color:#bf616a;&quot;&gt;head -n&lt;&#x2F;span&gt;&lt;span&gt; 20
&lt;&#x2F;span&gt;&lt;&#x2F;code&gt;&lt;&#x2F;pre&gt;
&lt;h3 id=&quot;linux-find-a-biggest-file-in&quot;&gt;Linux find a biggest file in .&#x2F;&lt;a class=&quot;zola-anchor&quot; href=&quot;#linux-find-a-biggest-file-in&quot; aria-label=&quot;Anchor link for: linux-find-a-biggest-file-in&quot;&gt;🔗&lt;&#x2F;a&gt;&lt;&#x2F;h3&gt;
&lt;pre data-lang=&quot;bash&quot; style=&quot;background-color:#2b303b;color:#c0c5ce;&quot; class=&quot;language-bash &quot;&gt;&lt;code class=&quot;language-bash&quot; data-lang=&quot;bash&quot;&gt;&lt;span style=&quot;color:#bf616a;&quot;&gt;find&lt;&#x2F;span&gt;&lt;span&gt; .&#x2F;&lt;&#x2F;span&gt;&lt;span style=&quot;color:#bf616a;&quot;&gt; -type&lt;&#x2F;span&gt;&lt;span&gt; f&lt;&#x2F;span&gt;&lt;span style=&quot;color:#bf616a;&quot;&gt; -printf &lt;&#x2F;span&gt;&lt;span&gt;&amp;#39;&lt;&#x2F;span&gt;&lt;span style=&quot;color:#a3be8c;&quot;&gt;%s %p\n&lt;&#x2F;span&gt;&lt;span&gt;&amp;#39; | &lt;&#x2F;span&gt;&lt;span style=&quot;color:#bf616a;&quot;&gt;sort -nr &lt;&#x2F;span&gt;&lt;span&gt;| &lt;&#x2F;span&gt;&lt;span style=&quot;color:#bf616a;&quot;&gt;head -10
&lt;&#x2F;span&gt;&lt;&#x2F;code&gt;&lt;&#x2F;pre&gt;
&lt;h3 id=&quot;linux-view-systemctl-log&quot;&gt;Linux view systemctl log:&lt;a class=&quot;zola-anchor&quot; href=&quot;#linux-view-systemctl-log&quot; aria-label=&quot;Anchor link for: linux-view-systemctl-log&quot;&gt;🔗&lt;&#x2F;a&gt;&lt;&#x2F;h3&gt;
&lt;pre data-lang=&quot;bash&quot; style=&quot;background-color:#2b303b;color:#c0c5ce;&quot; class=&quot;language-bash &quot;&gt;&lt;code class=&quot;language-bash&quot; data-lang=&quot;bash&quot;&gt;&lt;span style=&quot;color:#bf616a;&quot;&gt;sudo&lt;&#x2F;span&gt;&lt;span&gt; journalctl&lt;&#x2F;span&gt;&lt;span style=&quot;color:#bf616a;&quot;&gt; -f -u&lt;&#x2F;span&gt;&lt;span&gt; service-name.service
&lt;&#x2F;span&gt;&lt;&#x2F;code&gt;&lt;&#x2F;pre&gt;
&lt;h3 id=&quot;see-who-connect-with-me&quot;&gt;See who connect with Me&lt;a class=&quot;zola-anchor&quot; href=&quot;#see-who-connect-with-me&quot; aria-label=&quot;Anchor link for: see-who-connect-with-me&quot;&gt;🔗&lt;&#x2F;a&gt;&lt;&#x2F;h3&gt;
&lt;p&gt;See: &lt;a rel=&quot;noopener nofollow noreferrer&quot; target=&quot;_blank&quot; href=&quot;https:&#x2F;&#x2F;www.linuxshelltips.com&#x2F;find-ip-addresses-are-connected-to-linux&#x2F;&quot;&gt;here&lt;&#x2F;a&gt;&lt;&#x2F;p&gt;
&lt;pre data-lang=&quot;bash&quot; style=&quot;background-color:#2b303b;color:#c0c5ce;&quot; class=&quot;language-bash &quot;&gt;&lt;code class=&quot;language-bash&quot; data-lang=&quot;bash&quot;&gt;&lt;span style=&quot;color:#bf616a;&quot;&gt;ss -tun&lt;&#x2F;span&gt;&lt;span&gt; state connected
&lt;&#x2F;span&gt;&lt;&#x2F;code&gt;&lt;&#x2F;pre&gt;
&lt;h3 id=&quot;sort-by-ip-connect-with-443&quot;&gt;Sort by ip connect with 443&lt;a class=&quot;zola-anchor&quot; href=&quot;#sort-by-ip-connect-with-443&quot; aria-label=&quot;Anchor link for: sort-by-ip-connect-with-443&quot;&gt;🔗&lt;&#x2F;a&gt;&lt;&#x2F;h3&gt;
&lt;pre data-lang=&quot;bash&quot; style=&quot;background-color:#2b303b;color:#c0c5ce;&quot; class=&quot;language-bash &quot;&gt;&lt;code class=&quot;language-bash&quot; data-lang=&quot;bash&quot;&gt;&lt;span style=&quot;color:#bf616a;&quot;&gt;netstat -tn &lt;&#x2F;span&gt;&lt;span style=&quot;color:#d08770;&quot;&gt;2&lt;&#x2F;span&gt;&lt;span&gt;&amp;gt;&#x2F;dev&#x2F;null | &lt;&#x2F;span&gt;&lt;span style=&quot;color:#bf616a;&quot;&gt;grep -E &lt;&#x2F;span&gt;&lt;span&gt;&amp;#39;&lt;&#x2F;span&gt;&lt;span style=&quot;color:#a3be8c;&quot;&gt;\s[0-9.]+:443\s&lt;&#x2F;span&gt;&lt;span&gt;&amp;#39; | &lt;&#x2F;span&gt;&lt;span style=&quot;color:#bf616a;&quot;&gt;awk &lt;&#x2F;span&gt;&lt;span&gt;&amp;#39;&lt;&#x2F;span&gt;&lt;span style=&quot;color:#a3be8c;&quot;&gt;{print $5}&lt;&#x2F;span&gt;&lt;span&gt;&amp;#39; | &lt;&#x2F;span&gt;&lt;span style=&quot;color:#bf616a;&quot;&gt;cut -d&lt;&#x2F;span&gt;&lt;span&gt; :&lt;&#x2F;span&gt;&lt;span style=&quot;color:#bf616a;&quot;&gt; -f&lt;&#x2F;span&gt;&lt;span&gt; 1 | &lt;&#x2F;span&gt;&lt;span style=&quot;color:#bf616a;&quot;&gt;sort &lt;&#x2F;span&gt;&lt;span&gt;| &lt;&#x2F;span&gt;&lt;span style=&quot;color:#bf616a;&quot;&gt;uniq -c &lt;&#x2F;span&gt;&lt;span&gt;| &lt;&#x2F;span&gt;&lt;span style=&quot;color:#bf616a;&quot;&gt;sort -nr
&lt;&#x2F;span&gt;&lt;&#x2F;code&gt;&lt;&#x2F;pre&gt;
&lt;h3 id=&quot;ban&quot;&gt;Ban&lt;a class=&quot;zola-anchor&quot; href=&quot;#ban&quot; aria-label=&quot;Anchor link for: ban&quot;&gt;🔗&lt;&#x2F;a&gt;&lt;&#x2F;h3&gt;
&lt;p&gt;See &lt;a rel=&quot;noopener nofollow noreferrer&quot; target=&quot;_blank&quot; href=&quot;https:&#x2F;&#x2F;docs.rackspace.com&#x2F;support&#x2F;how-to&#x2F;block-an-ip-address-on-a-Linux-server&#x2F;&quot;&gt;here&lt;&#x2F;a&gt;&lt;&#x2F;p&gt;
&lt;pre data-lang=&quot;bash&quot; style=&quot;background-color:#2b303b;color:#c0c5ce;&quot; class=&quot;language-bash &quot;&gt;&lt;code class=&quot;language-bash&quot; data-lang=&quot;bash&quot;&gt;&lt;span style=&quot;color:#bf616a;&quot;&gt;sudo&lt;&#x2F;span&gt;&lt;span&gt; systemctl status firewalld
&lt;&#x2F;span&gt;&lt;span style=&quot;color:#bf616a;&quot;&gt;sudo&lt;&#x2F;span&gt;&lt;span&gt; firewall-cmd&lt;&#x2F;span&gt;&lt;span style=&quot;color:#bf616a;&quot;&gt; --permanent --add-rich-rule&lt;&#x2F;span&gt;&lt;span&gt;=&amp;quot;&lt;&#x2F;span&gt;&lt;span style=&quot;color:#a3be8c;&quot;&gt;rule family=&amp;#39;ipv4&amp;#39; source address=&amp;#39;202.61.254.136&amp;#39; reject&lt;&#x2F;span&gt;&lt;span&gt;&amp;quot;
&lt;&#x2F;span&gt;&lt;span style=&quot;color:#bf616a;&quot;&gt;sudo&lt;&#x2F;span&gt;&lt;span&gt; firewall-cmd&lt;&#x2F;span&gt;&lt;span style=&quot;color:#bf616a;&quot;&gt; --reload
&lt;&#x2F;span&gt;&lt;span style=&quot;color:#bf616a;&quot;&gt;sudo&lt;&#x2F;span&gt;&lt;span&gt; firewall-cmd&lt;&#x2F;span&gt;&lt;span style=&quot;color:#bf616a;&quot;&gt; --list-all
&lt;&#x2F;span&gt;&lt;&#x2F;code&gt;&lt;&#x2F;pre&gt;
&lt;h3 id=&quot;kill-tcp&quot;&gt;Kill tcp&lt;a class=&quot;zola-anchor&quot; href=&quot;#kill-tcp&quot; aria-label=&quot;Anchor link for: kill-tcp&quot;&gt;🔗&lt;&#x2F;a&gt;&lt;&#x2F;h3&gt;
&lt;pre data-lang=&quot;bash&quot; style=&quot;background-color:#2b303b;color:#c0c5ce;&quot; class=&quot;language-bash &quot;&gt;&lt;code class=&quot;language-bash&quot; data-lang=&quot;bash&quot;&gt;&lt;span style=&quot;color:#bf616a;&quot;&gt;tcpkill&lt;&#x2F;span&gt;&lt;span&gt; host &amp;lt;ip&amp;gt;
&lt;&#x2F;span&gt;&lt;&#x2F;code&gt;&lt;&#x2F;pre&gt;
&lt;h2 id=&quot;nodejs-tips&quot;&gt;Nodejs Tips&lt;a class=&quot;zola-anchor&quot; href=&quot;#nodejs-tips&quot; aria-label=&quot;Anchor link for: nodejs-tips&quot;&gt;🔗&lt;&#x2F;a&gt;&lt;&#x2F;h2&gt;
&lt;h3 id=&quot;delete-node-modules-folder-recursively-from-a-specified-path-using-command-line&quot;&gt;Delete node_modules folder recursively from a specified path using command line&lt;a class=&quot;zola-anchor&quot; href=&quot;#delete-node-modules-folder-recursively-from-a-specified-path-using-command-line&quot; aria-label=&quot;Anchor link for: delete-node-modules-folder-recursively-from-a-specified-path-using-command-line&quot;&gt;🔗&lt;&#x2F;a&gt;&lt;&#x2F;h3&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;a rel=&quot;noopener nofollow noreferrer&quot; target=&quot;_blank&quot; href=&quot;https:&#x2F;&#x2F;stackoverflow.com&#x2F;questions&#x2F;42950501&#x2F;delete-node-modules-folder-recursively-from-a-specified-path-using-command-line&quot;&gt;Delete node_modules folder recursively from a specified path using command line - Stack Overflow&lt;&#x2F;a&gt;&lt;&#x2F;p&gt;
&lt;&#x2F;blockquote&gt;
&lt;pre data-lang=&quot;bash&quot; style=&quot;background-color:#2b303b;color:#c0c5ce;&quot; class=&quot;language-bash &quot;&gt;&lt;code class=&quot;language-bash&quot; data-lang=&quot;bash&quot;&gt;&lt;span style=&quot;color:#bf616a;&quot;&gt;find&lt;&#x2F;span&gt;&lt;span&gt; .&lt;&#x2F;span&gt;&lt;span style=&quot;color:#bf616a;&quot;&gt; -name &lt;&#x2F;span&gt;&lt;span&gt;&amp;#39;&lt;&#x2F;span&gt;&lt;span style=&quot;color:#a3be8c;&quot;&gt;node_modules&lt;&#x2F;span&gt;&lt;span&gt;&amp;#39;&lt;&#x2F;span&gt;&lt;span style=&quot;color:#bf616a;&quot;&gt; -type&lt;&#x2F;span&gt;&lt;span&gt; d&lt;&#x2F;span&gt;&lt;span style=&quot;color:#bf616a;&quot;&gt; -prune -exec&lt;&#x2F;span&gt;&lt;span&gt; rm&lt;&#x2F;span&gt;&lt;span style=&quot;color:#bf616a;&quot;&gt; -rf &lt;&#x2F;span&gt;&lt;span&gt;&amp;#39;&lt;&#x2F;span&gt;&lt;span style=&quot;color:#a3be8c;&quot;&gt;{}&lt;&#x2F;span&gt;&lt;span&gt;&amp;#39; +
&lt;&#x2F;span&gt;&lt;&#x2F;code&gt;&lt;&#x2F;pre&gt;
&lt;h3 id=&quot;get-npm-token&quot;&gt;Get NPM Token&lt;a class=&quot;zola-anchor&quot; href=&quot;#get-npm-token&quot; aria-label=&quot;Anchor link for: get-npm-token&quot;&gt;🔗&lt;&#x2F;a&gt;&lt;&#x2F;h3&gt;
&lt;pre data-lang=&quot;bash&quot; style=&quot;background-color:#2b303b;color:#c0c5ce;&quot; class=&quot;language-bash &quot;&gt;&lt;code class=&quot;language-bash&quot; data-lang=&quot;bash&quot;&gt;&lt;span style=&quot;color:#bf616a;&quot;&gt;npm&lt;&#x2F;span&gt;&lt;span&gt; token create
&lt;&#x2F;span&gt;&lt;&#x2F;code&gt;&lt;&#x2F;pre&gt;
&lt;h3 id=&quot;check-npm-modules-updates&quot;&gt;Check NPM modules updates&lt;a class=&quot;zola-anchor&quot; href=&quot;#check-npm-modules-updates&quot; aria-label=&quot;Anchor link for: check-npm-modules-updates&quot;&gt;🔗&lt;&#x2F;a&gt;&lt;&#x2F;h3&gt;
&lt;pre data-lang=&quot;bash&quot; style=&quot;background-color:#2b303b;color:#c0c5ce;&quot; class=&quot;language-bash &quot;&gt;&lt;code class=&quot;language-bash&quot; data-lang=&quot;bash&quot;&gt;&lt;span style=&quot;color:#bf616a;&quot;&gt;npx&lt;&#x2F;span&gt;&lt;span&gt; npm-check-updates
&lt;&#x2F;span&gt;&lt;&#x2F;code&gt;&lt;&#x2F;pre&gt;
&lt;p&gt;Update to the latest version:&lt;&#x2F;p&gt;
&lt;pre data-lang=&quot;bash&quot; style=&quot;background-color:#2b303b;color:#c0c5ce;&quot; class=&quot;language-bash &quot;&gt;&lt;code class=&quot;language-bash&quot; data-lang=&quot;bash&quot;&gt;&lt;span style=&quot;color:#bf616a;&quot;&gt;npx&lt;&#x2F;span&gt;&lt;span&gt; npm-check-updates&lt;&#x2F;span&gt;&lt;span style=&quot;color:#bf616a;&quot;&gt; -u
&lt;&#x2F;span&gt;&lt;&#x2F;code&gt;&lt;&#x2F;pre&gt;
&lt;h2 id=&quot;postgresql-tips&quot;&gt;Postgresql Tips&lt;a class=&quot;zola-anchor&quot; href=&quot;#postgresql-tips&quot; aria-label=&quot;Anchor link for: postgresql-tips&quot;&gt;🔗&lt;&#x2F;a&gt;&lt;&#x2F;h2&gt;
&lt;h3 id=&quot;0-enter-psql&quot;&gt;0. Enter psql&lt;a class=&quot;zola-anchor&quot; href=&quot;#0-enter-psql&quot; aria-label=&quot;Anchor link for: 0-enter-psql&quot;&gt;🔗&lt;&#x2F;a&gt;&lt;&#x2F;h3&gt;
&lt;pre data-lang=&quot;bash&quot; style=&quot;background-color:#2b303b;color:#c0c5ce;&quot; class=&quot;language-bash &quot;&gt;&lt;code class=&quot;language-bash&quot; data-lang=&quot;bash&quot;&gt;&lt;span style=&quot;color:#bf616a;&quot;&gt;psql
&lt;&#x2F;span&gt;&lt;&#x2F;code&gt;&lt;&#x2F;pre&gt;
&lt;h3 id=&quot;show-all-databases&quot;&gt;Show all databases&lt;a class=&quot;zola-anchor&quot; href=&quot;#show-all-databases&quot; aria-label=&quot;Anchor link for: show-all-databases&quot;&gt;🔗&lt;&#x2F;a&gt;&lt;&#x2F;h3&gt;
&lt;pre data-lang=&quot;bash&quot; style=&quot;background-color:#2b303b;color:#c0c5ce;&quot; class=&quot;language-bash &quot;&gt;&lt;code class=&quot;language-bash&quot; data-lang=&quot;bash&quot;&gt;&lt;span style=&quot;color:#96b5b4;&quot;&gt;\l
&lt;&#x2F;span&gt;&lt;&#x2F;code&gt;&lt;&#x2F;pre&gt;
&lt;h3 id=&quot;enter-database&quot;&gt;Enter Database&lt;a class=&quot;zola-anchor&quot; href=&quot;#enter-database&quot; aria-label=&quot;Anchor link for: enter-database&quot;&gt;🔗&lt;&#x2F;a&gt;&lt;&#x2F;h3&gt;
&lt;pre data-lang=&quot;bash&quot; style=&quot;background-color:#2b303b;color:#c0c5ce;&quot; class=&quot;language-bash &quot;&gt;&lt;code class=&quot;language-bash&quot; data-lang=&quot;bash&quot;&gt;&lt;span style=&quot;color:#96b5b4;&quot;&gt;\c &lt;&#x2F;span&gt;&lt;span style=&quot;color:#bf616a;&quot;&gt;database_name
&lt;&#x2F;span&gt;&lt;&#x2F;code&gt;&lt;&#x2F;pre&gt;
&lt;h3 id=&quot;show-all-tables&quot;&gt;Show all Tables&lt;a class=&quot;zola-anchor&quot; href=&quot;#show-all-tables&quot; aria-label=&quot;Anchor link for: show-all-tables&quot;&gt;🔗&lt;&#x2F;a&gt;&lt;&#x2F;h3&gt;
&lt;pre data-lang=&quot;bash&quot; style=&quot;background-color:#2b303b;color:#c0c5ce;&quot; class=&quot;language-bash &quot;&gt;&lt;code class=&quot;language-bash&quot; data-lang=&quot;bash&quot;&gt;&lt;span style=&quot;color:#96b5b4;&quot;&gt;\d
&lt;&#x2F;span&gt;&lt;&#x2F;code&gt;&lt;&#x2F;pre&gt;
&lt;h3 id=&quot;show-table-structure&quot;&gt;Show Table structure&lt;a class=&quot;zola-anchor&quot; href=&quot;#show-table-structure&quot; aria-label=&quot;Anchor link for: show-table-structure&quot;&gt;🔗&lt;&#x2F;a&gt;&lt;&#x2F;h3&gt;
&lt;pre data-lang=&quot;bash&quot; style=&quot;background-color:#2b303b;color:#c0c5ce;&quot; class=&quot;language-bash &quot;&gt;&lt;code class=&quot;language-bash&quot; data-lang=&quot;bash&quot;&gt;&lt;span style=&quot;color:#96b5b4;&quot;&gt;\d &lt;&#x2F;span&gt;&lt;span style=&quot;color:#bf616a;&quot;&gt;table_name
&lt;&#x2F;span&gt;&lt;&#x2F;code&gt;&lt;&#x2F;pre&gt;
&lt;h3 id=&quot;pretty-print-table&quot;&gt;Pretty print table&lt;a class=&quot;zola-anchor&quot; href=&quot;#pretty-print-table&quot; aria-label=&quot;Anchor link for: pretty-print-table&quot;&gt;🔗&lt;&#x2F;a&gt;&lt;&#x2F;h3&gt;
&lt;pre data-lang=&quot;bash&quot; style=&quot;background-color:#2b303b;color:#c0c5ce;&quot; class=&quot;language-bash &quot;&gt;&lt;code class=&quot;language-bash&quot; data-lang=&quot;bash&quot;&gt;&lt;span style=&quot;color:#96b5b4;&quot;&gt;\x &lt;&#x2F;span&gt;&lt;span style=&quot;color:#bf616a;&quot;&gt;on
&lt;&#x2F;span&gt;&lt;&#x2F;code&gt;&lt;&#x2F;pre&gt;
&lt;h3 id=&quot;alter-table&quot;&gt;Alter table&lt;a class=&quot;zola-anchor&quot; href=&quot;#alter-table&quot; aria-label=&quot;Anchor link for: alter-table&quot;&gt;🔗&lt;&#x2F;a&gt;&lt;&#x2F;h3&gt;
&lt;p&gt;See &lt;a rel=&quot;noopener nofollow noreferrer&quot; target=&quot;_blank&quot; href=&quot;https:&#x2F;&#x2F;www.postgresql.org&#x2F;docs&#x2F;current&#x2F;sql-altertable.html&quot;&gt;https:&#x2F;&#x2F;www.postgresql.org&#x2F;docs&#x2F;current&#x2F;sql-altertable.html&lt;&#x2F;a&gt;&lt;&#x2F;p&gt;
&lt;h3 id=&quot;upsert&quot;&gt;Upsert&lt;a class=&quot;zola-anchor&quot; href=&quot;#upsert&quot; aria-label=&quot;Anchor link for: upsert&quot;&gt;🔗&lt;&#x2F;a&gt;&lt;&#x2F;h3&gt;
&lt;p&gt;See &lt;a rel=&quot;noopener nofollow noreferrer&quot; target=&quot;_blank&quot; href=&quot;https:&#x2F;&#x2F;stackoverflow.com&#x2F;questions&#x2F;61494958&#x2F;postgres-on-conflict-do-update-only-non-null-values-in-python&quot;&gt;https:&#x2F;&#x2F;stackoverflow.com&#x2F;questions&#x2F;61494958&#x2F;postgres-on-conflict-do-update-only-non-null-values-in-python&lt;&#x2F;a&gt;&lt;&#x2F;p&gt;
&lt;h3 id=&quot;export-schema&quot;&gt;Export Schema&lt;a class=&quot;zola-anchor&quot; href=&quot;#export-schema&quot; aria-label=&quot;Anchor link for: export-schema&quot;&gt;🔗&lt;&#x2F;a&gt;&lt;&#x2F;h3&gt;
&lt;pre data-lang=&quot;bash&quot; style=&quot;background-color:#2b303b;color:#c0c5ce;&quot; class=&quot;language-bash &quot;&gt;&lt;code class=&quot;language-bash&quot; data-lang=&quot;bash&quot;&gt;&lt;span&gt; &lt;&#x2F;span&gt;&lt;span style=&quot;color:#bf616a;&quot;&gt;pg_dump&lt;&#x2F;span&gt;&lt;span&gt; database_name&lt;&#x2F;span&gt;&lt;span style=&quot;color:#bf616a;&quot;&gt; -s --no-owner &lt;&#x2F;span&gt;&lt;span&gt;&amp;gt; schema.sql
&lt;&#x2F;span&gt;&lt;&#x2F;code&gt;&lt;&#x2F;pre&gt;
&lt;h3 id=&quot;export-only-data&quot;&gt;Export Only data&lt;a class=&quot;zola-anchor&quot; href=&quot;#export-only-data&quot; aria-label=&quot;Anchor link for: export-only-data&quot;&gt;🔗&lt;&#x2F;a&gt;&lt;&#x2F;h3&gt;
&lt;pre data-lang=&quot;bash&quot; style=&quot;background-color:#2b303b;color:#c0c5ce;&quot; class=&quot;language-bash &quot;&gt;&lt;code class=&quot;language-bash&quot; data-lang=&quot;bash&quot;&gt;&lt;span&gt; &lt;&#x2F;span&gt;&lt;span style=&quot;color:#bf616a;&quot;&gt;pg_dump&lt;&#x2F;span&gt;&lt;span&gt; database_name&lt;&#x2F;span&gt;&lt;span style=&quot;color:#bf616a;&quot;&gt; -a --no-owner &lt;&#x2F;span&gt;&lt;span&gt;&amp;gt; data.sql
&lt;&#x2F;span&gt;&lt;&#x2F;code&gt;&lt;&#x2F;pre&gt;
&lt;h3 id=&quot;delete-or-drop-or-remove-database&quot;&gt;Delete or Drop or Remove Database&lt;a class=&quot;zola-anchor&quot; href=&quot;#delete-or-drop-or-remove-database&quot; aria-label=&quot;Anchor link for: delete-or-drop-or-remove-database&quot;&gt;🔗&lt;&#x2F;a&gt;&lt;&#x2F;h3&gt;
&lt;pre data-lang=&quot;bash&quot; style=&quot;background-color:#2b303b;color:#c0c5ce;&quot; class=&quot;language-bash &quot;&gt;&lt;code class=&quot;language-bash&quot; data-lang=&quot;bash&quot;&gt;&lt;span style=&quot;color:#bf616a;&quot;&gt;psql
&lt;&#x2F;span&gt;&lt;span style=&quot;color:#bf616a;&quot;&gt;drop&lt;&#x2F;span&gt;&lt;span&gt; database database_name;
&lt;&#x2F;span&gt;&lt;&#x2F;code&gt;&lt;&#x2F;pre&gt;
&lt;h3 id=&quot;create-database&quot;&gt;Create Database&lt;a class=&quot;zola-anchor&quot; href=&quot;#create-database&quot; aria-label=&quot;Anchor link for: create-database&quot;&gt;🔗&lt;&#x2F;a&gt;&lt;&#x2F;h3&gt;
&lt;pre data-lang=&quot;bash&quot; style=&quot;background-color:#2b303b;color:#c0c5ce;&quot; class=&quot;language-bash &quot;&gt;&lt;code class=&quot;language-bash&quot; data-lang=&quot;bash&quot;&gt;&lt;span style=&quot;color:#bf616a;&quot;&gt;psql
&lt;&#x2F;span&gt;&lt;span style=&quot;color:#bf616a;&quot;&gt;CREATE&lt;&#x2F;span&gt;&lt;span&gt; DATABASE name;
&lt;&#x2F;span&gt;&lt;&#x2F;code&gt;&lt;&#x2F;pre&gt;
&lt;h3 id=&quot;import-database&quot;&gt;Import Database&lt;a class=&quot;zola-anchor&quot; href=&quot;#import-database&quot; aria-label=&quot;Anchor link for: import-database&quot;&gt;🔗&lt;&#x2F;a&gt;&lt;&#x2F;h3&gt;
&lt;pre data-lang=&quot;bash&quot; style=&quot;background-color:#2b303b;color:#c0c5ce;&quot; class=&quot;language-bash &quot;&gt;&lt;code class=&quot;language-bash&quot; data-lang=&quot;bash&quot;&gt;&lt;span style=&quot;color:#bf616a;&quot;&gt;psql&lt;&#x2F;span&gt;&lt;span&gt; database_name &amp;lt; data.sql
&lt;&#x2F;span&gt;&lt;&#x2F;code&gt;&lt;&#x2F;pre&gt;
&lt;h2 id=&quot;css&quot;&gt;CSS&lt;a class=&quot;zola-anchor&quot; href=&quot;#css&quot; aria-label=&quot;Anchor link for: css&quot;&gt;🔗&lt;&#x2F;a&gt;&lt;&#x2F;h2&gt;
&lt;h3 id=&quot;smart-word-break-in-css&quot;&gt;Smart word break in CSS&lt;a class=&quot;zola-anchor&quot; href=&quot;#smart-word-break-in-css&quot; aria-label=&quot;Anchor link for: smart-word-break-in-css&quot;&gt;🔗&lt;&#x2F;a&gt;&lt;&#x2F;h3&gt;
&lt;blockquote&gt;
&lt;p&gt;From &lt;a rel=&quot;noopener nofollow noreferrer&quot; target=&quot;_blank&quot; href=&quot;https:&#x2F;&#x2F;stackoverflow.com&#x2F;a&#x2F;48830291&quot;&gt;Smarter word break in CSS? - Stack Overflow&lt;&#x2F;a&gt;&lt;&#x2F;p&gt;
&lt;&#x2F;blockquote&gt;
&lt;pre data-lang=&quot;css&quot; style=&quot;background-color:#2b303b;color:#c0c5ce;&quot; class=&quot;language-css &quot;&gt;&lt;code class=&quot;language-css&quot; data-lang=&quot;css&quot;&gt;&lt;span style=&quot;color:#bf616a;&quot;&gt;body &lt;&#x2F;span&gt;&lt;span&gt;{
&lt;&#x2F;span&gt;&lt;span&gt;  overflow-wrap: break-word;
&lt;&#x2F;span&gt;&lt;span&gt;  word-wrap: break-word;
&lt;&#x2F;span&gt;&lt;span&gt;  -ms-word-break: break-all;
&lt;&#x2F;span&gt;&lt;span&gt;  word-break: break-word;
&lt;&#x2F;span&gt;&lt;span&gt;  -ms-hyphens: auto;
&lt;&#x2F;span&gt;&lt;span&gt;  -moz-hyphens: auto;
&lt;&#x2F;span&gt;&lt;span&gt;  -webkit-hyphens: auto;
&lt;&#x2F;span&gt;&lt;span&gt;  hyphens: auto;
&lt;&#x2F;span&gt;&lt;span&gt;}
&lt;&#x2F;span&gt;&lt;&#x2F;code&gt;&lt;&#x2F;pre&gt;
&lt;h2 id=&quot;vim-tips&quot;&gt;Vim Tips&lt;a class=&quot;zola-anchor&quot; href=&quot;#vim-tips&quot; aria-label=&quot;Anchor link for: vim-tips&quot;&gt;🔗&lt;&#x2F;a&gt;&lt;&#x2F;h2&gt;
&lt;h3 id=&quot;resources&quot;&gt;Resources&lt;a class=&quot;zola-anchor&quot; href=&quot;#resources&quot; aria-label=&quot;Anchor link for: resources&quot;&gt;🔗&lt;&#x2F;a&gt;&lt;&#x2F;h3&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a rel=&quot;noopener nofollow noreferrer&quot; target=&quot;_blank&quot; href=&quot;https:&#x2F;&#x2F;www.vim.so&#x2F;&quot;&gt;Vim online exercises&lt;&#x2F;a&gt; - help you master vim with interactive exercises.&lt;&#x2F;li&gt;
&lt;&#x2F;ul&gt;
&lt;h3 id=&quot;tips&quot;&gt;Tips&lt;a class=&quot;zola-anchor&quot; href=&quot;#tips&quot; aria-label=&quot;Anchor link for: tips&quot;&gt;🔗&lt;&#x2F;a&gt;&lt;&#x2F;h3&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;Delete all words: &lt;code&gt;1,$d&lt;&#x2F;code&gt;&lt;&#x2F;p&gt;
&lt;&#x2F;li&gt;
&lt;li&gt;
&lt;p&gt;Current line end: &lt;code&gt;$&lt;&#x2F;code&gt;&lt;&#x2F;p&gt;
&lt;&#x2F;li&gt;
&lt;li&gt;
&lt;p&gt;Replace all string: &lt;code&gt;s&#x2F;string&#x2F;replace_string&#x2F;g&lt;&#x2F;code&gt;&lt;&#x2F;p&gt;
&lt;&#x2F;li&gt;
&lt;&#x2F;ul&gt;
&lt;h2 id=&quot;vs-code-tips&quot;&gt;VS Code Tips&lt;a class=&quot;zola-anchor&quot; href=&quot;#vs-code-tips&quot; aria-label=&quot;Anchor link for: vs-code-tips&quot;&gt;🔗&lt;&#x2F;a&gt;&lt;&#x2F;h2&gt;
&lt;h3 id=&quot;open-command-palette-p&quot;&gt;Open command palette: &lt;code&gt;⇧⌘P&lt;&#x2F;code&gt;&lt;a class=&quot;zola-anchor&quot; href=&quot;#open-command-palette-p&quot; aria-label=&quot;Anchor link for: open-command-palette-p&quot;&gt;🔗&lt;&#x2F;a&gt;&lt;&#x2F;h3&gt;
&lt;h3 id=&quot;select-current-line-cmd-l&quot;&gt;Select current line: &lt;code&gt;cmd+L&lt;&#x2F;code&gt;&lt;a class=&quot;zola-anchor&quot; href=&quot;#select-current-line-cmd-l&quot; aria-label=&quot;Anchor link for: select-current-line-cmd-l&quot;&gt;🔗&lt;&#x2F;a&gt;&lt;&#x2F;h3&gt;
&lt;h3 id=&quot;quick-switch-windows&quot;&gt;Quick Switch Windows&lt;a class=&quot;zola-anchor&quot; href=&quot;#quick-switch-windows&quot; aria-label=&quot;Anchor link for: quick-switch-windows&quot;&gt;🔗&lt;&#x2F;a&gt;&lt;&#x2F;h3&gt;
&lt;p&gt;Also see &lt;a rel=&quot;noopener nofollow noreferrer&quot; target=&quot;_blank&quot; href=&quot;https:&#x2F;&#x2F;stackoverflow.com&#x2F;questions&#x2F;37371739&#x2F;os-x-cycle-between-windows-in-visual-studio-code&quot;&gt;here&lt;&#x2F;a&gt;&lt;&#x2F;p&gt;
&lt;p&gt;Added the following shortcut to &lt;code&gt;keybindings.json&lt;&#x2F;code&gt;&lt;&#x2F;p&gt;
&lt;pre data-lang=&quot;json&quot; style=&quot;background-color:#2b303b;color:#c0c5ce;&quot; class=&quot;language-json &quot;&gt;&lt;code class=&quot;language-json&quot; data-lang=&quot;json&quot;&gt;&lt;span&gt;{
&lt;&#x2F;span&gt;&lt;span&gt;  &amp;quot;&lt;&#x2F;span&gt;&lt;span style=&quot;color:#a3be8c;&quot;&gt;key&lt;&#x2F;span&gt;&lt;span&gt;&amp;quot;: &amp;quot;&lt;&#x2F;span&gt;&lt;span style=&quot;color:#a3be8c;&quot;&gt;alt+tab&lt;&#x2F;span&gt;&lt;span&gt;&amp;quot;,
&lt;&#x2F;span&gt;&lt;span&gt;  &amp;quot;&lt;&#x2F;span&gt;&lt;span style=&quot;color:#a3be8c;&quot;&gt;command&lt;&#x2F;span&gt;&lt;span&gt;&amp;quot;: &amp;quot;&lt;&#x2F;span&gt;&lt;span style=&quot;color:#a3be8c;&quot;&gt;workbench.action.quickSwitchWindow&lt;&#x2F;span&gt;&lt;span&gt;&amp;quot;
&lt;&#x2F;span&gt;&lt;span&gt;}
&lt;&#x2F;span&gt;&lt;&#x2F;code&gt;&lt;&#x2F;pre&gt;
&lt;h3 id=&quot;read-more&quot;&gt;Read more:&lt;a class=&quot;zola-anchor&quot; href=&quot;#read-more&quot; aria-label=&quot;Anchor link for: read-more&quot;&gt;🔗&lt;&#x2F;a&gt;&lt;&#x2F;h3&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a rel=&quot;noopener nofollow noreferrer&quot; target=&quot;_blank&quot; href=&quot;https:&#x2F;&#x2F;code.visualstudio.com&#x2F;docs&#x2F;getstarted&#x2F;tips-and-tricks&quot;&gt;Visual Studio Code Tips and Tricks&lt;&#x2F;a&gt;&lt;&#x2F;li&gt;
&lt;li&gt;&lt;a rel=&quot;noopener nofollow noreferrer&quot; target=&quot;_blank&quot; href=&quot;https:&#x2F;&#x2F;github.com&#x2F;microsoft&#x2F;vscode-tips-and-tricks&quot;&gt;GitHub - microsoft&#x2F;vscode-tips-and-tricks: Collection of helpful tips and tricks for VS Code.&lt;&#x2F;a&gt;&lt;&#x2F;li&gt;
&lt;&#x2F;ul&gt;
&lt;h2 id=&quot;robots-txt&quot;&gt;Robots.txt&lt;a class=&quot;zola-anchor&quot; href=&quot;#robots-txt&quot; aria-label=&quot;Anchor link for: robots-txt&quot;&gt;🔗&lt;&#x2F;a&gt;&lt;&#x2F;h2&gt;
&lt;pre data-lang=&quot;bash&quot; style=&quot;background-color:#2b303b;color:#c0c5ce;&quot; class=&quot;language-bash &quot;&gt;&lt;code class=&quot;language-bash&quot; data-lang=&quot;bash&quot;&gt;&lt;span style=&quot;color:#65737e;&quot;&gt;# https:&#x2F;&#x2F;www.robotstxt.org&#x2F;robotstxt.html
&lt;&#x2F;span&gt;&lt;span style=&quot;color:#bf616a;&quot;&gt;User-agent: &lt;&#x2F;span&gt;&lt;span&gt;*
&lt;&#x2F;span&gt;&lt;span style=&quot;color:#bf616a;&quot;&gt;Disallow:&lt;&#x2F;span&gt;&lt;span&gt; &#x2F;
&lt;&#x2F;span&gt;&lt;&#x2F;code&gt;&lt;&#x2F;pre&gt;
&lt;h2 id=&quot;systemd&quot;&gt;Systemd&lt;a class=&quot;zola-anchor&quot; href=&quot;#systemd&quot; aria-label=&quot;Anchor link for: systemd&quot;&gt;🔗&lt;&#x2F;a&gt;&lt;&#x2F;h2&gt;
&lt;h3 id=&quot;stay-active-after-your-session-is-killed&quot;&gt;stay active after your session is killed&lt;a class=&quot;zola-anchor&quot; href=&quot;#stay-active-after-your-session-is-killed&quot; aria-label=&quot;Anchor link for: stay-active-after-your-session-is-killed&quot;&gt;🔗&lt;&#x2F;a&gt;&lt;&#x2F;h3&gt;
&lt;pre data-lang=&quot;bash&quot; style=&quot;background-color:#2b303b;color:#c0c5ce;&quot; class=&quot;language-bash &quot;&gt;&lt;code class=&quot;language-bash&quot; data-lang=&quot;bash&quot;&gt;&lt;span style=&quot;color:#bf616a;&quot;&gt;loginctl &lt;&#x2F;span&gt;&lt;span&gt;&amp;lt;userid&amp;gt; enable-linger
&lt;&#x2F;span&gt;&lt;&#x2F;code&gt;&lt;&#x2F;pre&gt;
</content>
    </entry>
    <entry xml:lang="zh">
        <title>你应该知道的一些冷知识</title>
        <published>2022-03-25T00:00:00+00:00</published>
        <updated>2023-06-04T00:00:00+00:00</updated>
        
        <author>
          <name>
            
              Owen Young
            
          </name>
        </author>
        
        <link rel="alternate" type="text/html" href="https://old.owenyoung.com/you-should-know/"/>
        <id>https://old.owenyoung.com/you-should-know/</id>
        
        <summary type="html">&lt;p&gt;收集冷知识，维基百科以及一些数据。&lt;&#x2F;p&gt;
</summary>
        
        <content type="html" xml:base="https://old.owenyoung.com/you-should-know/">&lt;p&gt;收集冷知识，维基百科以及一些数据。&lt;&#x2F;p&gt;
&lt;span id=&quot;continue-reading&quot;&gt;&lt;&#x2F;span&gt;&lt;h2 id=&quot;leng-zhi-shi&quot;&gt;冷知识&lt;a class=&quot;zola-anchor&quot; href=&quot;#leng-zhi-shi&quot; aria-label=&quot;Anchor link for: leng-zhi-shi&quot;&gt;🔗&lt;&#x2F;a&gt;&lt;&#x2F;h2&gt;
&lt;ul&gt;
&lt;li&gt;惠更斯和莱布尼茨听到牛顿疯了的谣言喜出望外。 - 罗素全集&lt;&#x2F;li&gt;
&lt;li&gt;&lt;a rel=&quot;noopener nofollow noreferrer&quot; target=&quot;_blank&quot; href=&quot;https:&#x2F;&#x2F;old.reddit.com&#x2F;r&#x2F;webdev&#x2F;comments&#x2F;gzr3cq&#x2F;fyi_you_can_bypass_youtube_ads_by_adding_a_dot&#x2F;&quot;&gt;您可以通过在域名后添加一个点来绕过 YouTube 广告&lt;&#x2F;a&gt; -
For example,&lt;a rel=&quot;noopener nofollow noreferrer&quot; target=&quot;_blank&quot; href=&quot;https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=DuB8VUICGqc&quot;&gt;https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=DuB8VUICGqc&lt;&#x2F;a&gt; will occasionally
show ads, &lt;a rel=&quot;noopener nofollow noreferrer&quot; target=&quot;_blank&quot; href=&quot;https:&#x2F;&#x2F;www.youtube.com.&#x2F;watch?v=DuB8VUICGqc&quot;&gt;https:&#x2F;&#x2F;www.youtube.com.&#x2F;watch?v=DuB8VUICGqc&lt;&#x2F;a&gt; will not show ads,
and other pay wall.&lt;&#x2F;li&gt;
&lt;li&gt;排名前
9%的账户持有以太坊区块链上&lt;a rel=&quot;noopener nofollow noreferrer&quot; target=&quot;_blank&quot; href=&quot;https:&#x2F;&#x2F;www.ft.com&#x2F;content&#x2F;e95f5ac2-0476-41f4-abd4-8a99faa7737d?utm_campaign=etb&amp;amp;utm_medium=newsletter&amp;amp;utm_source=morning_brew&quot;&gt;NFT410 亿美元市值的 80%&lt;&#x2F;a&gt;,比特币更加集中：&lt;a rel=&quot;noopener nofollow noreferrer&quot; target=&quot;_blank&quot; href=&quot;https:&#x2F;&#x2F;bitinfocharts.com&#x2F;top-100-richest-bitcoin-addresses.html&quot;&gt;前 2%的账户拥有 8000 亿美元比特币供应量的 95%&lt;&#x2F;a&gt;，&lt;a rel=&quot;noopener nofollow noreferrer&quot; target=&quot;_blank&quot; href=&quot;https:&#x2F;&#x2F;www-techspot-com.cdn.ampproject.org&#x2F;c&#x2F;s&#x2F;www.techspot.com&#x2F;amp&#x2F;news&#x2F;91937-bitcoin-largely-controlled-small-group-investors-miners-study.html&quot;&gt;0.1%的比特币矿工负责所有采矿产出的一半&lt;&#x2F;a&gt;&lt;&#x2F;li&gt;
&lt;li&gt;&lt;a rel=&quot;noopener nofollow noreferrer&quot; target=&quot;_blank&quot; href=&quot;https:&#x2F;&#x2F;correctiv.org&#x2F;en&#x2F;latest-stories&#x2F;2022&#x2F;03&#x2F;01&#x2F;sanctions-tracker-live-monitoring-of-all-sanctions-against-russia&#x2F;&quot;&gt;迄今为止制裁俄罗斯的公司清单&lt;&#x2F;a&gt;&lt;&#x2F;li&gt;
&lt;li&gt;&lt;a rel=&quot;noopener nofollow noreferrer&quot; target=&quot;_blank&quot; href=&quot;https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Nguyen&quot;&gt;40%的越南人姓阮&lt;&#x2F;a&gt;&lt;&#x2F;li&gt;
&lt;li&gt;2000
年以后，同性恋社群开始在耶路撒冷举办骄傲游行，引起了穆斯林、犹太人和基督徒的一致不满，担心“亵渎圣地”；甚至发生了流血事件，以致负责保护游行队伍的警察，请求当局取消这次游行。&lt;&#x2F;li&gt;
&lt;li&gt;在奧地利，誹謗伊斯蘭的先知穆罕默德不受言論自由的保護.&lt;&#x2F;li&gt;
&lt;li&gt;2013 年联合国的一项凶杀案调查发现，全世界 96%的杀人案肇事者是男性&lt;&#x2F;li&gt;
&lt;li&gt;1975 年被联合国宣布为妇女年，在冰岛，妇女决心让其名副其实。成立了一个由冰岛五大妇女组织的代表组成的委员会。经过一番讨论，她们想出了罢工的想法。10 月
24
日，冰岛所有女人都停止工作。没有带薪工作，同时也没有做饭，没有清洁，没有托儿服务等。让冰岛的男人看看，如果没有女性每天为保持国家运转所做的无形工作，他们是如何应对的。&lt;&#x2F;li&gt;
&lt;li&gt;在全球范围内，75%的无偿工作由女性完成，她们每天花费三到六个小时，而男性的平均无偿工作时间为 30 分钟到 2 小时。
&lt;ul&gt;
&lt;li&gt;&lt;a rel=&quot;noopener nofollow noreferrer&quot; target=&quot;_blank&quot; href=&quot;http:&#x2F;&#x2F;www.oecd.org&#x2F;dev&#x2F;development-gender&#x2F;Unpaid_care_work.pdf&quot;&gt;在印度，妇女每天六小时的无偿劳动中有五小时花在家务上，而男子则有 13 分钟。&lt;&#x2F;a&gt;&lt;&#x2F;li&gt;
&lt;li&gt;在美国，男性每天比女性多出一个多小时的业余时间，19 而在英国，男性每周享受的闲暇时间比女性多五个小时。&lt;&#x2F;li&gt;
&lt;&#x2F;ul&gt;
&lt;&#x2F;li&gt;
&lt;li&gt;&lt;a rel=&quot;noopener nofollow noreferrer&quot; target=&quot;_blank&quot; href=&quot;https:&#x2F;&#x2F;www.reddit.com&#x2F;r&#x2F;real_China_irl&#x2F;comments&#x2F;13zsnxr&#x2F;%E7%9F%A5%E5%8F%8B%E9%94%90%E8%AF%84gap_day&#x2F;&quot;&gt;什么是 Gap Day?&lt;&#x2F;a&gt;
&lt;ul&gt;
&lt;li&gt;在其他国家里 Gap Year 很常见，但是在中国很多时候显得很奇怪，所以不少中国人发明了【Gap Day】这个词，表示无所事事的一天。&lt;&#x2F;li&gt;
&lt;&#x2F;ul&gt;
&lt;&#x2F;li&gt;
&lt;&#x2F;ul&gt;
&lt;h2 id=&quot;wei-ji-bai-ke&quot;&gt;维基百科&lt;a class=&quot;zola-anchor&quot; href=&quot;#wei-ji-bai-ke&quot; aria-label=&quot;Anchor link for: wei-ji-bai-ke&quot;&gt;🔗&lt;&#x2F;a&gt;&lt;&#x2F;h2&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a rel=&quot;noopener nofollow noreferrer&quot; target=&quot;_blank&quot; href=&quot;https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Rehabilitation_(penology)&quot;&gt;改造学&lt;&#x2F;a&gt; -
挪威的监狱系统以正常化原则为基础，不再进行报复，而是注重改造。[3]囚犯可以使用他们在监狱外的设施，例如专用迷你冰箱，平板电视，私人浴室和户外环境。&lt;&#x2F;li&gt;
&lt;li&gt;&lt;a rel=&quot;noopener nofollow noreferrer&quot; target=&quot;_blank&quot; href=&quot;https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Webring&quot;&gt;Webring&lt;&#x2F;a&gt; - Webring（或 Web
环）是以圆形结构链接在一起的网站的集合，通常围绕特定主题进行组织，通常是教育或社交。[1]它们在 1990 年代和 2000
年代初很受欢迎，特别是在业余网站中。要成为 Webring
的一部分，每个站点都有一个共同的导航栏;它包含指向上一个站点和下一个站点的链接。通过重复选择下一个（或上一个），用户最终将到达他们开始的站点;这就是术语
Webring 的起源。&lt;&#x2F;li&gt;
&lt;li&gt;&lt;a rel=&quot;noopener nofollow noreferrer&quot; target=&quot;_blank&quot; href=&quot;https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Ex-Muslims&quot;&gt;Ex Muslims&lt;&#x2F;a&gt; -
前穆斯林是那些被培养成穆斯林或皈依伊斯兰教，后来放弃宗教的人。&lt;a href=&quot;https:&#x2F;&#x2F;old.owenyoung.com&#x2F;blog&#x2F;articles&#x2F;ex-muslims&#x2F;&quot;&gt;这里有我从里面摘抄的内容&lt;&#x2F;a&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a rel=&quot;noopener nofollow noreferrer&quot; target=&quot;_blank&quot; href=&quot;https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Regressive_left&quot;&gt;倒退的左翼自由主义&lt;&#x2F;a&gt;&lt;&#x2F;li&gt;
&lt;li&gt;&lt;a rel=&quot;noopener nofollow noreferrer&quot; target=&quot;_blank&quot; href=&quot;https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;God_Is_Not_Great&quot;&gt;上帝并不伟大（书）&lt;&#x2F;a&gt;&lt;&#x2F;li&gt;
&lt;li&gt;&lt;a rel=&quot;noopener nofollow noreferrer&quot; target=&quot;_blank&quot; href=&quot;https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Problem_of_evil#cite_note-2009Meister-39&quot;&gt;邪恶问题&lt;&#x2F;a&gt;&lt;&#x2F;li&gt;
&lt;li&gt;&lt;a rel=&quot;noopener nofollow noreferrer&quot; target=&quot;_blank&quot; href=&quot;https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Liberalism_and_progressivism_within_Islam#:~:text=Liberalism%20and%20progressivism%20within%20Islam%20involve%20professed%20Muslims%20who%20have,%2DIsl%C4%81m%20at%2Dtaqaddum%C4%AB&quot;&gt;伊斯兰进步主义&lt;&#x2F;a&gt;.)&lt;&#x2F;li&gt;
&lt;&#x2F;ul&gt;
&lt;&#x2F;li&gt;
&lt;li&gt;&lt;a rel=&quot;noopener nofollow noreferrer&quot; target=&quot;_blank&quot; href=&quot;https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Freedom_of_speech&quot;&gt;言论自由&lt;&#x2F;a&gt;&lt;&#x2F;li&gt;
&lt;li&gt;&lt;a rel=&quot;noopener nofollow noreferrer&quot; target=&quot;_blank&quot; href=&quot;https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Eswatini&quot;&gt;斯威士兰&lt;&#x2F;a&gt; - 非洲的绝对君主统治的国家&lt;&#x2F;li&gt;
&lt;li&gt;&lt;a rel=&quot;noopener nofollow noreferrer&quot; target=&quot;_blank&quot; href=&quot;https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Political_spectrum&quot;&gt;政治频谱&#x2F;立场&lt;&#x2F;a&gt; - 政治立场的区分
&lt;ul&gt;
&lt;li&gt;米尔顿·罗凯奇：左派和右派之间的决定性区别在于左派比右派更强调平等的重要性&lt;&#x2F;li&gt;
&lt;li&gt;格林伯格和乔纳斯：意识形态僵化“与教条主义和威权主义的相关概念有很多共同之处”，其特点是“相信强大的领导者和屈服，更喜欢自己的群体，种族中心主义和民族主义，对持不同政见者的侵略，以及在警察和军队的帮助下进行控制”。&lt;&#x2F;li&gt;
&lt;li&gt;英格尔哈特：传统主义——世俗主义，自我表现主义——生存主义 其他建议的轴包括：&lt;&#x2F;li&gt;
&lt;li&gt;维度：
&lt;ul&gt;
&lt;li&gt;政治关注的焦点：社群主义与个人主义。这些标签比“极权主义”（反自由）与“自由意志主义”（支持自由）的沉重语言更受欢迎，因为人们可以在政治上关注社区，而不是极权主义和不民主。议会共产主义是一种政治哲学，在这个轴心上可以算作社群主义，但不是极权主义或不民主的。&lt;&#x2F;li&gt;
&lt;li&gt;对冲突的回应：根据政治哲学家查尔斯·布拉特伯格（Charles Blattberg）在他的文章《政治哲学和政治意识形态》（Political
Philosophies and Political
Ideologies）中的说法，那些用对话来回应冲突的人应该被认为是左派，谈判是中间的，武力是右派。&lt;&#x2F;li&gt;
&lt;li&gt;教会的作用：教权主义与反教权主义。这个轴在美国（宗教角色的观点往往被归入一般的左右轴）不如欧洲重要（在那里，神职人员主义与反教权主义的相关性要低得多）。&lt;&#x2F;li&gt;
&lt;li&gt;城市与农村：这个轴心在欧洲，澳大利亚和加拿大的政治中具有重要意义。城市与农村轴心在美国的政治历史中同样突出，但其重要性目前值得商榷。在 18
世纪末和 19 世纪初的美国，它被描述为汉密尔顿联邦主义者和杰斐逊共和党人之间的冲突。&lt;&#x2F;li&gt;
&lt;li&gt;外交政策：干涉主义（国家应该在国外施加权力来实施其政策）与不干涉主义（国家应该坚持自己的事务）。同样，多边主义（与其他国家的政策协调）与孤立主义和单边主义&lt;&#x2F;li&gt;
&lt;li&gt;地缘政治：与个别国家或国家集团的关系也可能对政党政治至关重要。在冷战期间，政党经常不得不在亲美和亲苏联之间选择一个立场，尽管这有时可能与左右光谱非常接近。在历史上的其他时候，与其他强国的关系一直很重要。在加拿大早期，与英国的关系是一个中心主题，尽管这不是“外交政策”，而是关于加拿大在大英帝国中的适当地位的辩论。&lt;&#x2F;li&gt;
&lt;li&gt;国际行动：多边主义（各国应该合作和妥协）与单边主义（国家有强有力的，甚至是无条件的，做出自己决定的权利）。&lt;&#x2F;li&gt;
&lt;li&gt;政治暴力：和平主义（政治观点不应通过暴力强加）与好战（暴力是合法或必要的政治表达手段）。在北美，特别是在美国，这些观点的持有者通常分别被称为“鸽派”和“鹰派”。&lt;&#x2F;li&gt;
&lt;li&gt;对外贸易：全球化（世界经济市场应该变得一体化和相互依存）与自给自足（国家或政体应该争取经济独立）。在澳大利亚联邦的早期历史中，这是主要的政治连续体。当时它被称为自由贸易与保护主义。&lt;&#x2F;li&gt;
&lt;li&gt;贸易自由与贸易公平：自由贸易（企业应该能够在没有监管的情况下进行跨境贸易）与公平贸易（国际贸易应该代表社会正义进行监管）。&lt;&#x2F;li&gt;
&lt;li&gt;多样性：多元文化主义（国家应该代表文化思想的多样性）与同化主义或民族主义（国家应该主要代表或锻造多数文化）。&lt;&#x2F;li&gt;
&lt;li&gt;参与：民主（多数人的统治）与贵族（由开明的精英统治）与暴政（贵族的完全堕落）。柏拉图和亚里士多德等古希腊哲学家认为暴政是暴君被彻底的激情统治的状态，而不是像哲学家那样的理性，导致暴君追求自己的欲望而不是共同利益。&lt;&#x2F;li&gt;
&lt;li&gt;自由：积极的自由（拥有对他人施加义务的权利）与消极的自由（拥有禁止他人干涉的权利）。&lt;&#x2F;li&gt;
&lt;li&gt;社会权力：极权主义与无政府主义（控制与无控制）分析人与人之间以及个人与环境之间的基本政治互动。通常假设存在一个温和的系统，存在于两个极端之间。&lt;&#x2F;li&gt;
&lt;li&gt;变革：激进派（相信快速变革）和进步派（相信有节制的渐进式变革）与保守派（相信维持现状）与反动派（相信将事情改变到以前的状态）。&lt;&#x2F;li&gt;
&lt;li&gt;国家权威的起源：人民主权（国家作为人民的创造物，具有列举的，授权的权力）与各种形式的绝对主义和有机的国家哲学（国家作为原始和必要的权威）与无政府原始主义中持有的观点，即“文明起源于国外的征服和国内的镇压”。&lt;&#x2F;li&gt;
&lt;li&gt;主权水平：工会主义、联邦制、分离主义;或集中制与区域主义。在强烈的区域或种族认同是政治问题的社会中尤其重要。&lt;&#x2F;li&gt;
&lt;li&gt;欧洲一体化（在欧洲）：欧洲怀疑论与欧洲联邦制;民族国家与多民族国家。&lt;&#x2F;li&gt;
&lt;li&gt;全球化：民族主义或爱国主义与世界主义或国际主义;主权与全球治理。&lt;&#x2F;li&gt;
&lt;li&gt;开放性：封闭（文化保守和保护主义）与开放（社会自由主义和全球主义）。托尼·布莱尔（Tony Blair）于 2007 年将其推广为一个概念，并在
21 世纪的欧洲和北美政治中越来越占主导地位。&lt;&#x2F;li&gt;
&lt;li&gt;单轴意识形态仇恨爱连续体认为，当你从右翼意识形态转向更左翼的意识形态时，对人类同胞的仇恨就会下降，相反，对人类同胞的爱会随着你从左翼意识形态转向更右翼的意识形态而下降。&lt;&#x2F;li&gt;
&lt;li&gt;专有主义：支持或反对“粘性”私有财产。&lt;&#x2F;li&gt;
&lt;&#x2F;ul&gt;
&lt;&#x2F;li&gt;
&lt;&#x2F;ul&gt;
&lt;&#x2F;li&gt;
&lt;&#x2F;ul&gt;
</content>
    </entry>
    <entry xml:lang="zh">
        <title>生活技巧</title>
        <published>2021-03-25T00:00:00+00:00</published>
        <updated>2026-01-13T00:00:00+00:00</updated>
        
        <author>
          <name>
            
              Owen Young
            
          </name>
        </author>
        
        <link rel="alternate" type="text/html" href="https://old.owenyoung.com/tips/"/>
        <id>https://old.owenyoung.com/tips/</id>
        
        <summary type="html">&lt;p&gt;收集一些关于生活中的 Tips&lt;&#x2F;p&gt;
</summary>
        
        <content type="html" xml:base="https://old.owenyoung.com/tips/">&lt;p&gt;收集一些关于生活中的 Tips&lt;&#x2F;p&gt;
&lt;span id=&quot;continue-reading&quot;&gt;&lt;&#x2F;span&gt;&lt;h2 id=&quot;mai-fang-xiang-guan&quot;&gt;买房相关&lt;a class=&quot;zola-anchor&quot; href=&quot;#mai-fang-xiang-guan&quot; aria-label=&quot;Anchor link for: mai-fang-xiang-guan&quot;&gt;🔗&lt;&#x2F;a&gt;&lt;&#x2F;h2&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a rel=&quot;noopener nofollow noreferrer&quot; target=&quot;_blank&quot; href=&quot;https:&#x2F;&#x2F;github.com&#x2F;shengcaishizhan&#x2F;kkndme_tianya&quot;&gt;天涯 kkndme 神贴聊房价&lt;&#x2F;a&gt;&lt;&#x2F;li&gt;
&lt;li&gt;&lt;a rel=&quot;noopener nofollow noreferrer&quot; target=&quot;_blank&quot; href=&quot;https:&#x2F;&#x2F;github.com&#x2F;eeve&#x2F;cs-house&quot;&gt;长沙买房攻略&lt;&#x2F;a&gt;&lt;&#x2F;li&gt;
&lt;li&gt;&lt;img src=&quot;https:&#x2F;&#x2F;old.owenyoung.com&#x2F;tips&#x2F;.&#x2F;cn-house-steps.jpeg&quot; alt=&quot;思维导图&quot; &#x2F;&gt;&lt;&#x2F;li&gt;
&lt;&#x2F;ul&gt;
&lt;h2 id=&quot;zi-yong-wu-pin-fen-xiang&quot;&gt;自用物品分享&lt;a class=&quot;zola-anchor&quot; href=&quot;#zi-yong-wu-pin-fen-xiang&quot; aria-label=&quot;Anchor link for: zi-yong-wu-pin-fen-xiang&quot;&gt;🔗&lt;&#x2F;a&gt;&lt;&#x2F;h2&gt;
&lt;p&gt;收集自己用过的一些好东西。&lt;&#x2F;p&gt;
&lt;h3 id=&quot;bi-lei&quot;&gt;避雷&lt;a class=&quot;zola-anchor&quot; href=&quot;#bi-lei&quot; aria-label=&quot;Anchor link for: bi-lei&quot;&gt;🔗&lt;&#x2F;a&gt;&lt;&#x2F;h3&gt;
&lt;ul&gt;
&lt;li&gt;Kindle,
积灰好几年了，体验太差，尤其是翻页，然后找书又不太方便，所以现在基本都是在用微信读书了，可以自己导入书籍，电脑，ipad，手机都可以用。&lt;&#x2F;li&gt;
&lt;&#x2F;ul&gt;
&lt;h3 id=&quot;chu-fang&quot;&gt;厨房&lt;a class=&quot;zola-anchor&quot; href=&quot;#chu-fang&quot; aria-label=&quot;Anchor link for: chu-fang&quot;&gt;🔗&lt;&#x2F;a&gt;&lt;&#x2F;h3&gt;
&lt;ul&gt;
&lt;li&gt;洗碗机，我用的是松下的 6 人份的，即使这样，大概都是每隔 1 天洗一次&lt;&#x2F;li&gt;
&lt;li&gt;一个 5L 的电热水壶，每天只用烧一次水，我用的是一款美的的&lt;&#x2F;li&gt;
&lt;li&gt;switch 健身环&lt;&#x2F;li&gt;
&lt;&#x2F;ul&gt;
&lt;h3 id=&quot;ban-gong&quot;&gt;办公&lt;a class=&quot;zola-anchor&quot; href=&quot;#ban-gong&quot; aria-label=&quot;Anchor link for: ban-gong&quot;&gt;🔗&lt;&#x2F;a&gt;&lt;&#x2F;h3&gt;
&lt;ul&gt;
&lt;li&gt;桌面站立书桌，如果一直在家工作，即使是人体工学椅，保持一天也很累，所以需要切换一下，站几个小时，再坐几个小时是最好的。&lt;&#x2F;li&gt;
&lt;&#x2F;ul&gt;
&lt;h3 id=&quot;bi-ji&quot;&gt;笔记&lt;a class=&quot;zola-anchor&quot; href=&quot;#bi-ji&quot; aria-label=&quot;Anchor link for: bi-ji&quot;&gt;🔗&lt;&#x2F;a&gt;&lt;&#x2F;h3&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a rel=&quot;noopener nofollow noreferrer&quot; target=&quot;_blank&quot; href=&quot;https:&#x2F;&#x2F;foambubble.github.io&#x2F;foam&#x2F;&quot;&gt;Foam&lt;&#x2F;a&gt; +
&lt;a rel=&quot;noopener nofollow noreferrer&quot; target=&quot;_blank&quot; href=&quot;https:&#x2F;&#x2F;github.com&#x2F;theowenyoung&#x2F;foam-template-gatsby-theme-primer-wiki&quot;&gt;我开发的主题&lt;&#x2F;a&gt;，太爽了，所以我才这么勤快的更新
wiki&lt;&#x2F;li&gt;
&lt;&#x2F;ul&gt;
&lt;h3 id=&quot;du-shu&quot;&gt;读书&lt;a class=&quot;zola-anchor&quot; href=&quot;#du-shu&quot; aria-label=&quot;Anchor link for: du-shu&quot;&gt;🔗&lt;&#x2F;a&gt;&lt;&#x2F;h3&gt;
&lt;ul&gt;
&lt;li&gt;微信读书，可能有删减吧，但是你也可以自己倒入 pdf，三端都能用，很方便。&lt;&#x2F;li&gt;
&lt;li&gt;Kindle, 曾经觉得这是被割韭菜的产品，当时知乎大 V
铺天盖地的推广，但是买回来之后，基本没怎么用，闲置了 7 年之久。最近开始重度看
Hacker News 之后，突然喜欢了某种简单，离线的东西。于是重新开始用，由于 Kindle
几乎只能下一页，所以你的确不会被干扰，这一点很重要，我用微信读书的时候，一定会想切换到别的应用的。现在变成了我的遛狗必用硬件。我会在一个没有网络的地下室或者小区里边遛狗边看书。&lt;&#x2F;li&gt;
&lt;&#x2F;ul&gt;
&lt;h2 id=&quot;bie-ren-de-gou-mai-tui-jian-lie-biao&quot;&gt;别人的购买推荐列表&lt;a class=&quot;zola-anchor&quot; href=&quot;#bie-ren-de-gou-mai-tui-jian-lie-biao&quot; aria-label=&quot;Anchor link for: bie-ren-de-gou-mai-tui-jian-lie-biao&quot;&gt;🔗&lt;&#x2F;a&gt;&lt;&#x2F;h2&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a rel=&quot;noopener nofollow noreferrer&quot; target=&quot;_blank&quot; href=&quot;https:&#x2F;&#x2F;twitter.com&#x2F;StarKnight&#x2F;status&#x2F;1317653363408859136&quot;&gt;#推特剁手指南 2020 版&lt;&#x2F;a&gt;&lt;&#x2F;li&gt;
&lt;li&gt;&lt;a rel=&quot;noopener nofollow noreferrer&quot; target=&quot;_blank&quot; href=&quot;https:&#x2F;&#x2F;twitter.com&#x2F;StarKnight&#x2F;status&#x2F;1450260340252368896&quot;&gt;#推特剁手指南 2021 版&lt;&#x2F;a&gt;&lt;&#x2F;li&gt;
&lt;&#x2F;ul&gt;
&lt;h2 id=&quot;ying-jian&quot;&gt;硬件&lt;a class=&quot;zola-anchor&quot; href=&quot;#ying-jian&quot; aria-label=&quot;Anchor link for: ying-jian&quot;&gt;🔗&lt;&#x2F;a&gt;&lt;&#x2F;h2&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a rel=&quot;noopener nofollow noreferrer&quot; target=&quot;_blank&quot; href=&quot;https:&#x2F;&#x2F;nickjanetakis.com&#x2F;blog&#x2F;how-to-pick-a-good-monitor-for-software-development&quot;&gt;显示器推荐 - Dell UltraSharp U2515H 2560x1440 显示器&lt;&#x2F;a&gt;&lt;&#x2F;li&gt;
&lt;&#x2F;ul&gt;
&lt;h2 id=&quot;ri-ji&quot;&gt;日记&lt;a class=&quot;zola-anchor&quot; href=&quot;#ri-ji&quot; aria-label=&quot;Anchor link for: ri-ji&quot;&gt;🔗&lt;&#x2F;a&gt;&lt;&#x2F;h2&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a rel=&quot;noopener nofollow noreferrer&quot; target=&quot;_blank&quot; href=&quot;https:&#x2F;&#x2F;www.jianshu.com&#x2F;p&#x2F;595815cce089&quot;&gt;子弹日记&lt;&#x2F;a&gt; - 简洁高效的记录日记的方式&lt;&#x2F;li&gt;
&lt;&#x2F;ul&gt;
&lt;h2 id=&quot;yuan-wang-qing-dan&quot;&gt;愿望清单&lt;a class=&quot;zola-anchor&quot; href=&quot;#yuan-wang-qing-dan&quot; aria-label=&quot;Anchor link for: yuan-wang-qing-dan&quot;&gt;🔗&lt;&#x2F;a&gt;&lt;&#x2F;h2&gt;
&lt;p&gt;一些有钱了之后会买的东西，现在来说有点贵，又不那么需要。也可以当作生日礼物参考。&lt;&#x2F;p&gt;
&lt;h3 id=&quot;yin-le-lei&quot;&gt;音乐类&lt;a class=&quot;zola-anchor&quot; href=&quot;#yin-le-lei&quot; aria-label=&quot;Anchor link for: yin-le-lei&quot;&gt;🔗&lt;&#x2F;a&gt;&lt;&#x2F;h3&gt;
&lt;ul&gt;
&lt;li&gt;吉他&lt;&#x2F;li&gt;
&lt;li&gt;GeoShred - ios 的乐器软件，有生产力的音乐演奏软件&lt;&#x2F;li&gt;
&lt;&#x2F;ul&gt;
&lt;h3 id=&quot;kuai-jie-jian&quot;&gt;快捷键&lt;a class=&quot;zola-anchor&quot; href=&quot;#kuai-jie-jian&quot; aria-label=&quot;Anchor link for: kuai-jie-jian&quot;&gt;🔗&lt;&#x2F;a&gt;&lt;&#x2F;h3&gt;
&lt;ul&gt;
&lt;li&gt;command-e、command-g 快速查找页面文本&lt;&#x2F;li&gt;
&lt;li&gt;Shift-option-command-v：粘贴纯文本（ 不含任何格式 ），区别于直接使用 command-v
操作。&lt;&#x2F;li&gt;
&lt;li&gt;cmd-1 将窗口切换为图标视图&lt;&#x2F;li&gt;
&lt;li&gt;cmd-2 将窗口切换为列表视图&lt;&#x2F;li&gt;
&lt;li&gt;Command-~ 在当前程序的不同窗口之间切换&lt;&#x2F;li&gt;
&lt;&#x2F;ul&gt;
</content>
    </entry>
</feed>
