From: Ayo Reis
Date: Fri, 19 Sep 2025 23:19:12 +0000 (+0100)
Subject: Write Git rewording post and improve FFmpeg post
X-Git-Url: https://git.ayoreis.com/ayoreis.com.git/commitdiff_plain/refs/heads/main?hp=e27988e9edab55c109d30ffce8b287ed6a4067a6
Write Git rewording post and improve FFmpeg post
---
diff --git a/index.html b/index.html
index 0b39234..e737f37 100644
--- a/index.html
+++ b/index.html
@@ -21,23 +21,117 @@
src: url("/inter-italic.woff2");
}
+ * {
+ box-sizing: border-box;
+ margin: 0;
+ padding: 0;
+ }
+
body {
+ padding: 24px;
font-family: --inter;
- font-size: 32px;
+ font-size: 24px;
font-weight: 500;
+ line-height: 1.5;
text-transform: lowercase;
background-color: #f77ee5;
}
+ :where(h2, p, pre, ul):not(:first-child) {
+ margin-top: 0.5lh;
+ }
+
+ h2, h3 {
+ font-size: 32px;
+ }
+
+ pre {
+ white-space: pre-wrap;
+
+ > code {
+ display: block;
+ padding: 24px;
+ }
+ }
+
+ ul {
+ list-style-position: inside;
+ }
+
+ time {
+ font-style: italic;
+ }
+
a {
color: inherit;
}
+
+ code {
+ text-transform: none;
+ color: white;
+ background-color: black;
+ }
+
+ #log {
+ margin-top: 64px;
+ padding-top: 64px;
+ border-top: 4px dashed black;
+
+ > article {
+ &:not(:first-child) {
+ margin-top: 64px;
+ }
+
+ > header > h2 {
+ margin-top: 0;
+ }
+ }
+ }
- Hey there, I'm Ayo!
- Here are some projects I'm working on: git.ayoreis.com.
- (the background colour is #f77ee5 btw :3)
-
+
Hey there! I'm Ayo ^w^
+ Here are some projects I'm working on: git.ayoreis.com.
+ (the background colour is #f77ee5 btw)
+
+
+
+
+
+ Reword old Git commits
+
+
+ git rebase -i --committer-date-is-author-date HEAD~n
+git push --force
+
+
+ rebase
modifies history in a few ways, such as rewording commits
+ -i
(short for --interactive
) lets you chose specific commits to reword
+ --committer-date-is-author-date
(optional) keeps original date instead of updating it
+ HEAD~n
reference, current branch n
commits back
+
+
+ Force pushing is needed since history is modified, will cause trouble if you work with other people.
+
+
+
+
+
+ ffmpeg -i input.mkv -vf "setpts=PTS/60" -r 60 -an output.mp4
+ (Some of the following options link to further information.)
+
+
+ -i input.mkv
input file
+ -vf
(short for --filter:v
) video filter, "setpts=PTS/60"
set presentation timespamp
+ -r 60
frame rate
+ -an
no audio (unless you speed up audio too, the output's length will stay the same)
+ output.mp4
output file and format
+
+
+
+