I hereby claim:
- I am christopher-hopper on github.
- I am chop (https://keybase.io/chop) on keybase.
- I have a public key ASBUM3iCrJK9V9U_hmodhM-GRmWCGilGwpyN2KpEOWyjnQo
To claim this, I am signing this object:
| #!/usr/bin/env bash | |
| # vim: ai ts=2 sw=2 et sts=2 ft=sh | |
| # Check OS. | |
| if [[ ! "${OSTYPE}" =~ "^linux" ]] || [[ ! "$(lsb_release -c 2>/dev/null)" =~ "xenial" ]]; then | |
| (>&2 echo "Error: This script is for Ubuntu 16.04 LTS (xenial) not '${OSTYPE}'.") | |
| exit 1; | |
| fi | |
| sudo apt-get update |
| diff --git a/core/modules/views/src/Plugin/views/cache/CachePluginBase.php b/core/modules/views/src/Plugin/views/cache/CachePluginBase.php | |
| index 87465ca06f..377d36f84e 100644 | |
| --- a/core/modules/views/src/Plugin/views/cache/CachePluginBase.php | |
| +++ b/core/modules/views/src/Plugin/views/cache/CachePluginBase.php | |
| @@ -4,6 +4,7 @@ | |
| use Drupal\Core\Cache\Cache; | |
| use Drupal\Core\Cache\CacheableMetadata; | |
| +use Drupal\Core\Entity\EntityInterface; | |
| use Drupal\views\Plugin\views\PluginBase; |
| #!/usr/bin/env bash | |
| # vim: ai ts=2 sw=2 et sts=2 ft=sh | |
| # Install or re-install phpenv with | |
| # multiple versions of PHP on macOS. | |
| # | |
| # Usage: | |
| # | |
| # curl -fsSL "https://git.io/JvG7i?cb=$RANDOM" | bash | |
| # |
I hereby claim:
To claim this, I am signing this object:
The following commands can be used to install PHP from source with an interactive command-line shell interface on Linux.
This interactive shell, (command: php -a) was the main reason I built from source to begin with. Now though I am able to play with the latest PHP versions as soon as they are available.
The commands below were written for and tested on the following system.
| #!/bin/sh | |
| drush --uri="http://$(hostname -f)" site-alias @self --alias-name="local" --show-passwords --with-db --with-optional |
| #!/usr/bin/env bash | |
| # vim:sw=3 ts=6 ft=sh | |
| # Uses BASH3 Boilerplate | |
| # More info: | |
| # - https://github.com/kvz/bash3boilerplate | |
| # - http://kvz.io/blog/2013/02/26/introducing-bash3boilerplate/ | |
| # | |
| # Version 1.0.0 | |
| # | |
| # Usage: |
If RabbitMQ wont start and show the following in the startup logs:
# cat /var/log/rabbitmq/startup_log
BOOT FAILED
===========
Our Virtual Machines are provisioned using Vagrant from a Linux base box to run using VirutalBox. If the Hard Disk space runs out and you cannot remove files to free-up space, you can resize the Hard Disk using some VirtualBox and Linux commands.
The following steps assume you've got a set-up like mine, where: