Skip to content

Commit

Permalink
deploy: 5b95806
Browse files Browse the repository at this point in the history
  • Loading branch information
H2Sxxa committed Sep 1, 2024
1 parent edb267d commit abd84f4
Show file tree
Hide file tree
Showing 16 changed files with 21 additions and 21 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-09-01T11:54:48.860Z">
<meta property="article:modified_time" content="2024-09-01T11:58:23.739Z">
<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-09-01T11:54:48.860Z">
<meta property="article:modified_time" content="2024-09-01T11:58:23.739Z">
<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-09-01T11:54:48.860Z">
<meta property="article:modified_time" content="2024-09-01T11:58:23.739Z">
<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-09-01T11:54:48.860Z">
<meta property="article:modified_time" content="2024-09-01T11:58:23.739Z">
<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-09-01T11:54:48.860Z">
<meta property="article:modified_time" content="2024-09-01T11:58:23.739Z">
<meta property="article:author" content="H2Sxxa">
<meta property="article:tag" content="Dart">
<meta property="article:tag" content="Gradle">
Expand Down
2 changes: 1 addition & 1 deletion 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-09-01T11:54:48.860Z">
<meta property="article:modified_time" content="2024-09-01T11:58:23.739Z">
<meta property="article:author" content="H2Sxxa">
<meta property="article:tag" content="Forge">
<meta property="article:tag" content="Groovy">
Expand Down
2 changes: 1 addition & 1 deletion 2023/08/10/wsl_c_dev_vscode/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/99637663.jpg">
<meta property="article:published_time" content="2023-08-10T09:00:00.000Z">
<meta property="article:modified_time" content="2024-09-01T11:54:48.860Z">
<meta property="article:modified_time" content="2024-09-01T11:58:23.739Z">
<meta property="article:author" content="H2Sxxa">
<meta property="article:tag" content="C">
<meta property="article:tag" content="WSL">
Expand Down
2 changes: 1 addition & 1 deletion 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-09-01T11:54:48.860Z">
<meta property="article:modified_time" content="2024-09-01T11:58:23.739Z">
<meta property="article:author" content="H2Sxxa">
<meta property="article:tag" content="Code Aesthetic">
<meta property="article:tag" content="Rust">
Expand Down
2 changes: 1 addition & 1 deletion 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-09-01T11:54:48.860Z">
<meta property="article:modified_time" content="2024-09-01T11:58:23.739Z">
<meta property="article:author" content="H2Sxxa">
<meta property="article:tag" content="Rust">
<meta property="article:tag" content="Python">
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-09-01T11:54:48.860Z">
<meta property="article:modified_time" content="2024-09-01T11:58:23.739Z">
<meta property="article:author" content="H2Sxxa">
<meta property="article:tag" content="Rust">
<meta property="article:tag" content="Flutter">
Expand Down
2 changes: 1 addition & 1 deletion 2024/05/08/oop_with_fp_via_method_chain/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/105589501.jpg">
<meta property="article:published_time" content="2024-05-08T12:58:00.000Z">
<meta property="article:modified_time" content="2024-09-01T11:54:48.860Z">
<meta property="article:modified_time" content="2024-09-01T11:58:23.739Z">
<meta property="article:author" content="H2Sxxa">
<meta property="article:tag" content="Code Aesthetic">
<meta property="article:tag" content="Python">
Expand Down
2 changes: 1 addition & 1 deletion 2024/07/25/async_block_concurrent/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/120811830.jpg">
<meta property="article:published_time" content="2024-07-25T07:47:00.000Z">
<meta property="article:modified_time" content="2024-09-01T11:54:48.860Z">
<meta property="article:modified_time" content="2024-09-01T11:58:23.739Z">
<meta property="article:author" content="H2Sxxa">
<meta property="article:tag" content="Rust">
<meta property="article:tag" content="Dart">
Expand Down
6 changes: 3 additions & 3 deletions 2024/09/01/impl_macros_in_python/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/122018493.jpg">
<meta property="article:published_time" content="2024-09-01T11:30:00.000Z">
<meta property="article:modified_time" content="2024-09-01T11:54:48.860Z">
<meta property="article:modified_time" content="2024-09-01T11:58:23.739Z">
<meta property="article:author" content="H2Sxxa">
<meta property="article:tag" content="Python">
<meta property="article:tag" content="Macros">
Expand Down Expand Up @@ -311,9 +311,9 @@ <h2 id="ไป€ไนˆๆ˜ฏๅฎ-Macro"><a href="#ไป€ไนˆๆ˜ฏๅฎ-Macro" class="headerlink" tit
<figure class="highlight c"><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></pre></td><td class="code"><pre><code class="hljs C"><span class="hljs-meta">#<span class="hljs-meta-keyword">define</span> VAL 123</span><br><br><span class="hljs-function"><span class="hljs-keyword">int</span> <span class="hljs-title">main</span><span class="hljs-params">(<span class="hljs-keyword">void</span>)</span></span>&#123;<br> <span class="hljs-built_in">printf</span>(<span class="hljs-string">&quot;%d&quot;</span>, VAL);<br> <span class="hljs-keyword">return</span> <span class="hljs-number">0</span>;<br>&#125;<br><br>&gt;&gt;&gt; <span class="hljs-number">123</span><br></code></pre></td></tr></table></figure>

