Skip to content

Commit 97ee782

Browse files
committed
Deploying to gh-pages from @ 0230743 🚀
1 parent 4778d93 commit 97ee782

File tree

33 files changed

+2565
-133
lines changed

33 files changed

+2565
-133
lines changed

about/index.html

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

feed.xml

Lines changed: 1222 additions & 100 deletions
Large diffs are not rendered by default.

notes/ansible/index.html

Lines changed: 7 additions & 1 deletion
Large diffs are not rendered by default.

notes/bash-arrays/index.html

Lines changed: 14 additions & 1 deletion
Large diffs are not rendered by default.

notes/bash-date/index.html

Lines changed: 6 additions & 1 deletion
Large diffs are not rendered by default.

notes/git-commits/index.html

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,6 @@
1111
<time zone offset> is a positive or negative offset from UTC. (E.g CEST is +0200)
1212
RFC 2822 = e.g. Thu, 07 Apr 2005 22:13:13 +0200
1313
ISO 8601 = e.g. 2005-04-07T22:13:13
14-
</code></pre><h3 id="get-the-logs-of-a-specific-line" tabindex="-1">Get the logs of a specific line <a class="header-anchor" href="#get-the-logs-of-a-specific-line">🔗</a></h3><p>See <a href="https://stackoverflow.com/a/50473741" target="_blank" rel="noopener noreferrer">this SO answer</a></p><pre class="language-bash"><code class="language-bash"><span class="token function">git</span> log <span class="token parameter variable">-L</span> <span class="token string">'/the line from your file/,+1:path/to/your/file.txt'</span></code></pre><p>or with line number:</p><pre class="language-bash"><code class="language-bash"><span class="token function">git</span> log -L15,+1:<span class="token string">'path/to/your/file.txt'</span></code></pre><p>or with a funcname:</p><pre class="language-bash"><code class="language-bash"><span class="token function">git</span> log <span class="token parameter variable">-L</span> :<span class="token operator">&lt;</span>funcname<span class="token operator">></span>:<span class="token operator">&lt;</span>file<span class="token operator">></span></code></pre><h3 id="auto-fix-commits" tabindex="-1">Auto fix commits <a class="header-anchor" href="#auto-fix-commits">🔗</a></h3><p>To fix an existing commit <code>aaaaaa</code>:</p><pre class="language-bash"><code class="language-bash"><span class="token comment"># Do changes</span><br><span class="token function">git</span> commit <span class="token parameter variable">--fixup</span> aaaaaa<br><span class="token function">git</span> rebase <span class="token parameter variable">-i</span> <span class="token parameter variable">--autosquash</span> master</code></pre><p><code>-i --autosquash</code> will open an interactive rebase but the fixup commits are already ready.</p><p><a href="/notes/" data-goatcounter-click="back-to-notes" data-goatcounter-referrer="/notes/git-commits/">← Notes</a></p><a class="top-link hide" href="" id="js-top"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 12 6"><path d="M12 6H0l6-6z"/></svg> <span class="screen-reader-text">Back to top</span></a><script>const scrollToTopButton=document.getElementById("js-top");let scrollTimer;const scrollFunc=()=>{var o=window.scrollY;scrollToTopButton.className=0<o?"top-link show":"top-link hide",scrollTimer&&clearTimeout(scrollTimer),scrollTimer=setTimeout(()=>{scrollToTopButton.className="top-link hide"},3e3)},scrollToTop=(window.addEventListener("scroll",scrollFunc),()=>{var o=document.documentElement.scrollTop||document.body.scrollTop;0<o&&(window.requestAnimationFrame(scrollToTop),window.scrollTo(0,o-o/2))});scrollToTopButton.onclick=function(o){o.preventDefault(),scrollToTop()}</script></div><script data-goatcounter="https://statoxblog.goatcounter.com/count" async src="//gc.zgo.at/count.js"></script><link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/open-fonts@1.1.1/fonts/inter.min.css"/><script src="https://kit.fontawesome.com/cc32401bee.js" crossorigin="anonymous"></script></body></html>
14+
</code></pre><h3 id="get-the-logs-of-a-specific-line" tabindex="-1">Get the logs of a specific line <a class="header-anchor" href="#get-the-logs-of-a-specific-line">🔗</a></h3><p>See <a href="https://stackoverflow.com/a/50473741" target="_blank" rel="noopener noreferrer">this SO answer</a></p><pre class="language-bash"><code class="language-bash"><span class="token function">git</span> log <span class="token parameter variable">-L</span> <span class="token string">'/the line from your file/,+1:path/to/your/file.txt'</span></code></pre><p>or with line number:</p><pre class="language-bash"><code class="language-bash"><span class="token function">git</span> log -L15,+1:<span class="token string">'path/to/your/file.txt'</span></code></pre><p>or with a funcname:</p><pre class="language-bash"><code class="language-bash"><span class="token function">git</span> log <span class="token parameter variable">-L</span> :<span class="token operator">&lt;</span>funcname<span class="token operator">></span>:<span class="token operator">&lt;</span>file<span class="token operator">></span></code></pre><h3 id="auto-fix-commits" tabindex="-1">Auto fix commits <a class="header-anchor" href="#auto-fix-commits">🔗</a></h3><p>To fix an existing commit <code>aaaaaa</code>:</p><pre class="language-bash"><code class="language-bash"><span class="token comment"># Do changes</span>
15+
<span class="token function">git</span> commit <span class="token parameter variable">--fixup</span> aaaaaa
16+
<span class="token function">git</span> rebase <span class="token parameter variable">-i</span> <span class="token parameter variable">--autosquash</span> master</code></pre><p><code>-i --autosquash</code> will open an interactive rebase but the fixup commits are already ready.</p><p><a href="/notes/" data-goatcounter-click="back-to-notes" data-goatcounter-referrer="/notes/git-commits/">← Notes</a></p><a class="top-link hide" href="" id="js-top"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 12 6"><path d="M12 6H0l6-6z"/></svg> <span class="screen-reader-text">Back to top</span></a><script>const scrollToTopButton=document.getElementById("js-top");let scrollTimer;const scrollFunc=()=>{var o=window.scrollY;scrollToTopButton.className=0<o?"top-link show":"top-link hide",scrollTimer&&clearTimeout(scrollTimer),scrollTimer=setTimeout(()=>{scrollToTopButton.className="top-link hide"},3e3)},scrollToTop=(window.addEventListener("scroll",scrollFunc),()=>{var o=document.documentElement.scrollTop||document.body.scrollTop;0<o&&(window.requestAnimationFrame(scrollToTop),window.scrollTo(0,o-o/2))});scrollToTopButton.onclick=function(o){o.preventDefault(),scrollToTop()}</script></div><script data-goatcounter="https://statoxblog.goatcounter.com/count" async src="//gc.zgo.at/count.js"></script><link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/open-fonts@1.1.1/fonts/inter.min.css"/><script src="https://kit.fontawesome.com/cc32401bee.js" crossorigin="anonymous"></script></body></html>

