A list of amazingly awesome PHP libraries, resources and shiny things.
- Composer
- Composer Related
- Frameworks
- Micro Frameworks
<?php | |
/** | |
* Place the views exposed search block. | |
*/ | |
function YOURPROFILE_update_7001() { | |
$default_theme = variable_get('theme_default', 'YOURTHEME'); | |
// Enable some standard blocks. | |
$blocks = array( | |
array( | |
'module' => 'views', |
<?php | |
namespace Drupal\sandbox\Form; | |
use Drupal\Core\Form\FormBase; | |
use Drupal\Core\Form\FormInterface; | |
use Drupal\Core\Form\FormState; | |
use Drupal\Core\Form\FormStateInterface; | |
use Drupal\node\Entity\Node; | |
use Drupal\user\Entity\User; |
UPDATE: The instructions here are no longer necessary! Resizing the disk image is now possible right from the UI since Docker for Mac Version 17.12.0-ce-mac49 (21995).
If you are getting the error: No space left on device
Configuring the qcow2 size cap is possible in the current versions:
# my disk is currently 64GiB
gitlab: | |
image: 'gitlab/gitlab-ce:latest' | |
container_name: gitlab | |
restart: always | |
hostname: 'gitlab.mcu.dc' | |
environment: | |
GITLAB_OMNIBUS_CONFIG: | | |
external_url 'http://gitlab.mcu.dc:8090' | |
gitlab_rails['gitlab_shell_ssh_port'] = 2290 | |
gitlab_rails['smtp_enable'] = true |