diff options
Diffstat (limited to 'content/notes')
-rw-r--r-- | content/notes/_index.md | 6 | ||||
-rw-r--r-- | content/notes/devtool-theme.md | 12 | ||||
-rw-r--r-- | content/notes/ffmpeg-cut-video.md | 13 | ||||
-rw-r--r-- | content/notes/ffmpeg-remove-audio.md | 13 | ||||
-rw-r--r-- | content/notes/insert-unicode.md | 15 | ||||
-rw-r--r-- | content/notes/json-output-format.md | 13 | ||||
-rw-r--r-- | content/notes/keepassxc-enable-desktop-integration.md | 13 | ||||
-rw-r--r-- | content/notes/nheko-plain-creds.md | 13 | ||||
-rw-r--r-- | content/notes/regex-unicode.md | 13 | ||||
-rw-r--r-- | content/notes/socks-proxy.md | 14 | ||||
-rw-r--r-- | content/notes/vim-jp.md | 13 | ||||
-rw-r--r-- | content/notes/vim-paste-command.md | 13 | ||||
-rw-r--r-- | content/notes/vim-paste-file.md | 13 |
13 files changed, 76 insertions, 88 deletions
diff --git a/content/notes/_index.md b/content/notes/_index.md index 717b351..13c4509 100644 --- a/content/notes/_index.md +++ b/content/notes/_index.md @@ -1,6 +1,6 @@ ---- -title: Software usage notes ---- ++++ +title = "Software usage notes" ++++ Here are short notes on using some programs. Reading manuals is not always intuitive or quick, even though the steps are so simple; so I collect them diff --git a/content/notes/devtool-theme.md b/content/notes/devtool-theme.md index 603ec1b..664ec90 100644 --- a/content/notes/devtool-theme.md +++ b/content/notes/devtool-theme.md @@ -1,9 +1,9 @@ ---- -categories: [software, guide] -title: "Emulate system theme with firefox's devtools" -date: 2021-05-03T11:15:35+07:00 -tag: [firefox, css, theme] ---- ++++ +categories = ["software", "guide"] +title = "Emulate system theme with firefox's devtools" +date = 2021-05-03T11:15:35+07:00 +tag = ["firefox", "css", "theme"] ++++ Firefox's devtool provides you with a tool to emulate dark/light mode (probably Chrome does, too). It can be useful for front-end diff --git a/content/notes/ffmpeg-cut-video.md b/content/notes/ffmpeg-cut-video.md index fb95f08..f4934cf 100644 --- a/content/notes/ffmpeg-cut-video.md +++ b/content/notes/ffmpeg-cut-video.md @@ -1,10 +1,9 @@ ---- -title: "How to cut videos with ffmpeg" -date: 2024-04-24 -translationKey: ffmpeg-cut-video -categories: [software, guide] -tags: [ffmpeg] ---- ++++ +title = "How to cut videos with ffmpeg" +date = 2024-04-24 +categories = ["software", "guide"] +tags = ["ffmpeg"] ++++ To cut video with ffmpeg, use the flag `-ss` for the beginning of the cut and `-to` for the end of the cut. For example: diff --git a/content/notes/ffmpeg-remove-audio.md b/content/notes/ffmpeg-remove-audio.md index f4c33f9..d730e86 100644 --- a/content/notes/ffmpeg-remove-audio.md +++ b/content/notes/ffmpeg-remove-audio.md @@ -1,9 +1,8 @@ ---- -title: "How to remove audio from videos with ffmpeg" -date: 2024-04-24 -translationKey: ffmpeg-remove-audio -categories: [software, guide] -tags: [ffmpeg] ---- ++++ +title = "How to remove audio from videos with ffmpeg" +date = 2024-04-24 +categories = ["software", "guide"] +tags = ["ffmpeg"] ++++ To remove audio from video, pass `-an` flag to the command. diff --git a/content/notes/insert-unicode.md b/content/notes/insert-unicode.md index c897fc3..9bfb7bb 100644 --- a/content/notes/insert-unicode.md +++ b/content/notes/insert-unicode.md @@ -1,11 +1,10 @@ ---- -title: "How to insert unicode in vim" -date: 2022-02-20 -lang: en -categories: [software, guide] -tags: [vim, how-to, unicode] -translationKey: "vim-insert-unicode" ---- ++++ +title = "How to insert unicode in vim" +date = 2022-02-20 +categories = ["software", "guide"] +tags = ["vim", "how-to", "unicode"] +translationKey = "vim-insert-unicode" ++++ Today I learned how to insert unicode in Vim. It's simple: diff --git a/content/notes/json-output-format.md b/content/notes/json-output-format.md index e22cfbf..3d98305 100644 --- a/content/notes/json-output-format.md +++ b/content/notes/json-output-format.md @@ -1,10 +1,9 @@ ---- -title: "Formatting JSON Output with jq" -date: 2021-04-27T17:06:51+07:00 -translationKey: json-output-format -categories: [software, guide] -tags: [bash, cli, json, jq, less] ---- ++++ +title = "Formatting JSON Output with jq" +date = 2021-04-27T17:06:51+07:00 +categories = ["software", "guide"] +tags = ["bash", "cli", "json", "jq", "less"] ++++ TIL: Syntax-highlighted JSON output diff --git a/content/notes/keepassxc-enable-desktop-integration.md b/content/notes/keepassxc-enable-desktop-integration.md index 01dc532..c791719 100644 --- a/content/notes/keepassxc-enable-desktop-integration.md +++ b/content/notes/keepassxc-enable-desktop-integration.md @@ -1,10 +1,9 @@ ---- -title: "KeepassXC: how to enable desktop integration" -date: 2024-04-24 -translationKey: keepassxc-desktop-integration -categories: [software, guide] -tags: [keepassxc] ---- ++++ +title = "KeepassXC: how to enable desktop integration" +date = 2024-04-24 +categories = ["software", "guide"] +tags = ["keepassxc"] ++++ Go to Setting > Secret Service Integration > Enable KeepassXC Freedesktop.org Secret Service integration. diff --git a/content/notes/nheko-plain-creds.md b/content/notes/nheko-plain-creds.md index da331bd..cc8983d 100644 --- a/content/notes/nheko-plain-creds.md +++ b/content/notes/nheko-plain-creds.md @@ -1,10 +1,9 @@ ---- -title: "Storing nheko credentials as plain text" -date: 2024-04-24 -translationKey: nheko-plain-creds -categories: [software, guide] -tags: [nheko] ---- ++++ +title = "Storing nheko credentials as plain text" +date = 2024-04-24 +categories = ["software", "guide"] +tags = ["nheko"] ++++ nheko requires a keyring (like GNOME keyring or keypassxc) to store encrypted password, which doesn't necessarily work, or probably you just don't want to diff --git a/content/notes/regex-unicode.md b/content/notes/regex-unicode.md index 97c28b8..b57e969 100644 --- a/content/notes/regex-unicode.md +++ b/content/notes/regex-unicode.md @@ -1,10 +1,9 @@ ---- -title: "How to match Unicode in RegEx" -date: 2022-02-13T16:32:53+07:00 -translationKey: regex-unicode -categories: [software, guide] -tags: [regex, "regular expression", unicode] ---- ++++ +title = "How to match Unicode in RegEx" +date = 2022-02-13T16:32:53+07:00 +categories = ["software", "guide"] +tags = ["regex", "regular expression", "unicode"] ++++ Today I learned how to match [unicode in RegEx][regex-unicode]. diff --git a/content/notes/socks-proxy.md b/content/notes/socks-proxy.md index c1accf0..b97066b 100644 --- a/content/notes/socks-proxy.md +++ b/content/notes/socks-proxy.md @@ -1,11 +1,9 @@ ---- -title: "SOCKS Proxy via SSH" -date: 2023-06-05 -lang: en -categories: [software, guide] -tags: [tips, guide, "SOCKS proxy"] -translationKey: "socks-proxy" ---- ++++ +title = "SOCKS Proxy via SSH" +date = 2023-06-05 +categories = ["software", "guide"] +tags = ["tips", "guide", "SOCKS proxy"] ++++ [SOCKS (RFC 1928)][socks] is a protocol that can be, as said in the RFC itself, used for firewall traversal, or some other types of network diff --git a/content/notes/vim-jp.md b/content/notes/vim-jp.md index 54b3959..e706a33 100644 --- a/content/notes/vim-jp.md +++ b/content/notes/vim-jp.md @@ -1,10 +1,9 @@ ---- -title: "You can type Hiragana and Katakana on vim" -date: 2021-04-19T17:58:51+07:00 -translationKey: vim-jp -categories: [software, guide] -tags: [vim, japanese, useless, hiragana, katakana] ---- ++++ +title = "You can type Hiragana and Katakana on vim" +date = 2021-04-19T17:58:51+07:00 +categories = ["software", "guide"] +tags = ["vim", "japanese", "useless", "hiragana", "katakana"] ++++ You can type Hiragana and Katakana on vim: Type Ctrl+K then type the glyph name in Romanji diff --git a/content/notes/vim-paste-command.md b/content/notes/vim-paste-command.md index 841d4be..d1da45f 100644 --- a/content/notes/vim-paste-command.md +++ b/content/notes/vim-paste-command.md @@ -1,10 +1,9 @@ ---- -title: "Paste command output into vim" -date: 2024-04-24 -translationKey: vim-paste-command -categories: [software, guide] -tags: [vim] ---- ++++ +title = "Paste command output into vim" +date = 2024-04-24 +categories = ["software", "guide"] +tags = ["vim"] ++++ To paste the command output into vim, type `:r!<command>`. For example, to paste current date in ISO 8601 into vim, I can type: diff --git a/content/notes/vim-paste-file.md b/content/notes/vim-paste-file.md index 5d4bbd1..f6d6ad2 100644 --- a/content/notes/vim-paste-file.md +++ b/content/notes/vim-paste-file.md @@ -1,9 +1,8 @@ ---- -title: "TIL: Paste filename in vim" -date: 2021-04-27T23:12:29+07:00 -translationKey: vim-paste-file -categories: [software, guide] -tags: [vim] ---- ++++ +title = "TIL: Paste filename in vim" +date = 2021-04-27T23:12:29+07:00 +categories = ["software", "guide"] +tags = ["vim"] ++++ To paste the current file's name into itself, type Ctrl+R then %. |