A dev’s MacBook from scratch

I’ve been a long time Apple user. I hate a lot about the company’s policy and how they treat their power users, but I love the tight integration between their software and hardware. Another thing to love is their migration tools. You buy new hardware, you click Restore from backup and you are done. Safari even opens up the tabs…

Plone 4 dev on Lion

Introduction Recently I upgraded to OS X Lion and here are my notes on how I got my working environment working. XCode First things first, you need to setup build tools (gcc, make and the like). On OS X these come as a part of XCode. Even if you had XCode installed on Snow Leaopard before upgrading to Lion, do…

Multiple configurations for Tunnelblick

A while ago I wrote about configuring Tunnelblick OpenVPN client for OS X. Here is how you can have multiple OpenVPN configurations with TunnelBlick: 1. Open ~/Library/Application\ Support/Tunnelblick/Configurations/ with Finder. 2. Rename openvpn.conf to openvpn-location-a.conf. 3. Duplicate openvpn-location-a.conf and rename the duplicate to openvpn-location-b.conf. 4. Open both of these configurations and change values such as server IP, etc. 5. Restart Tunnelblick. This should be it. Now…

Finding bad blocks on USB flash drives

After a recent thorough cleaning of my office desk I found a handful of USB sticks. I knew some of them were more or less broken and some should be OK. But which are whic The solution that first came to mind was to scan USB drives for corrupted sectors / bad blocks. After some Googling around and reading through…

Secure IM for internal communication

During this summer we finally got some time to review our internal working processes. One thing clearly missing was a solid IM solution for quick communication when working remotely. After trying out several different approaches we decided to use the old and well-proven one: IRC. Very important feature we were looking for was secure communication. Domen mentioned something about FISH,…

DD-WRT + Tunnelblick = OpenVPN

Debating about VPNs on the Sauna Sprint, sprinters convinced me that we should use VPN for remote access to our internal services in our office. And for an extra layer of security when using public networks. So here it goes. Certificates I didn't want to install openssl and openvpn on my Macbook just so I could generate access certificates. Luckily,…

OS X specific .cfg for collective.xdv

The collective.xdv manual on plone.org tells you how to customize your buildout.cfg in order to be able to run collective.xdv on OS X. However if you are working in a team of developers where not everyone is using OS X, it's nice to have your specific buildout hacks in a separate osx.cfg file. Below is an OS X specific osx.cfg…