Convert RAW partition to VDI image with VirtualBox on OS X

Posted by: gdelmatto  :  Category: OS X, VirtualBox

Some time ago, I set up a multi-boot environment on my Mac, where I could use my BootCamp-Partition for both booting Windows natively on the Mac as well as virtualized from within VirtualBox.

Now, I wanted to create a clone of the RAW partition to do some testing.
Read more…

36 Hours of OS X “Lion”: A Review

Posted by: gdelmatto  :  Category: Operating Systems, OS X

So OS X “Lion” is out now for over 36 hours. It’s time for a review of the minor troubles and glitches I had with it so far.
Read more…

Serve files quickly using built-in python Web-Server in OS X

Posted by: gdelmatto  :  Category: Networking, OS X

Mac OS X (since 10.5) sports a python environment in it’s default install, which includes a very simple HTTP server.
This may come in handy if you want to serve some files quickly over HTTP, without the need to fireup the full-blown Apache available through ‘Web Sharing Service’.
Don’t believe me? Read on to see how you’ll be up in running in just a few seconds.
Read more…

Enable LCD backlight permanently on QNAP TS-459 II

Posted by: admin  :  Category: Networking, Operating Systems

So you got one of these QNAP TS-459 II NAS boxes and want the fancy LCD being permantly backlit?
Here’s how to do it…
Read more…

Fixing “Cannot find autoconf” error while building PHP extension from a FreeBSD port

Posted by: gdelmatto  :  Category: FreeBSD, Operating Systems, PHP

Today I had to add the PHP ‘bcmath’ extension to my FreeBSD host.
Actually, that’s a fairly easy one-liner:

[root@localhost ~]# cd /usr/ports/math/php5-bcmath && make clean install

However, I ended up with a crude error message:

Cannot find autoconf. Please check your autoconf installation and the
$PHP_AUTOCONF environment variable. Then, rerun this script.

Bummer! So let’s see how to fix this.
Read more…

World IPv6 Day and how to connect FreeBSD through a Teredo Tunnel

Posted by: gdelmatto  :  Category: FreeBSD, IPv6, Networking

It has finally arrived, the World IPv6 Day!

So you don’t have native IPv6 network access? No problem, just use a Teredo Tunnel to get connected.
Here’s a very short primer on doing so on FreeBSD.
Read more…

Refining application shortcut for shared BootCamp / VirtualBox Windows VM

Posted by: admin  :  Category: OS X, VirtualBox, Virtualization

Here’s a follow-up to my previous posts on sharing Windows 7 in BootCamp and VirtualBox and launching a VirtualBox VM directly through an icon shortcut.

Concerning this topic I was asked if it’s possible to have the BootCamp partition only umounted upon startup of the Windows VM.
Read more…

CUPS PDF Printer for OS X

Posted by: gdelmatto  :  Category: OS X, Utilities

Yes, I know, OS X has already a “print to pdf” feature. This does however not work for those applications which don’t use the OS X native printing dialog, e.g. some Java apps.

This is where CUPS-PDF kicks in. It adds a virtual printer to the system, thus enabling non-native applications to print to a PDF as well.

Mission accomplished!

Setting up Redmine on FreeBSD

Posted by: admin  :  Category: FreeBSD, HowTo's, Programming, Utilities

“Redmine is a flexible project management web application. Written using Ruby on Rails framework, it is cross-platform and cross-database.” (

Here’s my short primer on setting up Redmine on FreeBSD.
Read more…

Mac OS HFS+ case-insensitivenesss screws SVN

Posted by: admin  :  Category: OS X, Programming, Utilities

So I work on OS X for a few years now, but until today that I didn’t really care about the underlying HFS+ file system.
But while working on a project using SVN, I got this unexpected error message:

gianpaolo-del-mattos-macbook-pro:trunk Gianpaolo$ svn update
svn: URL 'svn+ssh://...../webinterface/files/lib/webmin' of existing directory '...../webinterface/files/lib/Webmin' does not match expected URL 'svn+ssh://..../webinterface/files/lib/Webmin'

Read more…