X-Git-Url: https://git.ayoreis.com/ayoreis.com.git/blobdiff_plain/1fc90a073502806b0af6b2b291b4e9b1853b6986..refs/heads/main:/index.html?ds=inline
diff --git a/index.html b/index.html
index f68fa47..e737f37 100644
--- a/index.html
+++ b/index.html
@@ -37,7 +37,7 @@
background-color: #f77ee5;
}
- :where(h2, h3, p, pre, ul):not(:first-child) {
+ :where(h2, p, pre, ul):not(:first-child) {
margin-top: 0.5lh;
}
@@ -58,11 +58,16 @@
list-style-position: inside;
}
+ time {
+ font-style: italic;
+ }
+
a {
color: inherit;
}
code {
+ text-transform: none;
color: white;
background-color: black;
}
@@ -72,31 +77,58 @@
padding-top: 64px;
border-top: 4px dashed black;
- > article > header > h3 {
- margin-top: 0;
+ > article {
+ &:not(:first-child) {
+ margin-top: 64px;
+ }
+
+ > header > h2 {
+ margin-top: 0;
+ }
}
}
- Hey there, I'm Ayo!
+ Hey there! I'm Ayo ^w^
Here are some projects I'm working on: git.ayoreis.com.
- (the background colour is #f77ee5 btw :3)
+ (the background colour is #f77ee5 btw)
-
- Speed up video in FFmpeg
+
+ Reword old Git commits
- ffmpeg -i input.mkv -vf "setpts=PTS/60" -an output.mp4
+ 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 "setpts=PTS/60"
video filter, set presentation timespamp
- -an
no audio (unless you speed up audio too, the output's length will stay the same)
+ -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