Mac

Oct 30 12:08

Installer Vim 7.3 sur Mac 10.6 (snow leopard)

C'est très simple. Il suffit d'installer macvim via homebrew et de faire un lien.

brew install macvim
ln -s /usr/local/bin/mvim /usr/local/bin/vim

Voilà maintenant vous pouvez profiter du plugin http://sjl.bitbucket.org/gundo.vim :)

Oct 04 18:40

M-audio Fast Track Pro: no sound after sleep on Mac OSX (fixed)

m-audio fast track pro sound card doesn't support sleep mode on my MacBook Pro... You will end up with no sound every resume, forced to restart. Shame to Avid.

Sep 27 2010

Forget MAMP: Install Apache + PHP5.2 + MySQL5 with macports

I need a fast web server on my Mac and MAMP is definitely to slow with Drupal and big database.

Finlay, I tried to use macport. It's just works, web pages load super fast and no more need to start MAMP and give my password...

Jun 10 2010

Switch graphics modes on MacBook Pro without logout

GfxCardStatus is a simple menu bar application than allow you to switch the active graphic card of your MacBook Pro without logout.

It works with 9400M to 9600M GT or Intel HD to 330M. It takes ~1s to switch and all applications stay exactly in the same state.

Thanks to Cody to fix MacOSX.

Mar 16 2010

Debug PHP code with Netbeans and MAMP

Netbeans (my favorite IDE) provides a sexy toolbar to debug your PHP scripts.

But with MAMP, after setting up a PHP project, the debug feature doesn't really work... (your browser runs but Nebeans doesn't stop on breakpoint)

Mar 14 2010

Debuguer du PHP avec Netbeans et MAMP

Netbeans (mon IDE favoris) à une jolie barre d'outils permettant de débuguer du code PHP.

Mar 11 2010

PHP dans le terminal avec mamp en ligne de commande

Il m'arrive de devoir lancer des scripts PHP dans le Terminal de Mac OSX. Malheureusement, si l'on lance:

$ php mon_script.php

On utilise alors PHP livré avec le système... ce qui pose parfois des problèmes (versions, extensions non présentes, etc..).