Skip to content

Commit

Permalink
content: push new structure
Browse files Browse the repository at this point in the history
  • Loading branch information
maiste committed Sep 13, 2024
1 parent b022af2 commit e68bba7
Show file tree
Hide file tree
Showing 36 changed files with 255 additions and 50 deletions.
13 changes: 13 additions & 0 deletions content/wiki/_index.md
Original file line number Diff line number Diff line change
@@ -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!
48 changes: 27 additions & 21 deletions content/wiki/books/2022.md
Original file line number Diff line number Diff line change
Expand Up @@ -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_
Expand All @@ -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_






19 changes: 10 additions & 9 deletions content/wiki/books/2023.md
Original file line number Diff line number Diff line change
Expand Up @@ -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_


20 changes: 10 additions & 10 deletions content/wiki/books/2024.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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.
- _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_

9 changes: 9 additions & 0 deletions content/wiki/books/_index.md
Original file line number Diff line number Diff line change
@@ -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
9 changes: 9 additions & 0 deletions content/wiki/computer_science/_index.md
Original file line number Diff line number Diff line change
@@ -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!
9 changes: 9 additions & 0 deletions content/wiki/computer_science/database/_index.md
Original file line number Diff line number Diff line change
@@ -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.
13 changes: 13 additions & 0 deletions content/wiki/computer_science/database/sqlite.md
Original file line number Diff line number Diff line change
@@ -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)

9 changes: 9 additions & 0 deletions content/wiki/computer_science/devOps/_index.md
Original file line number Diff line number Diff line change
@@ -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?
File renamed without changes.
23 changes: 23 additions & 0 deletions content/wiki/computer_science/devOps/nix.md
Original file line number Diff line number Diff line change
@@ -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 <package list>
```

## Execute in a pure environment

This unset the environment variables

```sh
nix-shell --pure
```
9 changes: 9 additions & 0 deletions content/wiki/computer_science/languages/_index.md
Original file line number Diff line number Diff line change
@@ -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.
7 changes: 6 additions & 1 deletion content/wiki/computer_science/languages/css.md
Original file line number Diff line number Diff line change
Expand Up @@ -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/)
9 changes: 9 additions & 0 deletions content/wiki/computer_science/selfhost/_index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
---
title: Systems
description: Selfhosting and sysadmin
lang: ENG
---

## Note

Information about how to handle the systems under your control.
9 changes: 9 additions & 0 deletions content/wiki/computer_science/theory/_index.md
Original file line number Diff line number Diff line change
@@ -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.
File renamed without changes.
File renamed without changes.
9 changes: 9 additions & 0 deletions content/wiki/computer_science/tools/_index.md
Original file line number Diff line number Diff line change
@@ -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.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
42 changes: 33 additions & 9 deletions content/wiki/computer_science/tools/tar.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,54 +7,78 @@ lang: ENG
title: Tar
---

## Basics

## Create an archive
### Create an archive

```sh
tar cf <name>.tar [objs]
```

## Extract an archive
### Extract an archive

```sh
tar xf <name>.tar
```

### Activate verbose mode

```sh
tar v [cmd]
```

<hr />

## Create a gzip archive
## Use compression

### Create a gzip archive

```sh
tar czf <name>.tgz [objs]
```

## Extract a gzip archive
### Extract a gzip archive

```sh
tar xzf <name>.tgz
```

## Activate verbose mode
### Create an zstd archive

See [zsdt](computer_science/tools/zstd.md)

```sh
tar v [cmd]
tar --zstd cf <name>.tar.zst <files>
```

## Extract on flight an archive with http
### Extract a zstd archive

```sh
tar --zstd xf <name>.tar.zst
```


<hr />

## Pipe with other programs

### Extract on flight an archive with http

```sh
wget -c http[s]://host/path/to/file.tgz -O - | tar -xz
```

<hr />

## Encrypt tar with GPG
## GPG

### Encrypt tar with GPG

```sh
tar czpvf - <name> | gpg -c [--batch --yes --passphrase <password>] --cipher-algo aes256 -o <name>.gz.gpg
```

## Decrypt tar with GPG
### Decrypt tar with GPG

```sh
gpg -d [--batch --yes --passphrase azerty12] <tar file> | tar xzvf -
Expand Down
File renamed without changes.
30 changes: 30 additions & 0 deletions content/wiki/computer_science/tools/zstd.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
---
id: zstd
aliases: []
tags: []
description: Fast compression tool
lang: ENG
title: Zstd
---

## Compress

### Standard command

```sh
zstd <file>
```

### Compress with a higher level of compression

```zsh
zstd -<level between 1 and 19> <file>
```

## Decompress

### Standard command

```sh
zstd -d <file.zst>
```
Loading

0 comments on commit e68bba7

Please sign in to comment.