From e68bba7643fb81d6f51a42466487156c1f797c12 Mon Sep 17 00:00:00 2001 From: Etienne Marais Date: Fri, 13 Sep 2024 19:24:55 +0200 Subject: [PATCH] content: push new structure --- content/wiki/_index.md | 13 +++++ content/wiki/books/2022.md | 48 +++++++++++-------- content/wiki/books/2023.md | 19 ++++---- content/wiki/books/2024.md | 20 ++++---- content/wiki/books/_index.md | 9 ++++ content/wiki/computer_science/_index.md | 9 ++++ .../wiki/computer_science/database/_index.md | 9 ++++ .../wiki/computer_science/database/sqlite.md | 13 +++++ .../wiki/computer_science/devOps/_index.md | 9 ++++ .../computer_science/{dev => devOps}/kube.md | 0 content/wiki/computer_science/devOps/nix.md | 23 +++++++++ .../wiki/computer_science/languages/_index.md | 9 ++++ .../wiki/computer_science/languages/css.md | 7 ++- .../{dev => languages}/flutter.md | 0 .../wiki/computer_science/selfhost/_index.md | 9 ++++ .../wiki/computer_science/theory/_index.md | 9 ++++ .../{learning => theory}/functional.md | 0 .../{learning => theory}/good_practice.md | 0 .../{learning => theory}/links.md | 0 .../{learning => theory}/maths.md | 0 .../{learning => theory}/note_taking.md | 0 .../{learning => theory}/os.md | 0 .../{learning => theory}/papers.md | 0 .../{learning => theory}/rest.md | 0 .../{learning => theory}/web.md | 0 content/wiki/computer_science/tools/_index.md | 9 ++++ .../computer_science/{dev => tools}/ack.md | 0 .../computer_science/{dev => tools}/git.md | 0 .../computer_science/{dev => tools}/gpg.md | 0 .../computer_science/{dev => tools}/neovim.md | 0 .../{dev => tools}/ripgrep.md | 0 content/wiki/computer_science/tools/tar.md | 42 ++++++++++++---- .../computer_science/{dev => tools}/zsh.md | 0 content/wiki/computer_science/tools/zstd.md | 30 ++++++++++++ content/wiki/cooking/_index.md | 9 ++++ content/wiki/humans/_index.md | 9 ++++ 36 files changed, 255 insertions(+), 50 deletions(-) create mode 100644 content/wiki/_index.md create mode 100644 content/wiki/books/_index.md create mode 100644 content/wiki/computer_science/_index.md create mode 100644 content/wiki/computer_science/database/_index.md create mode 100644 content/wiki/computer_science/database/sqlite.md create mode 100644 content/wiki/computer_science/devOps/_index.md rename content/wiki/computer_science/{dev => devOps}/kube.md (100%) create mode 100644 content/wiki/computer_science/devOps/nix.md create mode 100644 content/wiki/computer_science/languages/_index.md rename content/wiki/computer_science/{dev => languages}/flutter.md (100%) create mode 100644 content/wiki/computer_science/selfhost/_index.md create mode 100644 content/wiki/computer_science/theory/_index.md rename content/wiki/computer_science/{learning => theory}/functional.md (100%) rename content/wiki/computer_science/{learning => theory}/good_practice.md (100%) rename content/wiki/computer_science/{learning => theory}/links.md (100%) rename content/wiki/computer_science/{learning => theory}/maths.md (100%) rename content/wiki/computer_science/{learning => theory}/note_taking.md (100%) rename content/wiki/computer_science/{learning => theory}/os.md (100%) rename content/wiki/computer_science/{learning => theory}/papers.md (100%) rename content/wiki/computer_science/{learning => theory}/rest.md (100%) rename content/wiki/computer_science/{learning => theory}/web.md (100%) create mode 100644 content/wiki/computer_science/tools/_index.md rename content/wiki/computer_science/{dev => tools}/ack.md (100%) rename content/wiki/computer_science/{dev => tools}/git.md (100%) rename content/wiki/computer_science/{dev => tools}/gpg.md (100%) rename content/wiki/computer_science/{dev => tools}/neovim.md (100%) rename content/wiki/computer_science/{dev => tools}/ripgrep.md (100%) rename content/wiki/computer_science/{dev => tools}/zsh.md (100%) create mode 100644 content/wiki/computer_science/tools/zstd.md create mode 100644 content/wiki/cooking/_index.md create mode 100644 content/wiki/humans/_index.md diff --git a/content/wiki/_index.md b/content/wiki/_index.md new file mode 100644 index 0000000..140f063 --- /dev/null +++ b/content/wiki/_index.md @@ -0,0 +1,13 @@ +--- +title: Wiki +lang: ENG +--- + +## Note + +It is my knowledge database. Here I store all the public notes I have about +everything. As I strongly believe in [Open +Knowledge](https://en.wikipedia.org/wiki/Open_knowledge), I want them to be as +open as possible. However, use them at your own risks, I can't certify it is +the truth. If you find a typo, an error or anything wrong, feel free to open an +issue! diff --git a/content/wiki/books/2022.md b/content/wiki/books/2022.md index e17adfa..45fb4fe 100644 --- a/content/wiki/books/2022.md +++ b/content/wiki/books/2022.md @@ -6,6 +6,27 @@ description: The books I have read in 2022 lang: FR title: "2022" --- +## Décembre +- Permaculture : Le Guide Pour Bien Débuter, _Annie Lagueyrie_ +## Novembre +- The Manager Path, _Camille Fournier_ +## Septembre +- Permaculture, le livre pour bien debuter, _Annie Lagueyrie_ +## Juin +- Un rien peut tout changer, _James Clear_ +## Mai +- La parole est un sport de combat, _Bertrand Périer_ +## Avril +- Une histoire de l'écologie politique, _Arthur Nazaret_ +- Défaire le discours sexiste dans les médias, _Rose Lamy_ +- Le Sorceleur, Livre III, Le sang des Elfes, _Andrzej Sapkowski_ +- Comme un empire dans un empire, _Alice Zeniter_ +## Mars +- Petit Manuel de Résistance Contemporaine, _Cyril Dion_ +- L'art d'avoir toujours raison, _Arthur Schopenhauer_ +## Février +- Comment j'ai arrêté de manger les animaux, _Hugo Clément_ +- Les guerres nous attendent 2030-2060, _Red Team_ ## Janvier - Grimpow, l'élu des Templiers, _Rafael Abalos_ - Intuitio, _Laurent Gounelle_ @@ -15,30 +36,15 @@ title: "2022" - Deception Point, _Dan Brown_ - Les âmes croisées, _Pierre Bottero_ -## Février -- Comment j'ai arrêté de manger les animaux, _Hugo Clément_ -- Les guerres nous attendent 2030-2060, _Red Team_ -## Mars -- Petit Manuel de Résistance Contemporaine, _Cyril Dion_ -- L'art d'avoir toujours raison, _Arthur Schopenhauer_ -## Avril -- Une histoire de l'écologie politique, _Arthur Nazaret_ -- Défaire le discours sexiste dans les médias, _Rose Lamy_ -- Le Sorceleur, Livre III, Le sang des Elfes, _Andrzej Sapkowski_ -- Comme un empire dans un empire, _Alice Zeniter_ -## Mai -- La parole est un sport de combat, _Bertrand Périer_ -## Juin -- Un rien peut tout changer, _James Clear_ -## Septembre -- Permaculture, le livre pour bien debuter, _Annie Lagueyrie_ -## Novembre -- The Manager Path, _Camille Fournier_ -## Decembre -- Permaculture : Le Guide Pour Bien Débuter, _Annie Lagueyrie_ + + + + + + diff --git a/content/wiki/books/2023.md b/content/wiki/books/2023.md index d7762b6..048c84e 100644 --- a/content/wiki/books/2023.md +++ b/content/wiki/books/2023.md @@ -6,15 +6,16 @@ description: The books I have read in 2023 lang: FR title: "2023" --- - -## Janvier -- Le pendule de Foucault, _Umberto Eco_ -## Mars -- La prophétie des abeilles, _Bernard Werber_ +## Décembre +- La plus secrète mémoire des hommes, _Mohamed Mbougar Sarr_ +## Août +- Où va l'argent des pauvres, _Denis Colombi_ ## Avril - Le Guide du Jeune Engagé pour la planète, _Ihab Bourara_ - Code, 2nd Edition, _Charles Petzold_ -## Août -- Où va l'argent des pauvres, _Denis Colombi_ -## Décembre -- La plus secrète mémoire des hommes, _Mohamed Mbougar Sarr_ +## Mars +- La prophétie des abeilles, _Bernard Werber_ +## Janvier +- Le pendule de Foucault, _Umberto Eco_ + + diff --git a/content/wiki/books/2024.md b/content/wiki/books/2024.md index de2fc10..a0594ac 100644 --- a/content/wiki/books/2024.md +++ b/content/wiki/books/2024.md @@ -6,15 +6,6 @@ description: The books I have read in 2024 lang: FR title: "2024" --- - -## Mars -- La diagonale des reines, _Bernard Werber_ -- Apprendre vite et bien, _Barbara Oakley_ et _Olac Schewe_ -## Mai -- La promesse de l'aube, _Romain Gary_ -- Les 5 blessures qui empêchent d'être soi-même, _Lise Bourbeau_ -## Août -- Quand la peur gouverne tout, _Carine Azzopardi_ ## Septembre - Remote: Office Not Required, _David Heinemeir & Jason Fried_ - Bien définir l'espace de travail @@ -24,4 +15,13 @@ title: "2024" - Mettre la messagerie instantanée en mode "Away" - Pour que ça fonctionne il faut une communication bien huilée ! - _Avantages du remote work_: moins de distractions, jugement sur le travail et non la présence, plus productif, accord entre le fonctionnement personnel et la gestion du temps. - - _Desavantages du remote work_: risque de burnout plus élevé si mauvaise séparation, séparation professionnelle / personnelle peut être complexe, risque de solitudes. \ No newline at end of file + - _Desavantages du remote work_: risque de burnout plus élevé si mauvaise séparation, séparation professionnelle / personnelle peut être complexe, risque de solitudes. +## Août +- Quand la peur gouverne tout, _Carine Azzopardi_ +## Mai +- La promesse de l'aube, _Romain Gary_ +- Les 5 blessures qui empêchent d'être soi-même, _Lise Bourbeau_ +## Mars +- La diagonale des reines, _Bernard Werber_ +- Apprendre vite et bien, _Barbara Oakley_ et _Olac Schewe_ + diff --git a/content/wiki/books/_index.md b/content/wiki/books/_index.md new file mode 100644 index 0000000..00586d4 --- /dev/null +++ b/content/wiki/books/_index.md @@ -0,0 +1,9 @@ +--- +title: Books +description: All about the books I have and I will read +lang: ENG +--- + +## Note + +Here, you can find an inventory about the books I have read and a list about the books I might read at some point. In the new iterations, I try to add a summary about the content of the book I want to retain if it is the cause. Sometimes, the reading is just about curiosity. We all live with our biases and I try to read from differ diff --git a/content/wiki/computer_science/_index.md b/content/wiki/computer_science/_index.md new file mode 100644 index 0000000..79251a6 --- /dev/null +++ b/content/wiki/computer_science/_index.md @@ -0,0 +1,9 @@ +--- +title: Computer Science +description: First class citizen as I work in it +lang: ENG +--- + +## Organisation + +This part is really messy. I don't really know how to organise this. I will definitely spend some time to fix this, but it's not at the top of my TODO list. Feel free to explore. Who knows, you might find something interesting! diff --git a/content/wiki/computer_science/database/_index.md b/content/wiki/computer_science/database/_index.md new file mode 100644 index 0000000..f5e487b --- /dev/null +++ b/content/wiki/computer_science/database/_index.md @@ -0,0 +1,9 @@ +--- +title: Database +description: The title is self explanatory +lang: ENG +--- + +## Note + +Where I look when I don't remember how to store stuff, and the syntax to do so. \ No newline at end of file diff --git a/content/wiki/computer_science/database/sqlite.md b/content/wiki/computer_science/database/sqlite.md new file mode 100644 index 0000000..99a6d7e --- /dev/null +++ b/content/wiki/computer_science/database/sqlite.md @@ -0,0 +1,13 @@ +--- +id: sqlite +aliases: [] +tags: [] +description: In file SQL database +lang: ENG +title: SQLite +--- + +## References + +- [SQLite Language](https://www.sqlite.org/lang.html) + diff --git a/content/wiki/computer_science/devOps/_index.md b/content/wiki/computer_science/devOps/_index.md new file mode 100644 index 0000000..167f8c9 --- /dev/null +++ b/content/wiki/computer_science/devOps/_index.md @@ -0,0 +1,9 @@ +--- +title: DevOps +description: How to be an efficient operative person +lang: ENG +--- + +## Note + +This is a field I'm currently curious about. How to deploy efficiently and in the least costly possible manner? \ No newline at end of file diff --git a/content/wiki/computer_science/dev/kube.md b/content/wiki/computer_science/devOps/kube.md similarity index 100% rename from content/wiki/computer_science/dev/kube.md rename to content/wiki/computer_science/devOps/kube.md diff --git a/content/wiki/computer_science/devOps/nix.md b/content/wiki/computer_science/devOps/nix.md new file mode 100644 index 0000000..27d3fe7 --- /dev/null +++ b/content/wiki/computer_science/devOps/nix.md @@ -0,0 +1,23 @@ +--- +id: nix +aliases: [] +tags: [] +description: Reproducible builds. +lang: ENG +title: Nix +--- +## Nix-shell + +### Specify the wanted packages + +```sh +nix-shell -p +``` + +## Execute in a pure environment + +This unset the environment variables + +```sh +nix-shell --pure +``` \ No newline at end of file diff --git a/content/wiki/computer_science/languages/_index.md b/content/wiki/computer_science/languages/_index.md new file mode 100644 index 0000000..45eca2d --- /dev/null +++ b/content/wiki/computer_science/languages/_index.md @@ -0,0 +1,9 @@ +--- +title: Languages +description: Programming languages +lang: ENG +--- + +## Note + +This part is dirty but I fill it regularly when I learn a new language (and I like to do so!). So, do not take to much time on the details, it's not worth it. \ No newline at end of file diff --git a/content/wiki/computer_science/languages/css.md b/content/wiki/computer_science/languages/css.md index 6ad7f2f..8abd42c 100644 --- a/content/wiki/computer_science/languages/css.md +++ b/content/wiki/computer_science/languages/css.md @@ -76,7 +76,12 @@ A way to organize items in Css as grids } ``` -# Resources + +## Memo + +- _"In CSS, margin and padding are TRouBLE"_: `padding|margin: top right bottom left` + +## Resources * [Defensive CSS](https://ishadeed.com/article/defensive-css/): protect yourself against bad CSS behaviour * [Visual Design Rules](https://anthonyhobday.com/sideprojects/saferules/) diff --git a/content/wiki/computer_science/dev/flutter.md b/content/wiki/computer_science/languages/flutter.md similarity index 100% rename from content/wiki/computer_science/dev/flutter.md rename to content/wiki/computer_science/languages/flutter.md diff --git a/content/wiki/computer_science/selfhost/_index.md b/content/wiki/computer_science/selfhost/_index.md new file mode 100644 index 0000000..ded5e44 --- /dev/null +++ b/content/wiki/computer_science/selfhost/_index.md @@ -0,0 +1,9 @@ +--- +title: Systems +description: Selfhosting and sysadmin +lang: ENG +--- + +## Note + +Information about how to handle the systems under your control. \ No newline at end of file diff --git a/content/wiki/computer_science/theory/_index.md b/content/wiki/computer_science/theory/_index.md new file mode 100644 index 0000000..2de18ea --- /dev/null +++ b/content/wiki/computer_science/theory/_index.md @@ -0,0 +1,9 @@ +--- +title: Theory +description: The basics +lang: ENG +--- + +## Notes + +This section is a mix of theories, principles and papers about programming and being a good Software engineer. It's my way to becoming better at it. \ No newline at end of file diff --git a/content/wiki/computer_science/learning/functional.md b/content/wiki/computer_science/theory/functional.md similarity index 100% rename from content/wiki/computer_science/learning/functional.md rename to content/wiki/computer_science/theory/functional.md diff --git a/content/wiki/computer_science/learning/good_practice.md b/content/wiki/computer_science/theory/good_practice.md similarity index 100% rename from content/wiki/computer_science/learning/good_practice.md rename to content/wiki/computer_science/theory/good_practice.md diff --git a/content/wiki/computer_science/learning/links.md b/content/wiki/computer_science/theory/links.md similarity index 100% rename from content/wiki/computer_science/learning/links.md rename to content/wiki/computer_science/theory/links.md diff --git a/content/wiki/computer_science/learning/maths.md b/content/wiki/computer_science/theory/maths.md similarity index 100% rename from content/wiki/computer_science/learning/maths.md rename to content/wiki/computer_science/theory/maths.md diff --git a/content/wiki/computer_science/learning/note_taking.md b/content/wiki/computer_science/theory/note_taking.md similarity index 100% rename from content/wiki/computer_science/learning/note_taking.md rename to content/wiki/computer_science/theory/note_taking.md diff --git a/content/wiki/computer_science/learning/os.md b/content/wiki/computer_science/theory/os.md similarity index 100% rename from content/wiki/computer_science/learning/os.md rename to content/wiki/computer_science/theory/os.md diff --git a/content/wiki/computer_science/learning/papers.md b/content/wiki/computer_science/theory/papers.md similarity index 100% rename from content/wiki/computer_science/learning/papers.md rename to content/wiki/computer_science/theory/papers.md diff --git a/content/wiki/computer_science/learning/rest.md b/content/wiki/computer_science/theory/rest.md similarity index 100% rename from content/wiki/computer_science/learning/rest.md rename to content/wiki/computer_science/theory/rest.md diff --git a/content/wiki/computer_science/learning/web.md b/content/wiki/computer_science/theory/web.md similarity index 100% rename from content/wiki/computer_science/learning/web.md rename to content/wiki/computer_science/theory/web.md diff --git a/content/wiki/computer_science/tools/_index.md b/content/wiki/computer_science/tools/_index.md new file mode 100644 index 0000000..cd3fa4f --- /dev/null +++ b/content/wiki/computer_science/tools/_index.md @@ -0,0 +1,9 @@ +--- +title: Tooling +description: All about the tools I might use +lang: ENG +--- + +## Note + +It's a mix of the tools I use in my daily day life but also the one I have used in the past. That's OK, I can keep the information. I add a deprecated field at the top if they are not maintained anymore. \ No newline at end of file diff --git a/content/wiki/computer_science/dev/ack.md b/content/wiki/computer_science/tools/ack.md similarity index 100% rename from content/wiki/computer_science/dev/ack.md rename to content/wiki/computer_science/tools/ack.md diff --git a/content/wiki/computer_science/dev/git.md b/content/wiki/computer_science/tools/git.md similarity index 100% rename from content/wiki/computer_science/dev/git.md rename to content/wiki/computer_science/tools/git.md diff --git a/content/wiki/computer_science/dev/gpg.md b/content/wiki/computer_science/tools/gpg.md similarity index 100% rename from content/wiki/computer_science/dev/gpg.md rename to content/wiki/computer_science/tools/gpg.md diff --git a/content/wiki/computer_science/dev/neovim.md b/content/wiki/computer_science/tools/neovim.md similarity index 100% rename from content/wiki/computer_science/dev/neovim.md rename to content/wiki/computer_science/tools/neovim.md diff --git a/content/wiki/computer_science/dev/ripgrep.md b/content/wiki/computer_science/tools/ripgrep.md similarity index 100% rename from content/wiki/computer_science/dev/ripgrep.md rename to content/wiki/computer_science/tools/ripgrep.md diff --git a/content/wiki/computer_science/tools/tar.md b/content/wiki/computer_science/tools/tar.md index 919426f..54580d4 100644 --- a/content/wiki/computer_science/tools/tar.md +++ b/content/wiki/computer_science/tools/tar.md @@ -7,40 +7,62 @@ lang: ENG title: Tar --- +## Basics -## Create an archive +### Create an archive ```sh tar cf .tar [objs] ``` -## Extract an archive +### Extract an archive ```sh tar xf .tar ``` +### Activate verbose mode + +```sh + tar v [cmd] +``` +
-## Create a gzip archive +## Use compression + +### Create a gzip archive ```sh tar czf .tgz [objs] ``` -## Extract a gzip archive +### Extract a gzip archive ```sh tar xzf .tgz ``` -## Activate verbose mode +### Create an zstd archive + +See [zsdt](computer_science/tools/zstd.md) ```sh - tar v [cmd] +tar --zstd cf .tar.zst ``` -## Extract on flight an archive with http +### Extract a zstd archive + +```sh +tar --zstd xf .tar.zst +``` + + +
+ +## Pipe with other programs + +### Extract on flight an archive with http ```sh wget -c http[s]://host/path/to/file.tgz -O - | tar -xz @@ -48,13 +70,15 @@ title: Tar
-## Encrypt tar with GPG +## GPG + +### Encrypt tar with GPG ```sh tar czpvf - | gpg -c [--batch --yes --passphrase ] --cipher-algo aes256 -o .gz.gpg ``` -## Decrypt tar with GPG +### Decrypt tar with GPG ```sh gpg -d [--batch --yes --passphrase azerty12] | tar xzvf - diff --git a/content/wiki/computer_science/dev/zsh.md b/content/wiki/computer_science/tools/zsh.md similarity index 100% rename from content/wiki/computer_science/dev/zsh.md rename to content/wiki/computer_science/tools/zsh.md diff --git a/content/wiki/computer_science/tools/zstd.md b/content/wiki/computer_science/tools/zstd.md new file mode 100644 index 0000000..3eab087 --- /dev/null +++ b/content/wiki/computer_science/tools/zstd.md @@ -0,0 +1,30 @@ +--- +id: zstd +aliases: [] +tags: [] +description: Fast compression tool +lang: ENG +title: Zstd +--- + +## Compress + +### Standard command + +```sh +zstd +``` + +### Compress with a higher level of compression + +```zsh +zstd - +``` + +## Decompress + +### Standard command + +```sh +zstd -d +``` diff --git a/content/wiki/cooking/_index.md b/content/wiki/cooking/_index.md new file mode 100644 index 0000000..aa39fd5 --- /dev/null +++ b/content/wiki/cooking/_index.md @@ -0,0 +1,9 @@ +--- +title: Cooking +description: Because eating is life +lang: ENG +--- + +## Note + +It's a bit poor here. In the future, I will upload some recipes I cook regularly. \ No newline at end of file diff --git a/content/wiki/humans/_index.md b/content/wiki/humans/_index.md new file mode 100644 index 0000000..d43add0 --- /dev/null +++ b/content/wiki/humans/_index.md @@ -0,0 +1,9 @@ +--- +title: Humans +description: Messy information about human life +lang: ENG +--- + +## Note + +The title can be ambiguous but it's things about organization, common life, etc. \ No newline at end of file