Archive for September, 2012

The default OsX terminal doesn’t come with a way to jump from word to word as you do with your standard linux bash. Well, turns out you can do that as well. Add to your ~/.inputrc the following lines “\e[5C”: forward-word “\e[5D”: backward-word Cf. http://superuser.com/questions/205470/why-doesnt-ctrl-arrow-work-in-bash-on-os-x

Categories: Uncategorized

Debugging web apps with XDebug is awesome, but what happens when you hit the shell? Turns out you can debug these insane shell scripts, yup. Copy some php.ini lines, add to your bash export XDEBUG_CONFIG=”idekey=netbeans-xdebug” Cf. http://stackoverflow.com/questions/2944880/debugging-php-cli-scripts-with-xdebug-and-netbeans

Categories: Uncategorized