Table of Contents

CECI EST UN BORDEL, NOTES PRISES A l'ARRACHE

si vous y trouvez votre bonheur, chapeau bas !

Convertir des .aax (format des audiobooks audible) en .mp3 (sur archlinux) :

1) installer aaxtomp3

https://github.com/KrumpetPirate/AAXtoMP3

installer les dépendances :

2) installer le package qui permet d'obtenir le code d'authentification audible pour pouvoir faire la conversion (merci à audible de nous compliquer la tâche)

https://github.com/mkb79/audible-cli?tab=readme-ov-file

Maintenant que l'on a de quoi convertir aaxtomp3 et notre activation-bytes, on dans le dossier où se trouve le .axx à covertir et on lance :

AAXtoMP3 -e:m4b -A activation-bytes -d audiobook.aax
OU BIEN
bash AAXtoMP3 -e:m4b -A activation-bytes -d audiobook.aax

Attention : mettre le code activation-bytes comme tel (sans guillemets).

fail2ban :

whitelist

check les ip bannies et debannir si besoin:

On check les jail name :

sudo fail2ban-client status

On regarde les ip bannies pour un jail name

sudo fail2ban-client status <jail-name>

Pour debannir :

sudo fail2ban-client set <jail-name> unbanip <IP address>

Commandes utiles VIM

Put your cursor on the first # character, press CtrlV (or CtrlQ for gVim), and go down until the last commented line and press x, that will delete all the # characters vertically.

  First, go to the first line you want to comment, press CtrlV. This will put the editor in the VISUAL BLOCK mode.
  Then using the arrow key and select until the last line
  Now press ShiftI, which will put the editor in INSERT mode and then press #. This will add a hash to the first line.
  Then press Esc (give it a second), and it will insert a # character on all other selected lines.