- (Edit the above to reflect status)
- TL;DR - what's this PR for?
- When does this need to be merged by?
# Non-existing URLs that are usually visited by bots. We will issue a server | |
# redirect to 404.html to avoid any overhead caused by bots trying to break into | |
# the site. | |
# | |
# WordPress folders. | |
RedirectMatch 301 /wp-admin /404.html | |
RedirectMatch 301 /wp-content /404.html | |
RedirectMatch 301 /wp-includes /404.html | |
# WordPress files. | |
RedirectMatch 301 /wp-cron.php /404.html |
[opcache] | |
; the path to the .so file | |
zend_extension=opcache.so | |
; Enabled. Set to 0 to disable | |
opcache.enable=1 | |
; Max memory consumption. Default 32 megs | |
opcache.memory_consumption=32 |
export PATH=${PATH}:/usr/local/sbin | |
export PATH=/usr/local/bin:${PATH} | |
export PATH=${PATH}:~/bin | |
export PS1="\u:\w$ " | |
# alias composer="php /usr/bin/composer.phar" | |
alias ppp="php app/console" | |
alias chrome='open -n -a "Google Chrome.app" --args --auth-server-whitelist="*.stanford.edu" --auth-negotiate-delegate-whitelist="*.stanford.edu"' |
default: | |
paths: | |
features: 'features' | |
extensions: | |
Behat\MinkExtension\Extension: | |
goutte: ~ | |
selenium2: ~ | |
base_url: https://production.server/ | |
Drupal\DrupalExtension\Extension: | |
blackbox: ~ |
<pre> | |
<?php | |
$site_name = exec('whoami'); | |
echo "Starting Testing...\n"; | |
echo 'Running as ' . $site_name . "\n"; | |
echo 'Server that responded: ' . exec('uname -a') . "\n\n"; |
# Credit http://stackoverflow.com/a/2514279 | |
for branch in `git branch -r | grep -v HEAD`;do echo -e `git show --format="%ci %cr" $branch | head -n 1` \\t$branch; done | sort -r |