Install / build docker squash on OS X to reduce docker image size
Recently while I was trying to install a Docker related app called docker-squash on OSX El Capitan. For those who are not familiar with the utility; docker squash is a nice utility that reduces the size of docker images by removing the layers However when…
Jaspersoft Studio OSX jdk 8/7 not starting
Recently I downloaded Jaspersoft studio on my Mac OSX but I was having trouble laughing the app as the system kept telling me I needed the older runtime version of Java, as you can see from the screenshot below (sorry in french) Luckily this is…
HSQLDB Query log – Output SQL statements to log file
It’s sometimes useful (especially for debbuging) to be able to see all the SQL statements that the database runs Lots of RDBMS have this very useful feature (MySQL for example calls it query log) The HSQLDB is one of those and it can be accomplished…
Content disposition duplicate headers solution for google chrome
Recently I had a problem while serving dynamic content in a Spring MVC application; (more details here) when attempting to open some of the dynamic content with Chrome I was having a weird error message : Duplicate headers received from server The response from the…
Spring mvc send binary content from controller
Sometimes binary files such as images, documents are stored in the database; these binary files need then to be served dynamically Below I’ll show a code snippet showing how to handle this easily with Spring MVC Before we begin just in case this is the…