Get boot2docker working with nfs instead of vboxsf.
Tested on:
- Boot2Docker-cli version: v1.6.0
Git commit: 9894ae9
- Boot2Docker-cli version: v1.6.2
Git commit: cb2c3bc
| #! /bin/bash | |
| wget http://files.drush.org/drush.phar | |
| chmod +x drush.phar | |
| sudo mv drush.phar /usr/local/bin/drush | |
| drush init |
| until nc -z mysql 3306; do | |
| echo "$(date) - waiting for database to be up..." | |
| sleep 1 | |
| done |
| wget -r --convert-links --html-extension http://example.com |
| UP=`drush status | grep "Drupal bootstrap" | awk '{print $4}'` |
| .container { | |
| display: none; | |
| } | |
| @media (min-width: 1px) { | |
| .container { | |
| display: block; | |
| } | |
| } |
Get boot2docker working with nfs instead of vboxsf.
Tested on:
- Boot2Docker-cli version: v1.6.0
Git commit: 9894ae9
- Boot2Docker-cli version: v1.6.2
Git commit: cb2c3bc
| /** | |
| * Helper Function to disable blocks | |
| * Modified from http://dcycleproject.org/blog/32/disabling-blocks | |
| * @param string $theme The name of the theme you'd like the block to be disabled on | |
| * @param array $blocks Array of blocks. Module => Block name | |
| */ | |
| function disable_block($theme, $blocks) { | |
| foreach ($blocks as $module => $delta) { | |
| $num_updated = db_update('block') // Table name no longer needs {} | |
| ->fields(array( |