Posts filed under “Snow Leopard 10.6”

Sending an email upon SVN-commit

When you work with a group of people on the same projects, the larger the group gets, the more difficult the task of keeping everybody informed. So why not do this automatically? Send an e-mail upon an SVN commit. Here’s how I do it.

Continue reading Sending an email upon SVN-commit

Development WebServer on OSX Lion – HomeBrew/MariaDB/PECL

Apache2 is already installed on any Mac and most setups (like MAMP or MacPorts) just ignore the built in Apache and install their own version. Shame. You wouldn’t ignore your own car just and get another one to pull a trailer while your own car can do the job perfectly.

Continue reading Development WebServer on OSX Lion – HomeBrew/MariaDB/PECL

MemCache – In-memory-caching in PHP

When building API-like applications in PHP, one issue will always remain; a high load will eventually slow down everything. To prevent over-loading, anyone will come to the conclusion a cache is needed. The most access calls should be served without recalculating anything to free up CPU-time.

Caching can be done on Disk, in a database (indirectly also Disk-caching), or directly in memory.

To setup MemCache and use this memory-caching-system, read on :)

Continue reading MemCache – In-memory-caching in PHP

Digitally sign and optionally encrypt your e-mail – also on your iPhone/iPad!

About ten years ago I was very into PGP-ing my mail. This was when I was in my Windows stage using The Bat! mail client. This stage luckily passed about 4 years ago, you can read about it here, in case you’re interested. After switching to Mac I went searching for an alternative and found a PGPmail plugin for Apple Mail, but I also found a better, Mail-native, way to sign and optionally encrypt e-mail using nothing more that Apple Mail and an S/MIME certificate. This is not very difficult and certainly not new, but for all intents and purposes, I will list the steps to take to generate, install and distribute your certificate. Furthermore, since the latest update of iOS, S/MIME is supported on your iPhone and iPad (and possibly iPod Touch, I cannot tell, I don’t own one), and I’ll tell you how to install the certificates on those devices as well.

Continue reading Digitally sign and optionally encrypt your e-mail – also on your iPhone/iPad!

Use BIND (named) to create a multi-VirtualHost configuration – no more VirtualHostX

It has been a while since I posted my guides for setting up a local development environment and how to add SSL to this set-up. This setup, among other things, required the use of a hostname-to-ip-management type of software. My choice was VirtualHostX.

Recent events have brought a new temporary colleague to our workforce and he brought in some fresh blood – so to speak (post in Dutch).

Today I have successfully eliminated the need for VirtualHostX – at least, in my development environment.

Continue reading Use BIND (named) to create a multi-VirtualHost configuration – no more VirtualHostX