PHP

Habari Project impressions

I have to admit that i jumped over to using Habari for my blog mainly based on how well designed and obejct oriented the underlying API seemed from the documentation. Coming from looking at Drupal code all day, which is painfully NOT Object Oriented, yes with capitals, the code is more readable and, so far, …

Habari Project impressions Read More »

Useful SVN one-liner

Add it to your aliases, this one liner adds all unrecognized files in the current directory (preceded by ? in svn status) to a svn project. svn st | grep ‘^?’ | cut -d ‘ ‘ -f 7 | xargs svn add

Tip: Disable Drupal performance settings

On development, testing, and staging site you normally don’t want Drupal’s caching, and javascript/css aggregation features enabled.  Drop the following into your sites settings.php file to override these settings.  // disable performance caching$conf[‘cache’] = 0;$conf[‘block_cache’] = 0;$conf[‘preprocess_css’] = 0;$conf[‘preprocess_js’] = 0;