Memo Helm

helm is a kind of apt-get for kubernetes. As tiller poses a potential security threat, we will focus here on helm v3, the current stable release. With helm v2, you had to install tiller component in the kube-system namespace of your cluster, then have to add a RBAC account, as explained here. Ressources: https://helm.sh https://v3.helm.sh https://helm.sh/docs/using_helm/ https://v3.helm.sh/docs/intro/quickstart/ Installation Just download from Github Helm Releases and put the helm binary in one of your PATH’s folder....

February 14, 2021 · 1 min · JC

Backup android app, data included, no root needed, with adb

adb is the Android CLI tool with which you can interact with your android device, from your PC You must enable developer mode (tap 7 times on the build version in parameters) and install adb on your PC. Fetch application APK To get the list of your installed applications: adb shell pm list packages -f -3 If you want to fetch all apk of your installed apps: for APP in $(adb shell pm list packages -3 -f) do adb pull $( echo ${APP} | sed "s/^package://" | sed "s/base....

January 29, 2021 · 3 min · JC

BackupPC Howto

BackupPC Installation BackupPC is a backup software written in perl. It is packaged on all modern Linux distros, to install it on Debian family: # apt-get install backuppc That’s all. How it works ? BackupPC is a set it then forget it backup software. Backups are performed by backuppc user through ssh and rsync BackupPC doesn’t perform backups at fixed hours, but checks periodically with ping command if a host is alive or not....

January 27, 2021 · 6 min · JC

Lorsque dos2unix ne fonctionne pas...

Je me sers de dos2unix pour remplacer le caractère ^M que l’on retrouve partout dans un fichier texte édité sous Windows. Il peut arriver parfois que ça ne fonctionne pas, j’utilise alors ce workaround: # remove ^M character, dos2unix is propably not installed so workaround tr -d $'\r' < ${FILE} > seq_tmp mv seq_tmp ${FILE} rm seq_tmp Si ça ne fonctionne toujours pas, sed à la rescousse: sed -i 's/'"$(printf '\015')"'/\n/g' vilain_fichier....

January 24, 2021 · 1 min · JC

Le juste prix

Un client m’a demandé combien ça coûtait de faire du carrelage 1500 € Si cher pour ce boulot ? Combien pensez vous que ça vous coûterait ? 800 € maximum… -Pour 800 € je vous invite à le faire vous-même. -Mais…. je ne sais pas le faire. -Pour 800 € je vous apprendrais à le faire. Donc, vous économisez 700 €, -il accepte -Mais pour commencer : vous avez besoin d’outils ....

October 20, 2020 · 2 min · JC