Skip to content

Commit

Permalink
deploy: da695d8
Browse files Browse the repository at this point in the history
  • Loading branch information
H2Sxxa committed Mar 3, 2024
1 parent 7538e24 commit 0bdc34c
Show file tree
Hide file tree
Showing 25 changed files with 147 additions and 470 deletions.
2 changes: 1 addition & 1 deletion 2022/10/16/mcforge1.12.2-0/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
<meta property="og:locale" content="zh_CN">
<meta property="og:image" content="https://pixiv.nl/101891205.jpg">
<meta property="article:published_time" content="2022-10-16T00:00:00.000Z">
<meta property="article:modified_time" content="2024-02-10T13:43:15.014Z">
<meta property="article:modified_time" content="2024-03-03T13:19:58.909Z">
<meta property="article:author" content="H2Sxxa">
<meta property="article:tag" content="Forge">
<meta property="article:tag" content="Minecraft">
Expand Down
2 changes: 1 addition & 1 deletion 2022/10/16/mcforge1.12.2-1/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
<meta property="og:locale" content="zh_CN">
<meta property="og:image" content="https://pixiv.nl/79639404-1.jpg">
<meta property="article:published_time" content="2022-10-16T06:00:00.000Z">
<meta property="article:modified_time" content="2024-02-10T13:43:15.014Z">
<meta property="article:modified_time" content="2024-03-03T13:19:58.909Z">
<meta property="article:author" content="H2Sxxa">
<meta property="article:tag" content="Forge">
<meta property="article:tag" content="Minecraft">
Expand Down
2 changes: 1 addition & 1 deletion 2022/11/06/aimp_stereo_install/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
<meta property="og:locale" content="zh_CN">
<meta property="og:image" content="https://pixiv.nl/93025943.jpg">
<meta property="article:published_time" content="2022-11-06T00:00:00.000Z">
<meta property="article:modified_time" content="2024-02-10T13:43:15.014Z">
<meta property="article:modified_time" content="2024-03-03T13:19:58.909Z">
<meta property="article:author" content="H2Sxxa">
<meta property="article:tag" content="Music">
<meta property="article:tag" content="AIMP">
Expand Down
2 changes: 1 addition & 1 deletion 2023/03/18/maa_wifi_connect/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
<meta property="og:locale" content="zh_CN">
<meta property="og:image" content="https://pixiv.nl/97389556.jpg">
<meta property="article:published_time" content="2023-03-18T10:30:00.000Z">
<meta property="article:modified_time" content="2024-02-10T13:43:15.014Z">
<meta property="article:modified_time" content="2024-03-03T13:19:58.909Z">
<meta property="article:author" content="H2Sxxa">
<meta property="article:tag" content="Arknights">
<meta property="article:tag" content="MAA">
Expand Down
2 changes: 1 addition & 1 deletion 2023/07/11/rosa_dev_exp/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
<meta property="og:locale" content="zh_CN">
<meta property="og:image" content="https://pixiv.nl/85603133.jpg">
<meta property="article:published_time" content="2023-07-11T06:00:00.000Z">
<meta property="article:modified_time" content="2024-02-10T13:43:15.014Z">
<meta property="article:modified_time" content="2024-03-03T13:19:58.909Z">
<meta property="article:author" content="H2Sxxa">
<meta property="article:tag" content="Gradle">
<meta property="article:tag" content="Flutter">
Expand Down
6 changes: 3 additions & 3 deletions 2023/07/16/forge_dev_gradlemirror/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
<meta property="og:locale" content="zh_CN">
<meta property="og:image" content="https://pixiv.nl/99637717.jpg">
<meta property="article:published_time" content="2023-07-16T04:00:00.000Z">
<meta property="article:modified_time" content="2024-02-10T13:43:15.014Z">
<meta property="article:modified_time" content="2024-03-03T13:19:58.909Z">
<meta property="article:author" content="H2Sxxa">
<meta property="article:tag" content="Forge">
<meta property="article:tag" content="Groovy">
Expand Down Expand Up @@ -422,9 +422,9 @@ <h2 id="build-gradle-1"><a href="#build-gradle-1" class="headerlink" title="buil
<article class="post-prev col-6">


<a href="/2023/08/10/wsl-gcc-vscode/" title="使用WSL来运行GCC配合VSCode进行C的开发">
<a href="/2023/08/10/wsl_c_dev_vscode/" title="在VSCode里通过WSL进行C的开发">
<i class="iconfont icon-arrowleft"></i>
<span class="hidden-mobile">使用WSL来运行GCC配合VSCode进行C的开发</span>
<span class="hidden-mobile">在VSCode里通过WSL进行C的开发</span>
<span class="visible-mobile">上一篇</span>
</a>

Expand Down

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions 2023/09/17/about_code_aesthetic/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
<meta property="og:locale" content="zh_CN">
<meta property="og:image" content="https://pixiv.nl/96078807.jpg">
<meta property="article:published_time" content="2023-09-17T12:10:00.000Z">
<meta property="article:modified_time" content="2024-02-10T13:43:15.014Z">
<meta property="article:modified_time" content="2024-03-03T13:19:58.909Z">
<meta property="article:author" content="H2Sxxa">
<meta property="article:tag" content="Code Aesthetic">
<meta property="article:tag" content="Rust">
Expand Down Expand Up @@ -389,10 +389,10 @@ <h4 id="抽象"><a href="#抽象" class="headerlink" title="抽象"></a>抽象</
<figure class="highlight python"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br><span class="line">8</span><br><span class="line">9</span><br></pre></td><td class="code"><pre><code class="hljs python"><span class="hljs-class"><span class="hljs-keyword">class</span> <span class="hljs-title">Pig</span>:</span><br> <span class="hljs-function"><span class="hljs-keyword">def</span> <span class="hljs-title">drink</span>(<span class="hljs-params">self</span>):</span> ...<br> <span class="hljs-function"><span class="hljs-keyword">def</span> <span class="hljs-title">eat</span>(<span class="hljs-params">self</span>):</span> ...<br> ...<br><br><span class="hljs-class"><span class="hljs-keyword">class</span> <span class="hljs-title">Dog</span>:</span><br> <span class="hljs-function"><span class="hljs-keyword">def</span> <span class="hljs-title">drink</span>(<span class="hljs-params">self</span>):</span> ...<br> <span class="hljs-function"><span class="hljs-keyword">def</span> <span class="hljs-title">eat</span>(<span class="hljs-params">self</span>):</span> ...<br> ...<br></code></pre></td></tr></table></figure>

<p>可以看到<code>Pig</code><code>Dog</code>拥有相同的特征,<code>eat</code><code>drink</code>,把共同的特征抽离出来就是<code>Animal</code>,这就是一个抽象,此外,我们还可以把<code>Animal</code>定义为一个抽象类(Abstract Class)</p>
<figure class="highlight python"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br></pre></td><td class="code"><pre><code class="hljs python"><span class="hljs-class"><span class="hljs-keyword">class</span> <span class="hljs-title">Animal</span>(<span class="hljs-params">ABC</span>):</span><br> <span class="hljs-function"><span class="hljs-keyword">def</span> <span class="hljs-title">drink</span>(<span class="hljs-params">self</span>):</span> ...<br> <span class="hljs-function"><span class="hljs-keyword">def</span> <span class="hljs-title">eat</span>(<span class="hljs-params">self</span>):</span> ...<br><br><br><span class="hljs-class"><span class="hljs-keyword">class</span> <span class="hljs-title">Pig</span>(<span class="hljs-params">Animal</span>)</span><br><span class="hljs-class"><span class="hljs-title">class</span> <span class="hljs-title">Dog</span>(<span class="hljs-params">Animal</span>):</span>...<br></code></pre></td></tr></table></figure>


<figure class="highlight python"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br></pre></td><td class="code"><pre><code class="hljs python"><span class="hljs-class"><span class="hljs-keyword">class</span> <span class="hljs-title">Animal</span>(<span class="hljs-params">ABC</span>):</span><br> <span class="hljs-function"><span class="hljs-keyword">def</span> <span class="hljs-title">drink</span>(<span class="hljs-params">self</span>):</span> ...<br> <span class="hljs-function"><span class="hljs-keyword">def</span> <span class="hljs-title">eat</span>(<span class="hljs-params">self</span>):</span> ...<br><br><br><span class="hljs-class"><span class="hljs-keyword">class</span> <span class="hljs-title">Pig</span>(<span class="hljs-params">Animal</span>):</span>...<br><span class="hljs-class"><span class="hljs-keyword">class</span> <span class="hljs-title">Dog</span>(<span class="hljs-params">Animal</span>):</span>...<br></code></pre></td></tr></table></figure>

