So I have started working in xcode, and the first thing I was missing was some key bindings for duplicating a line up or down like eclipse does.
I took a while to figure out how to do it. So here’s an explanation. (I’m using xcode 3.2)
Make a duplicate of the xcode keybindings set in the xcode preferences: (i named mine patrick
Close xcode
You should be able to find the file xode created in
/Users/YOURUSERNAME/Library/Application Support/Xcode/Key Bindings
for me it is called Patrick.pbxkeys
Edit this file with the property editor.
From the view menu select :
Show Strings as Non-lossy ASCII
Save, and open up xcode
ctrl+shift+uparrow should now duplicate the current line upwards
ctrl+shift+downarrow should now duplicate the current line downwards
So I’m upgrading my MBP to 10.6.
Since this is my production machine I’m taking no chances.
I bought an external 7200rpm 2,5” HD and installed 10.6 onto this drive.
Once this installation is as stable as I would like it to be, I’ll be swapping the internal HD for this one (leaving me with a backup OS in case of emergencies).
So far all my apps seem to be running just fine.
I’ll be keeping a list here for all minor/major tweaks that were necessary to get everything running.
Enabling PHP and MYSQL
First of all edit /etc/apache2/httpd.conf and uncomment the following line
loadModule php5_module libexec/apache2/libphp5.so
Next install Mysql, get the latest version (now still says osx 10.5, but it will run!)
http://dev.mysql.com/downloads/mysql/5.1.html#macosx-dmg
copy php.ini.default to php.ini (don’t forget to make it writable first)
edit default_socket properties: I’m using pdo so I had to change the following line
pdo_mysql.default_socket=/var/mysql/mysql.sock
to
pdo_mysql.default_socket=/tmp/mysql.sock
edit the default timezone, i.e:
date.timezone = Europe/Amsterdam
edit some properties like upload size memory limit
start mysql , add at least one user since by default there’s only root without a password
(use sequel pro, It’s a nice opensource and free DB-tool)
now restart apache
sudo apachectl graceful
… you can now develop local php-sites
…..
more to come…..