Helm cheatsheet

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....

<span title='2021-02-14 16:10:02 +0000 UTC'>February 14, 2021</span>&nbsp;·&nbsp;2 min&nbsp;·&nbsp;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....

<span title='2021-01-29 17:10:02 +0000 UTC'>January 29, 2021</span>&nbsp;·&nbsp;3 min&nbsp;·&nbsp;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....

<span title='2021-01-27 18:10:02 +0000 UTC'>January 27, 2021</span>&nbsp;·&nbsp;6 min&nbsp;·&nbsp;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....

<span title='2021-01-24 08:34:15 +0000 UTC'>January 24, 2021</span>&nbsp;·&nbsp;1 min&nbsp;·&nbsp;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 ....

<span title='2020-10-20 05:20:02 +0000 UTC'>October 20, 2020</span>&nbsp;·&nbsp;2 min&nbsp;·&nbsp;JC