swisstech.net

tech and photography

A quick guide on how to resize a VirtualBox disk image (.vdi) and then use gparted to resize the partition within the virtual machine.

A simple Ruby function for Capistrano that improves the readability of the output by aligning the hostnames in the log.

A post that debunks the myth that saving a JPEG multiple times at 100% quality does not degrade the image, with a script to demonstrate the quality loss.

A comprehensive guide on how to generate Java sources from a WSDL file using WSDLToJava within a Gradle build, including a workaround for handling erroneous exit codes from the tool.

An explanation of the difference between configuration time and execution time in Gradle tasks, and how to use doLast or << to ensure code is executed at the correct time.