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;

MMM dokuwiki plugins

Looks like my favorite PHP wiki has some really cool plugins for it.   Old and New DokuWiki Plugins [] During the last few weeks I wrote a few new DokuWiki plugins and updated some old ones.

Thinking of switch to PHP w/Fast CGI?

If you’re contemplating switching to running PHP5 under FastCGI, to take advantage of apache’s threaded worker model and improve your server’s performance, think again.  If you’re used to setting and overriding php values via .htaccess files or using php_value/php_flag in your virtual host directory, this is not supported with FastCGI.  You’ll have to figure out …

Thinking of switch to PHP w/Fast CGI? Read More »

Troubleshooting connection problems with memcached

I was noticing today many apache segfaults on this server, and pretty high traffic loads at times. I haven’t pinpointed the exact cause of high traffic, there are a couple candidates, but the apache segfaults seem to accompanied by the following PHP errors: [13-Aug-2008 13:55:27] PHP Notice: MemcachePool::get() [memcachepool.get]: Server (tcp 11211, udp 0) …

Troubleshooting connection problems with memcached Read More »