Set recursive permissions on only files or directories

Changing permissions can be tricky, because either way, permissions are on of the corner stones of security. It could be that you want to change permissions recursively on all folders, but not on files, and vice versa. Unfortunately, a lot of people don’t take that into account. So here’s a quick tip on how to achieve … Continue reading Set recursive permissions on only files or directories

Time Machine & Network Drive – SNOW LEOPARD UPDATE

Small update on the TimeMachine & Network Drive setup. Since I have a new MacPro, I wanted to enable TimeMachine on it. Note that this install is a fresh Snow Leopard installation, and that my MacBook is a Leopard. I took the steps as I discribed them myself, but it seemed that TM was still … Continue reading Time Machine & Network Drive – SNOW LEOPARD UPDATE

Snow Leopard Apache vhosts

Ok, while setting up my working environment, I had to define vhosts for the sites/applications I’m working on. So here is how I configured Apache. sudo vi +/’# Virtual hosts’ /etc/apache2/httpd.conf This text will open the httpd.conf file and set the cursor at the first line where he encounters the string # Virtual hosts. Now, … Continue reading Snow Leopard Apache vhosts

Enable syntax highlighting in Mac OSX Snow Leopard

One of the main reasons I switched to Mac was the fact that the user interface is polished and I still maintain the power and freedom I find Linux. But one downside in Mac Terminal is that there is no standard syntax highlighting. So here is some info how I got to enable some basic … Continue reading Enable syntax highlighting in Mac OSX Snow Leopard

Installing MySQL on Snow Leopard

Just got my new MacPro this weekend. After installing my common applications, I had to install my development tools as well. These are the instructions to install MySQL 64-bit version on OS X Snow Leopard. First of all, note that we are going to install MySQL compiling from source. So make sure you have installed … Continue reading Installing MySQL on Snow Leopard