OS X: Lion file auto-lock feature DISABLE

Today I’ve opened a rarely used file on my computer. And got the weirdest message in ages: ”file is locked because you haven’t made any changes to it recently”. After a quick search I became apparent Apple has a new feature to auto-lock files.
How to disable the feature

Goto the System Preference menu;
Click the Time Machine settings menu;
Click the [...]

OS X: Lion slow network after suspension FIX

My MacBook pro with Os X Lion is very slow when coming out off suspension.
I’ve got a new Apple MacBook pro with Os X Lion last week. After the upgrade i’ve noticed a problem after suspension (sleep/ wakeup) with the internet connection. Compared with my older Apple MacBook pro (early 2008) with Snow Leopard, internet [...]

Chrome Update Server not available (error: 11)

How to fix the Google Chrome “update server not available (error: 11)” problem.

sudo rm -r /Library/Google
sudo rm -r ~/Library/Google

I suppose it’s a versioning problem, there are still old config (plist) files present on the system. By removing these, and others, Chrome can reconnect to the proper server again.
Note: I’m just using the Chrome product of [...]

VM convert VMware to VirtualBox

A typical VMware Virtual Machine stores data in “.vmwarevm” containers. These are directories with .vmdk images. To convert them to the VirtualBox, KVM image format the container needs to be flattened first.
Flatten vmdk

vmware-vdiskmanager -r source.vmwarevm/source.vmdk -t 0 flat.vmdk

Convert
Convert your flat image to another format.
Convert VMDK to Qemu

qemu-img convert flat.vmdk -O qcow2 target.qemu

VMDK to VDI

qemu-img convert flat.vmdk -O [...]

cURL C vs. PHP implementation TLSv1

I’m in the process of implementing a datamanagement protocol (CDMI). And am using cURL libraries in both C/C++, and PHP. Both server, and in C written client rely on encrypted communication via TLSv1, which comes with openssl on many platforms. To make things easy cURL was used on the client side.
Recently i’ve started work on [...]