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

Restrict a given network interface for a particular user using iptables on Linux

I assume that users A and B are using the same Linux machine(s) where you are the administrator. The following command will prevent the user with uid 1234 from sending packets on the interface eth0: # iptables -t mangle -A OUTPUT -o eth0 -m owner --uid-owner 1234 -j DROP Thanks to this StackExchange thread.

September 5, 2019 · 1 min · JC

Fix broken dependencies of a Debian package

Today a quick how-to about repackaging of a Debian package with broken dependencies. The context I use a package automatically built from a custom repo who is broken. It uses a mandatory broken dependency libssl1.0.0. This outdated package has been retired from Debian Stretch repositories. As this custom repository don’t provide package sources, I had to dig into this debian package to edit the control file, where package dependencies are defined....

June 19, 2019 · 1 min · JC

Installed packages from a specific repository

Today a quick command line to know installed packages from a specific repository. If you want to know all installed packages on your machine from download.virtualbox.org: for package in $(dpkg -l | awk '{print $2}'); do apt-cache madison $package | grep download.virtualbox.org; done Simple and easy ! Replace download.virtualbox.org with the repository you are searching for.

February 17, 2018 · 1 min · JC

Danse de salon et bal rétro: dans quel ordre enchaîner les séries de morceaux ?

Ce n’est pas un secret ni une recette magique et ça dépend un peu de la manière de faire de chacun. Traditionnellement, on ouvre la bal avec un paso-doble. Viennent ensuite tango, valse, cha-cha, rock, bolero. On commence toujours à peu près de cette manière. Après on recommence paso tango valse cha-cha, rock, bolero… MAIS : On ajuste ensuite en fonction du public et toujours en fonction du public et selon l’ambiance de l’après-midi ou soirée....

August 4, 2016 · 4 min · JC