<h2 id="Python-ไธŽ-ๆจกๅ—"><a href="#Python-ไธŽ-ๆจกๅ—" class="headerlink" title="Python ไธŽ ๆจกๅ—"></a>Python ไธŽ ๆจกๅ—</h2><p>Python ็š„ๆจกๅ—ๆ˜ฏ่ฟ™ๆ ทๅผ•ๅ…ฅ็š„</p>
<p>import -&gt; finder/loader -&gt; [compile to py_code] -&gt; write to __py_cache__</p>
<p>import -&gt; finder/loader -&gt; [compile to py_code] -&gt; write to <code>__py_cache__</code></p>
<p>ๆ˜ฏๅฆ้‡ๆ–ฐ็ผ–่ฏ‘ๅ†™ๅ…ฅ <code>py_code</code> ๅˆฐ็ผ“ๅญ˜ๆ‹ฅๆœ‰ๆ ก้ชŒ๏ผŒๆ ก้ชŒ็š„ๆ ‡ๅ‡†ๅฏ่ƒฝๆ˜ฏๆ–‡ไปถ็š„ๆ—ถ้—ดๆˆณๆˆ–ๆ˜ฏๅ“ˆๅธŒๅ€ผ</p>
<p>ๅฆ‚ๆžœๆ ก้ชŒ็ป“ๆžœ็›ธๅŒ๏ผŒไผšๅฐ่ฏ•ๅค็”จ <strong>py_cache__๏ผŒ่€Œ <code>sys.dont_write_bytecode</code> ไผšๅฝฑๅ“่ฏปๅ†™ __py_cache</strong></p>
<p>ๅฆ‚ๆžœๆ ก้ชŒ็ป“ๆžœ็›ธๅŒ๏ผŒไผšๅฐ่ฏ•ๅค็”จ <code>__py_cache__</code>๏ผŒ่€Œ <code>sys.dont_write_bytecode</code> ไผšๅฝฑๅ“่ฏปๅ†™ <code>__py_cache__</code></p>
<h2 id="Python-ไธŽ-็ผ–่ฏ‘"><a href="#Python-ไธŽ-็ผ–่ฏ‘" class="headerlink" title="Python ไธŽ ็ผ–่ฏ‘"></a>Python ไธŽ ็ผ–่ฏ‘</h2><p>Python ็š„็ผ–่ฏ‘ๆ˜ฏไฝฟ็”จ <code>builtins.compile</code> ่ฟ›่กŒ็š„๏ผŒๆˆ‘ไปฌๅช้œ€ๅฏน่ฟ™ไธชๅ‡ฝๆ•ฐ่ฟ›่กŒไฟฎๆ”น๏ผŒๆ•่Žทๅนถไฟฎๆ”น <code>source</code> ไพฟๅฏ่พพๅˆฐๅฎ็š„ๆ•ˆๆžœ</p>
<p>่€Œ <code>builtins.compile</code> ็š„ๅ…ถไป–ๅ‚ๆ•ฐๅฏไปฅๅธฎไฝ ็กฎๅฎšๆจกๅ—๏ผŒไพ‹ๅฆ‚ <code>filename</code></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><span class="line">8</span><br><span class="line">9</span><br><span class="line">10</span><br><span class="line">11</span><br><span class="line">12</span><br><span class="line">13</span><br></pre></td><td class="code"><pre><code class="hljs python"><span class="hljs-keyword">import</span> sys<br><span class="hljs-keyword">import</span> builtins<br><br>sys.dont_write_bytecode = <span class="hljs-literal">True</span><br><br>origin_compile = builtins.<span class="hljs-built_in">compile</span><br><br><span class="hljs-function"><span class="hljs-keyword">def</span> <span class="hljs-title">wrapper</span>(<span class="hljs-params">source, *args, **kwargs</span>):</span><br> <span class="hljs-keyword">return</span> origin_compile(source.replace(...), *args, **kwargs)<br><br>builtins.<span class="hljs-built_in">compile</span> = wrapper<br><br><span class="hljs-keyword">import</span> ...<br></code></pre></td></tr></table></figure>
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-09-01T11:54:48.860Z">
<meta property="article:modified_time" content="2024-09-01T11:54:48.860Z">
<meta property="article:published_time" content="2024-09-01T11:58:23.739Z">
<meta property="article:modified_time" content="2024-09-01T11:58:23.739Z">
<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;&#x73;&#120;&#x78;&#97;&#48;&#x77;&#x30;&#64;&#x67;&#109;&#x61;&#105;&#x6c;&#46;&#99;&#111;&#x6d;">&#x68;&#50;&#x73;&#120;&#x78;&#97;&#48;&#x77;&#x30;&#64;&#x67;&#109;&#x61;&#105;&#x6c;&#46;&#99;&#111;&#x6d;</a></li>
<li>Email : mailto:<a href="mailto:&#x68;&#50;&#115;&#120;&#x78;&#x61;&#x30;&#x77;&#48;&#x40;&#103;&#109;&#97;&#105;&#108;&#x2e;&#99;&#x6f;&#x6d;">&#x68;&#50;&#115;&#120;&#x78;&#x61;&#x30;&#x77;&#48;&#x40;&#103;&#109;&#97;&#105;&#108;&#x2e;&#99;&#x6f;&#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 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-09-01T11:54:48.860Z">
<meta property="article:modified_time" content="2024-09-01T11:54:48.860Z">
<meta property="article:published_time" content="2024-09-01T11:58:23.739Z">
<meta property="article:modified_time" content="2024-09-01T11:58:23.739Z">
<meta property="article:author" content="H2Sxxa">
<meta name="twitter:card" content="summary_large_image">

Expand Down
Loading

0 comments on commit abd84f4

Please sign in to comment.