+ <p>Hey there! I'm Ayo ^w^</p>
+ <p>Here are some projects I'm working on: <a href="https://git.ayoreis.com" target="_blank">git.ayoreis.com</a>.</p>
+ <p>(the background colour is #f77ee5 btw)</p>
+
+ <section id="log">
+ <article>
+ <header>
+ <p><time datetime="2025-09-19">19 September 2025</time></p>
+ <h2>Reword old Git commits</h2>
+ </header>
+
+ <pre><code>git rebase -i --committer-date-is-author-date HEAD~n
+git push --force</code></pre>
+
+ <ul>
+ <li><a href="https://git-scm.com/docs/git-rebase" target="_target"><code>rebase</code></a> modifies history in a few ways, such as rewording commits</li>
+ <li><a href="https://git-scm.com/docs/git-rebase#Documentation/git-rebase.txt---interactive" target="_blank"><code>-i</code></a> (short for <code>--interactive</code>) lets you chose specific commits to reword</li>
+ <li><a href="https://git-scm.com/docs/git-rebase#Documentation/git-rebase.txt---committer-date-is-author-date"><code>--committer-date-is-author-date</code></a> (optional) keeps original date instead of updating it</li>
+ <li><code>HEAD~n</code> reference, current branch <code>n</code> commits back</li>
+ </ul>
+
+ <p>Force pushing is needed since history is modified, will cause trouble if you work with other people.</p>
+ </article>
+
+ <article>
+ <header>
+ <p><time datetime="2025-09-17">17 September 2025</time> (last updated <time datetime="2025-09-19">19 September 2025</time>)</p>
+ <h2>Speed up video in <a href="https://ffmpeg.org" target="_blank">FFmpeg</a></h2>
+ </header>
+
+ <pre><code>ffmpeg -i input.mkv -vf "setpts=PTS/60" -r 60 -an output.mp4</code></pre>
+ <p>(Some of the following options link to further information.)</p>
+
+ <ul>
+ <li><code>-i input.mkv</code> input file</li>
+ <li><a href="https://ffmpeg.org/ffmpeg.html#Simple-filtergraphs" target="_blank"><code>-vf</code></a> (short for <code>--filter:v</code>) video filter, <a href="https://ffmpeg.org/ffmpeg-filters.html#setpts_002c-asetpts" target="_blank"><code>"setpts=PTS/60"</code></a> set <a href="https://en.wikipedia.org/wiki/Presentation_timestamp" target="_blank">presentation timespamp</a></li>
+ <li><a href="https://ffmpeg.org/ffmpeg.html#Video-Options" target="_blank"><code>-r 60</code></a> frame rate</li>
+ <li><a href="https://ffmpeg.org/ffmpeg.html#Audio-Options" target="_blank"><code>-an</code></a> no audio (unless you speed up audio too, the output's length will stay the same)</li>
+ <li><code>output.mp4</code> output file and format</li>
+ </li>
+ </article>
+ </section>
+ </body>