Hello ! I’m Xavier Jouvenot and in this small post, we are going to see how to exclude an executable from getting shimming in a Chocolatey package.

Self promotion: You can find other articles on my website 😉

Problematic

When creating or interacting with Chocolatey packages, you may end up in a situation where the program installed via Chocolatey either does display nor finish its process. This can be very inconvenient, as the program does do what you ask it to do 😝

The problem comes from Chocolatey feature “ EXECUTABLE SHIMMING”, which doesn’t always is well set and then, do…


Hello ! I’m Xavier Jouvenot and in this small post, we are going to see how to handle user variable in a shell/bash script.

Self promotion: You can find other articles on my website 😉

Problematic

When creating some shell scripts, you may want to have some parameters accessible to the user, so that he could either pass some inputs to your script, or specify some elements for which you will have set some default value.

There are several ways to do it, but we are going to see the simplest and most powerful solution to me. …


Hello ! I’m Xavier Jouvenot and in this small post, we are going to see how to handle user variable in a Makefile.

Self promotion: You can find other articles on my website 😉

Problematic

When creating some make commands in your Makefile, you may want to have some parameters accessible to the user, so that he could either pass some inputs to your command, or specify some elements for which you will have set some default value.

There are several ways to do it, but we are going to see the simplest and most powerful solution to me. …


Hello! I’m Xavier Jouvenot and in this small post, we are going to see how easily and quickly can you specify arguments for your program in C++.

Self promotion: You can find other articles on my website 😉

Problematic

All programs don’t have a graphical user interface, and even those whom have one can also be called using a shell/bash/batch command in the Terminal of you choice. …


Hello ! I’m Xavier Jouvenot and in this small post, we are going to see how to factorize and create reusable processes with Azure Pipelines.

Self promotion: You can find other articles on my website 😉

Problematic

When creating some processes on Azure Pipelines, you may want to simplify it like you do with code when using functions. …


I’m Xavier Jouvenot and in this small post, we are going to see how to deal with several gcc version on your machine.

Self promotion: You can find other articles on my website 😉

Problematic

When working on several projects, or even on one project, you may need to use different versions of a same program. Indeed, for some programs or libraries, you may want to support several version of a program and be able to test it on your machine.

This problem can be even more of a preoccupation if you maintain a library as you may want for your…


Hello ! I’m Xavier Jouvenot and in this small post, we are going to see how to update the same line in the Terminal.

Self promotion: You can find other articles on my website 😉

Problematic

When displaying information in the terminal with your program, you can easily end up spamming it with so much information that no human can understand what is happening. Moreover, you can also fill the history buffer, so that the useful information is lost if a user want to come back and look at what happened.

To reduce the amount of information displayed in the terminal…


Hello ! I’m Xavier Jouvenot and in this small post, we are going to see how to factorize layer code in Android development.

Self promotion: You can find other articles on my website 😉

Problematic

When developing an application, you may have some Activities, looking a lot alike, and this can, and will lead to a lot of duplicated layout description, or at least with layouts that are very similar from one Activity to the other.

Wouldn’t be great if we had a way to factorize such layout to make it easily reusable, like we factorize code into functions ?

Well…


Hello ! I’m Xavier Jouvenot and in this small post, we are going to see how to open a new Activity in a Android App.

Self promotion: You can find other articles on my website 😉

Problematic

An activity is a single, focused thing that the user can do.

This quote from the Activity class documentation summarise well what is the purpose of one activity. Since an Activity is”a single and focused thing”, and the majority of applications allows us to do several focused things, a question raised itself: how to go from one Activity to another ? …


Hello! I’m Xavier Jouvenot and in this small post, we are going to see how to easily and quickly read/play an audio file in C++.

Self promotion: You can find other articles on my website 😉

Problematic

In C++, there are sadly some operations that require a lot of boilerplate code to do some simple operations. Playing a audio file is on of those operation that can be difficult to do natively in C++, whereas in some other language such as Python or Javascript.

But the more the C++ language goes forward with its new releases and the more the C++…

Xavier Jouvenot

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store