diff options
Diffstat (limited to 'content/sw-notes')
-rw-r--r-- | content/sw-notes/_index.fr.md | 7 | ||||
-rw-r--r-- | content/sw-notes/_index.md | 8 | ||||
-rw-r--r-- | content/sw-notes/devtool-theme.md | 13 | ||||
-rw-r--r-- | content/sw-notes/ffmpeg-cut-video.md | 14 | ||||
-rw-r--r-- | content/sw-notes/ffmpeg-remove-audio.md | 9 | ||||
-rw-r--r-- | content/sw-notes/insert-unicode.md | 16 | ||||
-rw-r--r-- | content/sw-notes/json-output-format.fr.md | 13 | ||||
-rw-r--r-- | content/sw-notes/json-output-format.md | 16 | ||||
-rw-r--r-- | content/sw-notes/keepassxc-enable-desktop-integration.md | 10 | ||||
-rw-r--r-- | content/sw-notes/nheko-plain-creds.md | 18 | ||||
-rw-r--r-- | content/sw-notes/regex-unicode.md | 15 | ||||
-rw-r--r-- | content/sw-notes/socks-proxy.md | 34 | ||||
-rw-r--r-- | content/sw-notes/vim-jp.fr.md | 15 | ||||
-rw-r--r-- | content/sw-notes/vim-jp.md | 15 | ||||
-rw-r--r-- | content/sw-notes/vim-paste-command.md | 11 | ||||
-rw-r--r-- | content/sw-notes/vim-paste-file.md | 9 |
16 files changed, 0 insertions, 223 deletions
diff --git a/content/sw-notes/_index.fr.md b/content/sw-notes/_index.fr.md deleted file mode 100644 index d7b0783..0000000 --- a/content/sw-notes/_index.fr.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -title: Notes d'usage des logiciels ---- - -Lire l'instruction pour utiliser un programme, ce n'est pas toujours simple. -Parfois les pas sont très simples, mais les rechercher ça prend du temps et se -souvenir d'eux, c'est trop fatiguant. Alors, je les note ici. diff --git a/content/sw-notes/_index.md b/content/sw-notes/_index.md deleted file mode 100644 index 717b351..0000000 --- a/content/sw-notes/_index.md +++ /dev/null @@ -1,8 +0,0 @@ ---- -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 -here. Notes that are longer than a few lines are collected in the main blog -instead. diff --git a/content/sw-notes/devtool-theme.md b/content/sw-notes/devtool-theme.md deleted file mode 100644 index 603ec1b..0000000 --- a/content/sw-notes/devtool-theme.md +++ /dev/null @@ -1,13 +0,0 @@ ---- -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 -developers when they want to design a system-based theme switch. - - - diff --git a/content/sw-notes/ffmpeg-cut-video.md b/content/sw-notes/ffmpeg-cut-video.md deleted file mode 100644 index fb95f08..0000000 --- a/content/sw-notes/ffmpeg-cut-video.md +++ /dev/null @@ -1,14 +0,0 @@ ---- -title: "How to cut videos with ffmpeg" -date: 2024-04-24 -translationKey: ffmpeg-cut-video -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: - -```sh -ffmpeg -i in.mp4 -ss 00:00:02 -to 00:00:14 out.mp4 -``` diff --git a/content/sw-notes/ffmpeg-remove-audio.md b/content/sw-notes/ffmpeg-remove-audio.md deleted file mode 100644 index f4c33f9..0000000 --- a/content/sw-notes/ffmpeg-remove-audio.md +++ /dev/null @@ -1,9 +0,0 @@ ---- -title: "How to remove audio from videos with ffmpeg" -date: 2024-04-24 -translationKey: ffmpeg-remove-audio -categories: [software, guide] -tags: [ffmpeg] ---- - -To remove audio from video, pass `-an` flag to the command. diff --git a/content/sw-notes/insert-unicode.md b/content/sw-notes/insert-unicode.md deleted file mode 100644 index c897fc3..0000000 --- a/content/sw-notes/insert-unicode.md +++ /dev/null @@ -1,16 +0,0 @@ ---- -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" ---- - -Today I learned how to insert unicode in Vim. It's simple: - -In insert mode, type <kbd>Ctrl+V</kbd>, then type <kbd>u</kbd>, then type the -hex unicode. - -You can also type character like escape (shown as `^[`) or carriage return -(shown as `^M`) by typing <kbd>Esc</kbd> or <kbd>Enter</kbd> respectively. diff --git a/content/sw-notes/json-output-format.fr.md b/content/sw-notes/json-output-format.fr.md deleted file mode 100644 index 798f0c9..0000000 --- a/content/sw-notes/json-output-format.fr.md +++ /dev/null @@ -1,13 +0,0 @@ ---- -title: "Comment imprinter du JSON avec des couleurs avec jq" -date: 2021-04-27T17:06:51+07:00 -translationKey: json-output-format -categories: [software, guide] -tags: [jq, less, bash, cli, json] ---- - -On peut formatter du JSON avec des couleurs avec `jq` et le lire avec `less`: - -```bash -<command> | jq -C | less -r -``` diff --git a/content/sw-notes/json-output-format.md b/content/sw-notes/json-output-format.md deleted file mode 100644 index e22cfbf..0000000 --- a/content/sw-notes/json-output-format.md +++ /dev/null @@ -1,16 +0,0 @@ ---- -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] ---- - -TIL: Syntax-highlighted JSON output - -If you have some command that return (long) JSON, you can view it formatted -with color with: - -```bash -<command> | jq -C | less -r -``` diff --git a/content/sw-notes/keepassxc-enable-desktop-integration.md b/content/sw-notes/keepassxc-enable-desktop-integration.md deleted file mode 100644 index 01dc532..0000000 --- a/content/sw-notes/keepassxc-enable-desktop-integration.md +++ /dev/null @@ -1,10 +0,0 @@ ---- -title: "KeepassXC: how to enable desktop integration" -date: 2024-04-24 -translationKey: keepassxc-desktop-integration -categories: [software, guide] -tags: [keepassxc] ---- - -Go to Setting > Secret Service Integration > Enable KeepassXC Freedesktop.org -Secret Service integration. diff --git a/content/sw-notes/nheko-plain-creds.md b/content/sw-notes/nheko-plain-creds.md deleted file mode 100644 index da331bd..0000000 --- a/content/sw-notes/nheko-plain-creds.md +++ /dev/null @@ -1,18 +0,0 @@ ---- -title: "Storing nheko credentials as plain text" -date: 2024-04-24 -translationKey: nheko-plain-creds -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 -use them, in which case you'd want to disable that. - -To do this, edit `.config/nheko/nheko.conf` and add the config: - -```ini -[General] -run_without_secure_secrets_service=true -``` diff --git a/content/sw-notes/regex-unicode.md b/content/sw-notes/regex-unicode.md deleted file mode 100644 index 97c28b8..0000000 --- a/content/sw-notes/regex-unicode.md +++ /dev/null @@ -1,15 +0,0 @@ ---- -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] ---- - -Today I learned how to match [unicode in RegEx][regex-unicode]. - -For example, unicode-encoded letters (that is, any letters from any language) -can be matched with `\p{L}`. View [an example on RegEx 101][example] - -[regex-unicode]: https://www.regular-expressions.info/unicode.html -[example]: https://regex101.com/r/N602FX/1 diff --git a/content/sw-notes/socks-proxy.md b/content/sw-notes/socks-proxy.md deleted file mode 100644 index c1accf0..0000000 --- a/content/sw-notes/socks-proxy.md +++ /dev/null @@ -1,34 +0,0 @@ ---- -title: "SOCKS Proxy via SSH" -date: 2023-06-05 -lang: en -categories: [software, guide] -tags: [tips, guide, "SOCKS proxy"] -translationKey: "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 -blocking. - -If you have a remote server that you can <abbr>SSH</abbr> to, setting up a -SOCKS connection is dead simple: - -```sh -ssh -D [port] [host] -``` - -where `[host]` is the host name you specified in the <abbr>SSH</abbr> config -file. - -How to get your software to direct its connection through this proxy depends on -the program. For example, in Firefox, you have to go to the setting and set it -in the network settings---use your server's address and the port you used -earlier. In Chromium and similar forks, add -`--proxy-server="socks5://host:port"` to the parameter in the command line. -Read more on the instruction for [Firefox][guide-fox] and -[Chromium][guide-chrom] on their respective websites. - -[socks]: https://www.rfc-editor.org/rfc/rfc1928 -[guide-fox]: https://support.mozilla.org/en-US/kb/connection-settings-firefox -[guide-chrom]: https://www.chromium.org/developers/design-documents/network-stack/socks-proxy/ diff --git a/content/sw-notes/vim-jp.fr.md b/content/sw-notes/vim-jp.fr.md deleted file mode 100644 index d48aa79..0000000 --- a/content/sw-notes/vim-jp.fr.md +++ /dev/null @@ -1,15 +0,0 @@ ---- -title: "Écrire le japonais avec vim" -date: 2021-04-19T17:58:51+07:00 -translationKey: vim-jp -categories: [software, guide] -tags: [vim, japanese, useless, hiragana, katakana] ---- - -On peut écrire du Hiragana and Katakana avec vim: -Appuyer Ctrl+K puis écrire le nom du glyph en Romanji: - -- Hiragana: ^Kna → な -- Katakana: ^KNa → ナ - -Les autres caractères: <http://vimdoc.sourceforge.net/htmldoc/digraph.html#digraph-table> diff --git a/content/sw-notes/vim-jp.md b/content/sw-notes/vim-jp.md deleted file mode 100644 index 54b3959..0000000 --- a/content/sw-notes/vim-jp.md +++ /dev/null @@ -1,15 +0,0 @@ ---- -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] ---- - -You can type Hiragana and Katakana on vim: -Type Ctrl+K then type the glyph name in Romanji - -- Hiragana: ^Kna → な -- Katakana: ^KNa → ナ - -Full list: <http://vimdoc.sourceforge.net/htmldoc/digraph.html#digraph-table> diff --git a/content/sw-notes/vim-paste-command.md b/content/sw-notes/vim-paste-command.md deleted file mode 100644 index 841d4be..0000000 --- a/content/sw-notes/vim-paste-command.md +++ /dev/null @@ -1,11 +0,0 @@ ---- -title: "Paste command output into vim" -date: 2024-04-24 -translationKey: vim-paste-command -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: -`r!date -I`. diff --git a/content/sw-notes/vim-paste-file.md b/content/sw-notes/vim-paste-file.md deleted file mode 100644 index 5d4bbd1..0000000 --- a/content/sw-notes/vim-paste-file.md +++ /dev/null @@ -1,9 +0,0 @@ ---- -title: "TIL: Paste filename in vim" -date: 2021-04-27T23:12:29+07:00 -translationKey: vim-paste-file -categories: [software, guide] -tags: [vim] ---- - -To paste the current file's name into itself, type Ctrl+R then %. |