This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| apt-get install build-essential libboost1.42-dev libboost-dev libboost-program-options-dev libboost-thread-dev libevent-dev uuid-dev php-pear php5-dev | |
| wget https://launchpad.net/gearmand/trunk/0.32/+download/gearmand-0.32.tar.gz | |
| wget http://pecl.php.net/get/gearman-1.0.2.tgz |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| echo "memory use: " . memory_get_usage() . "\n"; | |
| $configdir = __FILE__; | |
| $configdir = preg_replace('|wp-content\/.*|','',$configdir); | |
| $configdir .= 'wp-load.php'; | |
| error_reporting(E_ALL); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| echo "memory use: " . memory_get_usage() . "\n"; | |
| $configdir = __FILE__; | |
| $configdir = preg_replace('|wp-content\/.*|','',$configdir); | |
| $configdir .= 'wp-load.php'; | |
| error_reporting(E_ALL); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| /* | |
| Plugin Name: Disable plugins when doing local dev | |
| Description: If the WP_LOCAL_DEV constant is true, disables plugins that you specify | |
| Version: 0.1 | |
| License: GPL version 2 or any later version | |
| Author: Mark Jaquith | |
| Author URI: http://coveredwebservices.com/ | |
| */ |
NewerOlder