Skip to content

Instantly share code, notes, and snippets.

View sheanhoxie's full-sized avatar

Shean Hoxie sheanhoxie

View GitHub Profile
# Drupal 8
If you're testing, most likely you're missing a module in the setup
#!/usr/bin/env bash
echo "-- Setting up the box"
debconf-set-selections <<< 'mysql-server mysql-server/root_password password root'
debconf-set-selections <<< 'mysql-server mysql-server/root_password_again password root'
cat > /etc/apt/sources.list << EOF
deb http://archive.kernel.org/debian-archive/debian/ squeeze main contrib non-free
deb-src http://archive.kernel.org/debian-archive/debian/ squeeze main contrib non-free
# -*- mode: ruby -*-
# vi: set ft=ruby :
Vagrant.configure(2) do |config|
config.vm.box = "colinodell/debian-squeeze"
config.vm.provider "virtualbox" do |vb|
vb.memory = "2048"
end
config.vm.network "private_network", ip: "192.168.50.2"
@sheanhoxie
sheanhoxie / getConfigSchemaExclusions
Created November 27, 2018 16:24
Exclude Bootstrap config schema for testing
protected function getConfigSchemaExclusions() {
return array_merge(parent::getConfigSchemaExclusions(), ['bootstrap.settings']);
}
@sheanhoxie
sheanhoxie / phpunit.local.xml
Created November 26, 2018 23:30
Drupal 8 phpunit.local.xml
<?xml version="1.0" encoding="UTF-8"?>
<!-- TODO set checkForUnintentionallyCoveredCode="true" once https://www.drupal.org/node/2626832 is resolved. -->
<!-- PHPUnit expects functional tests to be run with either a privileged user
or your current system user. See core/tests/README.md and
https://www.drupal.org/node/2116263 for details.
-->
<phpunit bootstrap="web/core/tests/bootstrap.php" colors="true"
beStrictAboutTestsThatDoNotTestAnything="true"
beStrictAboutOutputDuringTests="true"
# Verified working in Drupal 8.6.1 - 8.6.10
# To resolve the 'default domain not found' issue,
# create drushrc.local.php in sites/default
<?php
$options['uri'] = 'http://domain:8080';
1. Try resetting the bluetooth module
- shft + opt + click bluetooth icon
- choose debug, turn off bluetooth module
- turn bluetooth module back on
2. Unplug USB's and turn off - THIS IS THE ONE THAT WORKS 11/26
- unplug all USB's
- shut down laptop
- wait 2 mins
- turn the computer back on
phpbrew -d ext install gd -- --with-gd=shared --enable-gd-native-ttf --with-jpeg-dir=/usr/local/Cellar --with-png-dir=/usr/local/Cellar
creating cache /Users/sheanhoxie/.phpbrew/cache/config.cache
./configure: line 1867: /Users/sheanhoxie/.phpbrew/cache/config.cache: No such file or directory
checking for Cygwin environment... no
checking for mingw32 environment... no
checking for egrep... grep -E
checking for a sed that does not truncate output... /usr/bin/sed
checking host system type... i386-apple-darwin15.6.0
checking target system type... i386-apple-darwin15.6.0
checking for gcc... gcc
checking whether the C compiler (gcc ) works... yes
We couldn’t find that file to show.