notes/i3_enable_touchpad/index.html

Lines changed: 15 additions & 1 deletion
Large diffs are not rendered by default.

notes/index.html

Lines changed: 96 additions & 2 deletions
Large diffs are not rendered by default.

notes/keyboard_remap_arrow_keys/index.html

Lines changed: 11 additions & 1 deletion
Large diffs are not rendered by default.

notes/scp/index.html

Lines changed: 5 additions & 1 deletion
Large diffs are not rendered by default.

notes/systemctl/index.html

Lines changed: 3 additions & 1 deletion
Large diffs are not rendered by default.

notes/tmux_colors/index.html

Lines changed: 3 additions & 1 deletion
Large diffs are not rendered by default.

notes/xargs/index.html

Lines changed: 20 additions & 1 deletion
Large diffs are not rendered by default.

notes/zsh-completion-function/index.html

Lines changed: 18 additions & 1 deletion
Large diffs are not rendered by default.

posts/2017/02/GOD_vim/index.html

Lines changed: 5 additions & 1 deletion
Large diffs are not rendered by default.

posts/2017/09/vim_colorscheme_changer/index.html

Lines changed: 15 additions & 1 deletion
Large diffs are not rendered by default.

posts/2019/01/p5-pool/index.html

Lines changed: 37 additions & 1 deletion
Large diffs are not rendered by default.

posts/2020/01/p5-genetic-algorithms/index.html

Lines changed: 47 additions & 1 deletion
Large diffs are not rendered by default.

posts/2020/06/p5-circle-packing/index.html

Lines changed: 70 additions & 1 deletion
Large diffs are not rendered by default.

posts/2020/07/comments/index.html

Lines changed: 116 additions & 1 deletion
Large diffs are not rendered by default.

posts/2020/07/vim_flash_yanked_text/index.html

Lines changed: 38 additions & 1 deletion
Large diffs are not rendered by default.

posts/2020/10/breath/index.html

Lines changed: 99 additions & 1 deletion
Large diffs are not rendered by default.

posts/2021/01/triomino/index.html

Lines changed: 32 additions & 1 deletion
Large diffs are not rendered by default.

posts/2021/03/alter_ansible_debugging_output/index.html

Lines changed: 25 additions & 1 deletion
Large diffs are not rendered by default.

posts/2021/03/breaking_habits_floating_window/index.html

Lines changed: 98 additions & 1 deletion
Large diffs are not rendered by default.

posts/2021/03/travis-to-githubactions/index.html

Lines changed: 47 additions & 1 deletion
Large diffs are not rendered by default.

posts/2021/04/color_picker_shaders/index.html

Lines changed: 201 additions & 1 deletion
Large diffs are not rendered by default.

posts/2021/04/firefox_autohide_bookmarks/index.html

Lines changed: 40 additions & 1 deletion
Large diffs are not rendered by default.

posts/2021/05/javascript_golf_tips/index.html

Lines changed: 94 additions & 1 deletion
Large diffs are not rendered by default.

posts/2021/11/eleventy_search_bar/index.html

Lines changed: 71 additions & 1 deletion
Large diffs are not rendered by default.

posts/2021/11/eleventy_secrets/index.html

Lines changed: 25 additions & 1 deletion
Large diffs are not rendered by default.

posts/2022/03/dockerizing_dev_env/index.html

Lines changed: 80 additions & 1 deletion
Large diffs are not rendered by default.

sitemap.xml

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)