SSL (HTTPS) on your Development WebServer

It took me a while and finally found a working, but a bit ugly, solution. Not to bore you with the details, here are the step by step instruction on how to get HTTPS working on your development web server. Please note, this is not a good setup for live web servers, you will have to take security into account if you use this on a publicly available web server. Continue reading “SSL (HTTPS) on your Development WebServer”

Set-up an OpenVPN Server on your Mac

[22/05/2015: The content of this post is very very very out of date.]
[17/08/2020: Kext-deprecation note and comment added]

Due to deprecation of kernel extensions in MacOS (10.12 and newer) OpenVPN seems to be defunct on macOS (at least for private servers), please see my comment. I sincerely hope the TunnelBlick development team will take the time and effort to rebuild the client to use the new KPIs in macOS Big Sur, but latest response suggest they have no interest to do so :(


An OpenVPN Client is easy, just download Tunnelblick. But to connect to your own Mac or maybe a server you own or are the maintainer for at work, you will need an OpenVPN Server set-up. This is how you do it. Continue reading “Set-up an OpenVPN Server on your Mac”

Virtual Memory Configuration

A few command lines for managing the Virtual Memory on your Mac.

Please note; if you have a regular amount of memory, like 4 GB or 8 in recent models, you might want to consider NOT turning off Virtual Memory. But if you have ample RAM, give it a try, you will notice a big speed improvement. Why? Thats because Virtual Memory is ALWAYS used, even if you don’t really need it.

Continue reading “Virtual Memory Configuration”

Handy Shell Scripts – part II – manage_launchpad.sh

The second script I’d like to share is one to list or delete items from the OSX Lion launchpad. It’s a very basic script with semi-cryptic output, but it’s useable for the two or three times you’ll ever use it.

Have you looked at your launchpad? It probably has twenty or more items you would like removed, but, …., OSX doesn’t allow you to remove items. Luckily it’s just an SQLITE database and with a few carefully built SQL queries, we can cleanup duplicates and unwanted items.

Continue reading “Handy Shell Scripts – part II – manage_launchpad.sh”

Handy Shell Scripts – part I – svntag.sh

Everyone has ’em. Well, maybe not EVERYONE, but a good many of us, programmers do; those handy little scripts and one-liners that make our jobs a little easier.

The first I’d like to share is one I use daily about a dozen times; svntag.sh
Continue reading “Handy Shell Scripts – part I – svntag.sh”

How to activate FTP server on OSX

So, you’re running a development server on your OSX machine, ey?

No, how do you easily update your WordPress setup? Or install WordPress Plugins? You need FTP connectivity…

First you would check the ‘Sharing’ section in ‘System Preferences’ only to find FTP is not there. So you might think, OSX does not have an FTP server?

Continue reading “How to activate FTP server on OSX”

Confidental Infomation
stop spam mail