Author Archives: ocroquette2

Deleting outdated Teamcity builds using the REST interface

The cleanup rules of Teamcity are pretty limited. For instance, if you keep the N last builds on the default branch, it will also keep so many builds on all other branches, which is a problem in case there is … Continue reading

Posted in Uncategorized | Leave a comment

Accept Outlook invitations automatically with custom response

I often need to accept invitations and set the corresponding event as private. This is very cumbersome in Outlook, therefore I wrote the following macro to do it for me: To call it easily, put it in the Quick Access … Continue reading

Posted in Uncategorized | Leave a comment

Posting HTML to WordPress.com

Posting HTML in a post on wordpress.com is still a nightmare, here is the recipe that will hopefully help me next time I need it: Switch to HTML mode Add [code language="html"] Encode your HTML code to replace HTML special characters … Continue reading

Posted in Uncategorized | Leave a comment

Converting RSS to HTML

Firefox unfortunately removed the support for RSS in the version 64. I am relying on RSS for multiple web pages I visit regularly, so I looked for alternatives. I was not convinced by the available Firefox plugins, they were either … Continue reading

Posted in Uncategorized | Leave a comment

Compiling QT 5.2 with MinGW 7.x

As usual, building QT brought its load of challenges, here is what you need to know when building QT 5.2 with MinGW 7.x. 1. make sure you extract the source code and build it in relatively short path, for instance … Continue reading

Posted in C/C++ | Leave a comment

MinGW/GCC: error: stdlib.h: No such file or directory in include_next

A common error with MinGW or GCC is the following: This is typically due to the fact that something messed up the system include path with -isystem. Specifying again some paths changes the search order, so that #include_next doesn’t find … Continue reading

Posted in C/C++, Uncategorized | Leave a comment

Building 32bit applications with mingw-w64 and CMake

The mingw-w64 provides ready-to-use packages with GCC for Windows. The toolchain is by default targeting the 64bit Windows architecture. It is possible to build 32bit binaries by using the -m32 option on the command line. The toolchain can be easily … Continue reading

Posted in C/C++ | Leave a comment

Building protobuf with MinGW

Even if the documentation of the project doesn’t mention it, building protobuf with MinGW is easy when using CMake. The CMakeLists.txt is located in the “cmake” subdirectory. I used following versions: MinGW 7.2.0 (64 bit) CMake 3.12.1 Protobuf 3.6.1 Two … Continue reading

Posted in C/C++ | Leave a comment

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:  

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