Cheat Sheets on SWangNice http://localhost:1313/notes/coding/cheat_sheet/ Recent content in Cheat Sheets on SWangNice Hugo -- gohugo.io en © 2025 SWang Fri, 20 Sep 2024 04:17:50 +0000 C http://localhost:1313/notes/coding/cheat_sheet/c/ Fri, 20 Sep 2024 04:17:50 +0000 http://localhost:1313/notes/coding/cheat_sheet/c/ C++ http://localhost:1313/notes/coding/cheat_sheet/cpp/ Fri, 20 Sep 2024 04:17:50 +0000 http://localhost:1313/notes/coding/cheat_sheet/cpp/ Git http://localhost:1313/notes/coding/cheat_sheet/git/ Fri, 20 Sep 2024 04:17:50 +0000 http://localhost:1313/notes/coding/cheat_sheet/git/ <h2 class="relative group">submodule <div id="submodule" class="anchor"></div> <span class="absolute top-0 w-6 transition-opacity opacity-0 ltr:-left-6 rtl:-right-6 not-prose group-hover:opacity-100"> <a class="group-hover:text-primary-300 dark:group-hover:text-neutral-700" style="text-decoration-line: none !important;" href="#submodule" aria-label="Anchor">#</a> </span> </h2> <h2 class="relative group">Commit <div id="commit" class="anchor"></div> <span class="absolute top-0 w-6 transition-opacity opacity-0 ltr:-left-6 rtl:-right-6 not-prose group-hover:opacity-100"> <a class="group-hover:text-primary-300 dark:group-hover:text-neutral-700" style="text-decoration-line: none !important;" href="#commit" aria-label="Anchor">#</a> </span> </h2> <ol> <li>Add date and time in commit messages:</li> </ol> <div class="highlight"><pre tabindex="0" class="chroma"><code class="language-bash" data-lang="bash"><span class="line"><span class="cl">git commit -m <span class="s2">&#34;</span><span class="k">$(</span>date <span class="s1">&#39;+%Y-%m-%d %H:%M:%S&#39;</span><span class="k">)</span><span class="s2">&#34;</span> </span></span></code></pre></div> Python http://localhost:1313/notes/coding/cheat_sheet/python/ Fri, 20 Sep 2024 04:17:50 +0000 http://localhost:1313/notes/coding/cheat_sheet/python/