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”

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”

Adding MCRYPT to your OSX based PHP server setup

[UPDATE]: Updated for OSX 10.10 Yosemite [/UPDATE]

In my attempts to run phpMyAdmin on my development Mac I found this tutorial but, alas, it didn’t work. It resulted in numerous errors (like this one: lipo: can’t figure out the architecture type of: /var/folders/v6/nrfc_5hn12g91vzw8vff44m00000gn/T//cchRI7wl.out) and, as you guessed, the mcrypt extension did not work.

Continue reading “Adding MCRYPT to your OSX based PHP server setup”

Development WebServer on OSX Lion

So you found yourself in need of a development server (or maybe a regular production server) on your Mac… Well, good for you, because your mac can do it all. I found myself in need of it as well and wanted a stable Apache2/PHP5/MySQL installation with the PHP SVN PECL module installed. (because I want to fool around with our SVN server :) )

I can tell you 4 ways of getting a real, life ‘n kickin’, web server on OSX. Continue reading “Development WebServer on OSX Lion”

How to activate Find-My-Mac – the hard way…

I found myself in a situation where I wanted to upgrade my Macbook Pro to OSX 10.7 Lion, but unable to do so due to a malfunctioning Firewire controller. This defect prevents the installer to boot and therefore, an upgrade was not possible. This also meant I couldn’t have the Recovery HD and the features it enables (like performing maintenance tasks without booting the complete OS). It also prevented me from using Find My Mac. Continue reading “How to activate Find-My-Mac – the hard way…”