diff options
-rw-r--r-- | content/_index.fr.md | 1 | ||||
-rw-r--r-- | content/_index.md | 1 | ||||
-rw-r--r-- | content/til/_index.fr.md | 8 | ||||
-rw-r--r-- | content/til/_index.md | 7 | ||||
-rw-r--r-- | content/til/css-exfil.md | 10 | ||||
-rw-r--r-- | content/til/json-output-format.fr.md | 12 | ||||
-rw-r--r-- | content/til/json-output-format.md | 15 | ||||
-rw-r--r-- | content/til/vim-jp.fr.md | 14 | ||||
-rw-r--r-- | content/til/vim-jp.md | 14 | ||||
-rw-r--r-- | content/til/vim-paste-file.md | 8 |
10 files changed, 90 insertions, 0 deletions
diff --git a/content/_index.fr.md b/content/_index.fr.md new file mode 100644 index 0000000..a7f431b --- /dev/null +++ b/content/_index.fr.md @@ -0,0 +1 @@ +Voyez les autres sections de ma site diff --git a/content/_index.md b/content/_index.md new file mode 100644 index 0000000..82e0d67 --- /dev/null +++ b/content/_index.md @@ -0,0 +1 @@ +Take a look at other sections of my site: diff --git a/content/til/_index.fr.md b/content/til/_index.fr.md new file mode 100644 index 0000000..04e890b --- /dev/null +++ b/content/til/_index.fr.md @@ -0,0 +1,8 @@ +--- +title: AJA +translationKey: til +--- + +(Aujourd'hui J'ai Appris...) + +Voici les choses duquel j'apprends tous les jours. diff --git a/content/til/_index.md b/content/til/_index.md new file mode 100644 index 0000000..8808ccd --- /dev/null +++ b/content/til/_index.md @@ -0,0 +1,7 @@ +--- +title: TIL +lang: en +translationKey: til +--- + +These are lists of small tricks or fun trivia I learned. diff --git a/content/til/css-exfil.md b/content/til/css-exfil.md new file mode 100644 index 0000000..8cb09a4 --- /dev/null +++ b/content/til/css-exfil.md @@ -0,0 +1,10 @@ +--- +title: "TIL: CSS can steal your data" +date: 2021-02-06T23:06:51+07:00 +translationKey: css-exfil +tags: [css, exfil, vulnerability, security] +--- + +The vulnerability is called [CSS Exfil][exfil]. + +[exfil]: https://www.mike-gualtieri.com/posts/stealing-data-with-css-attack-and-defense diff --git a/content/til/json-output-format.fr.md b/content/til/json-output-format.fr.md new file mode 100644 index 0000000..ae77803 --- /dev/null +++ b/content/til/json-output-format.fr.md @@ -0,0 +1,12 @@ +--- +title: "AJA comment imprinter du JSON avec des couleurs" +date: 2021-04-27T17:06:51+07:00 +translationKey: json-output-format +tags: [bash, cli, json, trick] +--- + +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/til/json-output-format.md b/content/til/json-output-format.md new file mode 100644 index 0000000..5bbc153 --- /dev/null +++ b/content/til/json-output-format.md @@ -0,0 +1,15 @@ +--- +title: "TIL: Formatting JSON Output" +date: 2021-04-27T17:06:51+07:00 +translationKey: json-output-format +tags: [bash, cli, json, trick] +--- + +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/til/vim-jp.fr.md b/content/til/vim-jp.fr.md new file mode 100644 index 0000000..ecbadec --- /dev/null +++ b/content/til/vim-jp.fr.md @@ -0,0 +1,14 @@ +--- +title: "AJA que on peut écrire le japonais avec vim" +date: 2021-04-19T17:58:51+07:00 +translationKey: json-output-format +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/til/vim-jp.md b/content/til/vim-jp.md new file mode 100644 index 0000000..033611c --- /dev/null +++ b/content/til/vim-jp.md @@ -0,0 +1,14 @@ +--- +title: "TIL: You can type Hiragana and Katakana on vim" +date: 2021-04-19T17:58:51+07:00 +translationKey: json-output-format +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/til/vim-paste-file.md b/content/til/vim-paste-file.md new file mode 100644 index 0000000..712085e --- /dev/null +++ b/content/til/vim-paste-file.md @@ -0,0 +1,8 @@ +--- +title: "TIL: Paste filename in vim" +date: 2021-04-27T23:12:29+07:00 +translationKey: vim-paste-file +tags: [vim, trick] +--- + +To paste the current file's name into itself, type Ctrl+R then %. |