<p>虽然抽象但抽象也不是百利而无,下面说说</p>
<h4 id="依赖注入"><a href="#依赖注入" class="headerlink" title="依赖注入"></a>依赖注入</h4><p>什么是依赖注入?我第一次接触到依赖注入在 NoneBot</p>
<h2 id="参考文献"><a href="#参考文献" class="headerlink" title="参考文献"></a>参考文献</h2><section class="footnotes"><div class="footnote-list"><ol><li><span id="fn:1" class="footnote-text"><span><a target="_blank" rel="noopener" href="https://zhuanlan.zhihu.com/p/89909623">四种基本的编程命名规范 - 知乎</a>
<a href="#fnref:1" rev="footnote" class="footnote-backref"></a></span></span></li><li><span id="fn:2" class="footnote-text"><span><a target="_blank" rel="noopener" href="https://learn.microsoft.com/zh-cn/dotnet/csharp/language-reference/keywords/interface">C#官方文档中的接口</a>
<a href="#fnref:2" rev="footnote" class="footnote-backref"></a></span></span></li><li><span id="fn:3" class="footnote-text"><span><a target="_blank" rel="noopener" href="https://stackoverflow.com/a/41967120/4676238">Confused about the Interface and Class coding guidelines for TypeScript(StackOverflow)</a>
Expand Down
6 changes: 3 additions & 3 deletions 2023/09/17/about_oo_and_po/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
<meta property="og:locale" content="zh_CN">
<meta property="og:image" content="https://pixiv.nl/111639285-2.jpg">
<meta property="article:published_time" content="2023-09-17T12:10:00.000Z">
<meta property="article:modified_time" content="2024-02-10T13:43:15.014Z">
<meta property="article:modified_time" content="2024-03-03T13:19:58.909Z">
<meta property="article:author" content="H2Sxxa">
<meta property="article:tag" content="Rust">
<meta property="article:tag" content="Python">
Expand Down Expand Up @@ -428,8 +428,8 @@ <h2 id="面向对象的语言与面向过程的语言对比"><a href="#面向对
<article class="post-next col-6">


<a href="/2023/08/10/wsl-gcc-vscode/" title="使用WSL来运行GCC配合VSCode进行C的开发">
<span class="hidden-mobile">使用WSL来运行GCC配合VSCode进行C的开发</span>
<a href="/2023/08/10/wsl_c_dev_vscode/" title="在VSCode里通过WSL进行C的开发">
<span class="hidden-mobile">在VSCode里通过WSL进行C的开发</span>
<span class="visible-mobile">下一篇</span>
<i class="iconfont icon-arrowright"></i>
</a>
Expand Down
2 changes: 1 addition & 1 deletion 2024/02/10/how_to_use_rinf/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
<meta property="og:locale" content="zh_CN">
<meta property="og:image" content="https://pixiv.nl/115766745.jpg">
<meta property="article:published_time" content="2024-02-10T12:33:00.000Z">
<meta property="article:modified_time" content="2024-02-10T13:43:15.014Z">
<meta property="article:modified_time" content="2024-03-03T13:19:58.909Z">
<meta property="article:author" content="H2Sxxa">
<meta property="article:tag" content="Rust">
<meta property="article:tag" content="Flutter">
Expand Down
6 changes: 3 additions & 3 deletions about/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@
<meta property="og:locale" content="zh_CN">
<meta property="og:image" content="https://wakatime.com/badge/user/2cbbd499-4c2f-44d5-8b4e-813449cabaf3.svg">
<meta property="og:image" content="https://raw.githubusercontent.com/H2Sxxa/H2Sxxa/main/metrics.plugin.svg">
<meta property="article:published_time" content="2024-02-10T13:43:15.014Z">
<meta property="article:modified_time" content="2024-02-10T13:43:15.014Z">
<meta property="article:published_time" content="2024-03-03T13:19:58.909Z">
<meta property="article:modified_time" content="2024-03-03T13:19:58.909Z">
<meta property="article:author" content="H2Sxxa">
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:image" content="https://wakatime.com/badge/user/2cbbd499-4c2f-44d5-8b4e-813449cabaf3.svg">
Expand Down Expand Up @@ -305,7 +305,7 @@ <h2 id="Status-📊"><a href="#Status-📊" class="headerlink" title="Status

