Author Archives: ocroquette2

Groovy: cloning nodes in an XML document

It’s pretty easy to clone nodes in a XML document using Groovy once XmlParser is used instead of XmlSlurper: The result is:   Advertisements

Posted in Uncategorized | Leave a comment

Apache: undefined symbol: ap_proxy_location_reverse_map

If you get the following error when starting Apache: …then make sure that mod_proxy is enabled, and that it is loaded BEFORE mod_proxy_http. Apache doesn’t support dependency management of modules, so they have to be enabled in the appropriate order. … Continue reading

Posted in Linux | Leave a comment

VMWare Fusion: the path “” is not valid path to the gcc binary.

A common error installing the VMWare tools in a Ubuntu guest is: In some cases, like when using an older version of Fusion with newer version of Ubuntu, an easy workaround is to use the opensource version of the VMWare … Continue reading

Posted in Uncategorized | Leave a comment

PHP not working in Apache virtual hosts

I just had the situation where PHP worked fine from the default/main site configured in Apache, but not in a virtual host. Instead of parsing/executing the PHP script, Apache would rather send its source code back to the browser, which … Continue reading

Posted in Uncategorized | Leave a comment

Uploading a file with HTTP PUT in Groovy with Basic Auth

Dependencies: Code:

Posted in Uncategorized | Leave a comment

Gerrit: robust regular expression to create links from text automatically (commentlink)

When there is a link to a bug tracking ticket in a commit message, and Gerrit is already be configured to make automatically links out of ticket numbers, it results in a mess. There is a bug report about this … Continue reading

Posted in Uncategorized | Leave a comment

Notepad++: automatic configuration of tabs vs. spaces

Notepad++ is a great text editor with lots of features out of the box, but I miss particularly one: the ability to use automatically tabs or spaces for indentation according to the content of an existing file when opening it. … Continue reading

Posted in Uncategorized | 1 Comment

Configuring Apache to serve multiple domains with a single SSL certificate

Here are some notes on how to configure Apache to server multiple domains with a single SSL certificate. If using a single certificate is not an option, you will have to use SNI, which is not covered in this howto. … Continue reading

Posted in Linux | Leave a comment

Msys2/pacman: list dependencies with versions

Here is a one-liner to list all the dependencies for an Msys2 package, or for any pacman based system for that matter: Note: on my system, it works only for installed packages, even using the “-s” option: I don’t know … Continue reading

Posted in Uncategorized | Leave a comment

Getting BLN to work with CyanogenMod / LineageOS

“Backlight Notification” is a great feature of some Android Linux kernels, that allows to use the backlight of the “Menu” and “Back” buttons to signal pending notifications for phones that don’t have a dedicated notification LED. There is an app … Continue reading

Posted in Android | 9 Comments