Skip to content

Instantly share code, notes, and snippets.

View markf3lton's full-sized avatar

Mark Felton markf3lton

View GitHub Profile
vagrant@local:/var/www/sbd10$ php --version
PHP 7.1.28-1+ubuntu16.04.1+deb.sury.org+3 (cli) (built: Apr 10 2019 10:49:52) ( NTS )
Copyright (c) 1997-2018 The PHP Group
Zend Engine v3.1.0, Copyright (c) 1998-2018 Zend Technologies
with Zend OPcache v7.1.28-1+ubuntu16.04.1+deb.sury.org+3, Copyright (c) 1999-2018, by Zend Technologies
vagrant@local:/var/www/sbd10$ blt sync -vvv
> source:build:composer
[Exec] Running export COMPOSER_EXIT_ON_PATCH_FAILURE=1 &&
composer install --ansi --no-interaction --optimize-autoloader --apcu-autoloader in /var/www/sbd10
Could not scan for classes inside "/var/www/sbd10/vendor/drupal/core/lib/Drupal.php" which does not appear to be a file nor a folder
@markf3lton
markf3lton / umami theme (modified)
Created March 13, 2019 16:46
Modified Twig template with a <div> wrapper id
{#
/**
* @file
* Theme override to display a block.
*
* Available variables:
* - plugin_id: The ID of the block implementation.
* - label: The configured label of the block if visible.
* - configuration: A list of the block's configuration values.
* - label: The configured label for the block.
@markf3lton
markf3lton / umami theme (unmodified)
Created March 13, 2019 16:45
Twig template included in Drupal Core -- /docroot/core/profiles/demo_umami/themes/umami/templates/components/banner-block/block--bundle--banner-block.html.twig
{#
/**
* @file
* Theme override to display a block.
*
* Available variables:
* - plugin_id: The ID of the block implementation.
* - label: The configured label of the block if visible.
* - configuration: A list of the block's configuration values.
* - label: The configured label for the block.
version: 1.1.0
services:
- php:
version: 7.1
events:
build:
steps:
- build:
@markf3lton
markf3lton / gist:d633b67e2c7a062506394925ee95f421
Created May 14, 2018 13:41
blt recipes:drupalvm:init fails to create vhosts for DrupalVM dashboard
/Users/mark.felton/Sites
$ rm -rf tea/
$ composer clearcache
Clearing cache (cache-vcs-dir): /Users/mark.felton/.composer/cache/vcs
Clearing cache (cache-repo-dir): /Users/mark.felton/.composer/cache/repo
Clearing cache (cache-files-dir): /Users/mark.felton/.composer/cache/files
Clearing cache (cache-dir): /Users/mark.felton/.composer/cache
All caches cleared.
$ composer create-project --no-interaction acquia/blt-project tea
1/11: http://packagist.org/p/provider-archived$afa373e95aa9fa7678612f8c7a961c6373160760005c1f8f41450f2860d933f9.json
$ sudo rm -rf drupal-vm/
$ sudo rm -rf vanilla
$ composer create-project acquia/blt-project icecream
1/5: http://packagist.org/p/provider-latest$31c2e9517348b37811fa61f2ea1e4da0d879aaf736287395424ca1d2add0641f.json
2/5: http://packagist.org/p/provider-2018-04$134f99e4bf5913203de16e3c08f34f95c3a5cd2df77a40b867041dec17a70985.json
3/5: http://packagist.org/p/provider-2017-10$ff08db62cc8aa6709dc7a476dc7f1542ffac2b076b46fa9a1ab1434c7c2b5ec2.json
4/5: http://packagist.org/p/provider-2018-01$8da0b2ce2c12beb403484540024054702ef8cae21ef95108bff42942373b2ea5.json
5/5: http://packagist.org/p/provider-2016$a9ea99b186ac4435f31e5d488fe15b2942581a74a22d8445bb8f78f091027f05.json
Finished: success: 5, skipped: 0, failure: 0, total: 5
Installing acquia/blt-project (9.0.0)
@markf3lton
markf3lton / Quick start for developers
Last active October 6, 2017 02:47
Setting up a new Mac
Pro tips in the comments