Skip to content

Instantly share code, notes, and snippets.

View esolitos's full-sized avatar

Marlon (Esolitos) Saglia esolitos

View GitHub Profile
@esolitos
esolitos / test-ansible-role.sh
Last active June 29, 2018 14:37 — forked from samdoran/test-ansible-role.sh
Script for testing an Ansible role in containers
#!/bin/bash
# Test Ansile role inside container
#
# Inspired by the wonderful work of Jeff Geerling (@geerlingguy)
# https://gist.github.com/geerlingguy/73ef1e5ee45d8694570f334be385e181
# and @samdoran
# https://gist.github.com/samdoran/c3d392ee697881fa33a1d1a65814a07b
# Colors
RED='\033[0;31m'
# Schema for the views plugins.
views.filter.project_size_range_select:
type: views_filter
label: 'Foobar numeric'
views.filter_value.project_size_range_select:
type: views.filter_value.numeric
label: 'Foobar Numeric'
@esolitos
esolitos / local.aliases.drushrc.php
Last active April 6, 2016 11:58
Drush Alias File for PROJECT.dev Folder Names within multisites
<?php
$all = $platforms = array();
// Use standard linux 'PATH' style, so if you need more entries separate them using a column ':' char
// For example: '/path/to/platforms/container' OR '/path/to/platforms/container:/path/to/another/location'
// This dorectory will contain one or more drupal roots directories
$platforms_path = '/var/www/platforms';
$paths = explode(':', $platforms_path);
foreach($paths as $path) {
@esolitos
esolitos / README.md
Last active December 7, 2018 19:20 — forked from magnetikonline/README.md