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”
So you want to install OSX Lion on an older (or maybe not even that old) Mac. I’d say, if your Mac is supported, just buy Lion (it’s only € 23,99). If you’re Mac isn’t supported, you can do this;
Continue reading “Installing OSX Lion on older Macs”
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”
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”
Oh my… Now they are so scared, all those websites are now …. -shivers- BLACK. I can see them running around like headless chicken… “Oh no. The black
Continue reading “January 18th, 2012… SOPA/PIPA protest day”
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”
[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”