Embracing the Messiness in Search of Epic Solutions

Category: Development Tools

  • Puppet: Installing Multiple Java Versions On Single Node

    PROBLEM I couldn’t find an existing Puppet module that allows me to install multiple Java versions on a single node. The reason for multiple Java versions is to allow Jenkins’s jobs to choose what Java version to compile with. So, I will show you how to create a Puppet module that will do just that. Read More…

  • Installing Puppet v3.2+ in Ubuntu

    PROBLEM By default, when using apt-get, Puppet v2.7 will be installed. This version doesn’t support useful features, such as Lambdas and iteration. To use these experimental features, Puppet v3.2+ is required. SOLUTION First, visit http://apt.puppetlabs.com/ and determine the matching Ubuntu version. Let’s assume we are using Ubuntu 13.04 (Raring Ringtail). So, we will choose http://apt.puppetlabs.com/puppetlabs-release-raring.deb Read More…

  • IntelliJ: Preventing Wildcard Imports

    PROBLEM I have been getting the following PMD warning that I can’t seem to suppress with PMD’s @SuppressWarnings The reason I’m getting this warning is because IntelliJ will automatically replace all single imports from the same package with a wildcard ‘*’ when the class count hits a certain limit. By using wildcard imports, it also Read More…

  • IntelliJ: Configuring SVN Ignored Files

    OVERVIEW Whenever we share a project in SVN or checks out a project from SVN, we have to perform a one-time configuration on the project to ignore selected files from being committed into SVN. That said, this configuration will only work if the files are not already in SVN. PROBLEM Let’s assume we have a Read More…

  • VirtualBox: Failed to delete the storage unit of the hard disk /PATH/HARD-DISK.vdi. Cannot close medium ‘/PATH/HARD-DISK.vdi’ because it has N child media.

    After upgrading to VirtualBox 4.3.2 r90405, I get this dreaded error message when running VirtualBox:- I was able to clone the offending VDI and boot from the cloned VDI without losing any data. The cloning process took about half hour. Now, when I try to remove the offending VDI under Virtual Media Manager, I get Read More…

  • Homebrew: “Invalid Multibyte Escape” Error

    PROBLEM When running brew on OS X Maverick, you get this error:- SOLUTION After upgrading to OS X Mavericks, the default version of Ruby is v2.0, causing Homebrew to break because it relies on v1.8. See issue #23655 for more information. To fix this, run the following command:- If you are getting the “Permission Denied” Read More…