<h2 id="Contact-📞"><a href="#Contact-📞" class="headerlink" title="Contact 📞"></a>Contact 📞</h2><ul>
<li>Github: <a target="_blank" rel="noopener" href="https://github.com/H2Sxxa">https://github.com/H2Sxxa</a></li>
<li>Email : mailto:<a href="mailto:&#x68;&#50;&#115;&#120;&#x78;&#x61;&#48;&#x77;&#48;&#64;&#103;&#109;&#x61;&#x69;&#x6c;&#x2e;&#99;&#x6f;&#109;">&#x68;&#50;&#115;&#120;&#x78;&#x61;&#48;&#x77;&#48;&#64;&#103;&#109;&#x61;&#x69;&#x6c;&#x2e;&#99;&#x6f;&#109;</a></li>
<li>Email : mailto:<a href="mailto:&#104;&#50;&#x73;&#x78;&#x78;&#97;&#48;&#119;&#48;&#x40;&#x67;&#109;&#97;&#105;&#x6c;&#46;&#x63;&#111;&#x6d;">&#104;&#50;&#x73;&#x78;&#x78;&#97;&#48;&#119;&#48;&#x40;&#x67;&#109;&#97;&#105;&#x6c;&#46;&#x63;&#111;&#x6d;</a></li>
<li>Steam : 1227101305</li>
<li>BiliBili : <a target="_blank" rel="noopener" href="https://space.bilibili.com/393570351">https://space.bilibili.com/393570351</a></li>
</ul>
Expand Down
4 changes: 2 additions & 2 deletions archives/2023/08/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -246,9 +246,9 @@

<p class="h5">2023</p>

<a href="/2023/08/10/wsl-gcc-vscode/" class="list-group-item list-group-item-action">
<a href="/2023/08/10/wsl_c_dev_vscode/" class="list-group-item list-group-item-action">
<time>08-10</time>
<div class="list-group-item-title">使用WSL来运行GCC配合VSCode进行C的开发</div>
<div class="list-group-item-title">在VSCode里通过WSL进行C的开发</div>
</a>

</div>
Expand Down
4 changes: 2 additions & 2 deletions archives/2023/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -258,9 +258,9 @@
</a>


<a href="/2023/08/10/wsl-gcc-vscode/" class="list-group-item list-group-item-action">
<a href="/2023/08/10/wsl_c_dev_vscode/" class="list-group-item list-group-item-action">
<time>08-10</time>
<div class="list-group-item-title">使用WSL来运行GCC配合VSCode进行C的开发</div>
<div class="list-group-item-title">在VSCode里通过WSL进行C的开发</div>
</a>


Expand Down
4 changes: 2 additions & 2 deletions archives/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -267,9 +267,9 @@
</a>


<a href="/2023/08/10/wsl-gcc-vscode/" class="list-group-item list-group-item-action">
<a href="/2023/08/10/wsl_c_dev_vscode/" class="list-group-item list-group-item-action">
<time>08-10</time>
<div class="list-group-item-title">使用WSL来运行GCC配合VSCode进行C的开发</div>
<div class="list-group-item-title">在VSCode里通过WSL进行C的开发</div>
</a>


Expand Down
4 changes: 2 additions & 2 deletions board/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@
<meta property="og:site_name" content="H2Sxxa&#39;s Blog">
<meta property="og:description" content="畅言所欲 提问 建议 友链 ……">
<meta property="og:locale" content="zh_CN">
<meta property="article:published_time" content="2024-02-10T13:43:15.014Z">
<meta property="article:modified_time" content="2024-02-10T13:43:15.014Z">
<meta property="article:published_time" content="2024-03-03T13:19:58.909Z">
<meta property="article:modified_time" content="2024-03-03T13:19:58.909Z">
<meta property="article:author" content="H2Sxxa">
<meta name="twitter:card" content="summary_large_image">

Expand Down
4 changes: 2 additions & 2 deletions categories/Development-Progarmming/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -267,9 +267,9 @@
</a>


