Show transfer percentage and speed when copying files in Linux and Bash As great as Linux/Bash is, sometimes I wish some of the built-in commands did a little bit more than the bare minimum. Of these the 'cp' command is something that I always thought should have had a way to show progress when copying files. There are many questions about this very thing on StackExchange like this one and this one. My preferred solution is to use 'rsync' but I'm also a big fan of simplifying things and can never remember all the various command line options required. So this post shows my little trick to enabling file copy speed and percentage display when copying files.
How to package your Java code as a native app on OSX into a DMG file I've come across a nice tool in the Java 8 SDK (Java 7 has it too, but it has a different name) that lets you package your Java application as a native app for a range of platforms. This tool is called javapackager and it makes distribution of you Java apps so much easier than previously and best of all, it's part of the JDK itself.
Simple JMeter counter example This is a simple example on how to create and use a counter inside JMeter. The counter can be set up so that it increments independently for each user i.e. thread, or it can be a global counter. The process to define either type of counter is almost identical.
Stop OS X tar from including hidden ._ files in archives I've noticed that when I use the OS X tar command that it adds a bunch of files that start with ._ to the archive. These files store extended file information and are useful on OS X, but on a system that does not understand them, they just add clutter.
MP150 and MP Navigator even less usable under OS X Yosemite I've written about the Canon MP150 printer/scanner no longer scanning out of the box under Mavericks. Back then the MP Navigator utility still let you use the scan features however, which extended the life of the device. Under Yosemite, the MP Navigator software is broken and is more or less unusable. There is a workaround, but it is ugly and produces terrible scan results.
Onyx for OS X Yosemite available Onyx, my favourite utility for OS X has been updated to work with OS X Yosemite. This utility lets you verify and clean your OS as well as tweak many settings that are otherwise not available to change. This is a must have for any serious OS X user.
Add a filter/search option to the OS X Terminal history command If you're like me and use the Terminal in OS X on a daily basis, you probably also use the 'history' command quite regularly too. Every time I use history I always pipe it through grep, so always, always end up typing 'history|grep blah', now isn't there an easier way? Well there is, and that's what the alias functionality is for.
Playing around with Gource on OS X A friend of mine showed me a video he made with Gource, so this got me interested in seeing how the two major repositories that I have been contributing for years now have evolved over time. So I decided to get this tool myself and give it a shot. It's amazing to see how a Subversion repository evolved over the life of a project and this is an awesome tool to help do just that.
Windows being resized when monitor goes to sleep on OS X Mavericks Ever since the upgrade to OS X Mavericks, I've been having issues with windows losing their positions and having their sizes changed when my external display goes to sleep. My setup is to have the rMPB running in clamshell mode with a Dell U2713HM monitor connected via a mini-DP to DP cable. This problem has been driving me nuts, but luckily I found a solution.
Adium Xtra: Minimal-Light service icon set Ever since I've switched to a Mac, I've been using Adium as the chat/IM app and have gone through a lot of Xtras to customise it. I could not find exactly what I wanted for the service icon set, so here it is, it's basically a light version of another icon set that's available already.
Converting a Xen raw disk image to VMware VMDK virtual disk on OSX Recently my Xen server has been retired and taken away for recycling, but the disk images that were running the VMs remained on the external drives that I've been using with it. I've needed to use one of these VMs, but with the Xen server gone I had no way other than to convert everything to VMware to run on my Mac. It took some time to do the disk image conversion (6 days for a 200Gb disk!), but it did get there in the end and the VM works perfectly off of my laptop now.