Embracing the Messiness in Search of Epic Solutions

Tag: MacOS

  • Synology NAS: Running CrashPlan in Docker Container

    BACKGROUND The reason to run CrashPlan in Docker container is to prevent any future Synology’s DSM updates from breaking the CrashPlan app. Let’s assume the Synology NAS IP address is 1.2.3.4. STEPS Diskstation Manager Log into Diskstation Manager: http://1.2.3.4:5000 Install Docker. Mac SSH into Synology NAS. Install CrashPlan Docker container. Run CrashPlan Docker container. In… Read More…

  • OS X + Sed: “extra characters at the end of l command” Error

    PROBLEM When executing the following command on OS X… … the following error occurs:- SOLUTION Unlike Ubuntu, OS X requires the extension to be explicitly specified. The workaround is to set an empty string:- … and now, Megatron has transformed into a pony. Read More…

  • Mac OS X: Setting Default Java Version

    Let’s assume we have installed JDK 7 or JDK 8, and we want to set the default Java version. There are several ways to set default Java version. This is by far the easiest way without the need to look for the installed path or mess around with symlinks. First, let’s make sure we are… 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…

  • “tree” Command on Mac OS X

    So, I have been drawing the ASCII file structure tree by hand lately… and that is dumb and time consuming. After digging around, I found a great way to do so. First, if you don’t have Homebrew, install it first. Run the following command to install the tree command:- Now, you can run the following… Read More…

  • Configuring Remote UPS Shutdown on Mac OS X

    PROBLEM I have APC Smart-UPS SMT1500. It contains a SmartSlot that accepts a network management card that allows the UPS to be connected to the switch (or router) instead of plugging the USB cable from the UPS to a computer. That said, I also have APC AP9630 UPS Network Management Card 2. My goal is… Read More…