<a href="/2023/08/10/wsl-gcc-vscode/" class="list-group-item list-group-item-action">
<a href="/2023/08/10/wsl_c_dev_vscode/" class="list-group-item list-group-item-action">
<time>08-10</time>
<div class="list-group-item-title">使用WSL来运行GCC配合VSCode进行C的开发</div>
<div class="list-group-item-title">在VSCode里通过WSL进行C的开发</div>
</a>


Expand Down
4 changes: 2 additions & 2 deletions categories/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -300,10 +300,10 @@



<a href="/2023/08/10/wsl-gcc-vscode/" title="使用WSL来运行GCC配合VSCode进行C的开发"
<a href="/2023/08/10/wsl_c_dev_vscode/" title="在VSCode里通过WSL进行C的开发"
class="list-group-item list-group-item-action
">
<span class="category-post">使用WSL来运行GCC配合VSCode进行C的开发</span>
<span class="category-post">在VSCode里通过WSL进行C的开发</span>
</a>


Expand Down
16 changes: 8 additions & 8 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -465,23 +465,23 @@ <h2 class="index-header">


<div class="col-12 col-md-4 m-auto index-img">
<a href="/2023/08/10/wsl-gcc-vscode/" target="_self">
<img src="https://pixiv.nl/99637663.jpg" srcset="/img/loading.gif" lazyload alt="使用WSL来运行GCC配合VSCode进行C的开发">
<a href="/2023/08/10/wsl_c_dev_vscode/" target="_self">
<img src="https://pixiv.nl/99637663.jpg" srcset="/img/loading.gif" lazyload alt="在VSCode里通过WSL进行C的开发">
</a>
</div>

<article class="col-12 col-md-8 mx-auto index-info">
<h2 class="index-header">

<a href="/2023/08/10/wsl-gcc-vscode/" target="_self">
使用WSL来运行GCC配合VSCode进行C的开发
<a href="/2023/08/10/wsl_c_dev_vscode/" target="_self">
在VSCode里通过WSL进行C的开发
</a>
</h2>


<a class="index-excerpt " href="/2023/08/10/wsl-gcc-vscode/" target="_self">
<a class="index-excerpt " href="/2023/08/10/wsl_c_dev_vscode/" target="_self">
<div>
使用WSL来运行GCC为什么是WSL + GCC什么是MinGWMinGW全称是Minimalist GNU on Windows,翻译一下就是用于Windows的简单GNU套件,里面不仅包含了mingw-gcc/g++用于编译C/C++文件,还包含了许多头文件以及bison,make等工具,可以让你在Windows上轻松开发C/C++程序。 如果你不想使用WSL,你可以参考 Get Starte
我只想看看怎么配置MinGWMinGW全称是Minimalist GNU on Windows,翻译一下就是用于Windows的简单GNU套件,里面不仅包含了mingw-gcc/g++用于编译C/C++文件,还包含了许多头文件以及bison,make等工具,可以让你在Windows上轻松开发C/C++程序。 如果你不想使用WSL,你可以参考 Get Started with C++ and Min
</div>
</a>

Expand Down Expand Up @@ -520,12 +520,12 @@ <h2 class="index-header">
<div class="post-meta">
<i class="iconfont icon-tags"></i>

<a href="/tags/C/">#C</a>

<a href="/tags/WSL/">#WSL</a>

<a href="/tags/Linux/">#Linux</a>

<a href="/tags/GCC/">#GCC</a>

<a href="/tags/VSCode/">#VSCode</a>

</div>
Expand Down
14 changes: 7 additions & 7 deletions local-search.xml

Large diffs are not rendered by default.

8 changes: 7 additions & 1 deletion tags/C/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@


<div class="list-group">
<p class="h4">共计 2 篇文章</p>
<p class="h4">共计 3 篇文章</p>
<hr>


Expand All @@ -261,6 +261,12 @@
<div class="list-group-item-title">浅谈面向对象与面向过程</div>
</a>


<a href="/2023/08/10/wsl_c_dev_vscode/" class="list-group-item list-group-item-action">
<time>08-10</time>
<div class="list-group-item-title">在VSCode里通过WSL进行C的开发</div>
</a>

</div>


Expand Down
Loading

0 comments on commit 0bdc34c

Please sign in to comment.