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”

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”

Confidental Infomation
stop spam mail