Skip to content

Instantly share code, notes, and snippets.

View dustinleblanc's full-sized avatar
🤣

Dustin LeBlanc dustinleblanc

🤣
View GitHub Profile
@dustinleblanc
dustinleblanc / .lando.yml
Last active September 1, 2021 19:15
Pantheon Build Tools with Lando Behat Testing
name: some-site
recipe: pantheon
config:
framework: drupal8
env: dev
site: some-site
id: some-uuid-string-here
drush: 8.3
php: '7.3'
webroot: web
@dustinleblanc
dustinleblanc / .lando.yml
Last active August 4, 2019 23:11
Setting up Lando with Browsersync
proxy:
node:
- appname-bs.lndo.site:3000
services:
node:
type: node
# Change as needed
build:
- "cd /app && yarn install"
- "cd /app && yarn dev"
@dustinleblanc
dustinleblanc / lando.yml
Created May 3, 2019 18:04
Browsersync Lando
proxy:
mannequin:
- appname-styleguide.lndo.site
node:
- appname-bs.lndo.site:3000
services:
mannequin:
type: compose
services:
image: php:7.3
name: haxcms
recipe: lemp
config:
php: '7.2'
webroot: ./web # <- relative to the repo root!
database: mariadb
tooling:
magic:
service: appserver
cmd: ./magic_script.sh
@dustinleblanc
dustinleblanc / .lando.yml
Created August 6, 2018 23:29
Magic Robofile for Acquia sites
name: client
recipe: drupal7
config:
webroot: docroot
xdebug: true
php: '7.1'
via: nginx
services:
appserver:
composer:
@dustinleblanc
dustinleblanc / .lando.yml
Created March 18, 2018 17:29
Setting up Laravel Dusk with ChromeDriver and Lando
name: cool-app
recipe: laravel
compose:
- docker-compose.yml
config:
php: '7.1'
via: nginx
webroot: public
@dustinleblanc
dustinleblanc / DrupalProjectValetDriver.php
Created June 29, 2016 13:35
Drupal Project Driver for Laravel Valet
<?php
class DrupalProjectValetDriver extends ValetDriver
{
/**
* Determine if the driver serves the request.
*
* @param string $sitePath
* @param string $siteName
* @param string $uri
@dustinleblanc
dustinleblanc / Contract Killer 3.md
Created April 6, 2016 18:43 — forked from malarkey/Contract Killer 3.md
The latest version of my ‘killer contract’ for web designers and developers

Contract Killer

The popular open-source contract for web professionals by Stuff & Nonsense

  • Originally published: 23rd December 2008
  • Revised date: March 15th 2016
  • Original post

@dustinleblanc
dustinleblanc / _color-schemes.scss
Created December 17, 2015 21:31
Scoped SCSS Variables
$color-schemes: (
numba_one $brand-one,
numba_two $brand-two,
numba_three $brand-three,
);
@each $color-scheme in $color-schemes {
body.#{nth($color-scheme, 1)} {
$dark: darken(nth($color-scheme, 2), 20%);
$med: nth($color-scheme, 2);
@dustinleblanc
dustinleblanc / RoboFile.php
Last active August 29, 2015 14:26
Build a Drupal 7 site with custom module code, features, settings, drush aliases, and themes using the drupal-composer template and Robo!
<?php
/**
* This is project's console commands configuration for Robo task runner.
*
* @see http://robo.li/
*/
class RoboFile extends \Robo\Tasks
{
/**
* Sync custom source files with web directory.