This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* eslint-env node, es6 */ | |
/* global require */ | |
'use strict'; | |
/** | |
* Configuration | |
*/ | |
// Load dependencies | |
const { parallel, series, src, dest, task, watch, } = require('gulp'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Implements hook_theme_suggestions_alter(). | |
*/ | |
function YOURTHEMENAME_theme_suggestions_alter(array &$suggestions, array $variables, $hook) { | |
if ($hook === 'field') { | |
switch ($field_name) { | |
case 'field_bio_media': | |
case 'field_media_image': | |
case 'field_hero_media': | |
case 'field_promo_media': |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Matthew Glaman brings a holistic approach to the omnichannel dynamic blockchain. Through end to end data neural networks, Matthew reimagines the global paradigm of algorithmic synergistic AI. He is a reactive unicorn that empowers the clear goal of pushing the envelope of organic growth on the runway. With a mind share of sustainability he brings the elastic digital experience to the artisanal table. Blockchain. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git fetch -p && for branch in `git branch -vv --no-color | grep ': gone]' | awk '{print $1}'`; do git branch -D $branch; done |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(function($){ | |
Drupal.behaviors.addMoreRows = { | |
attach: function(context, settings) { | |
var $tripletWrapper = $('.js-advanced-triplet-wrapper', context); | |
var $removeButton = $('.js-advanced-button-remove', context); | |
var $addButton = $('.js-advanced-button-add', context); | |
var $clearButton = $('#gnus-advanced-search-form-advanced-form button[type="reset"]', context); | |
// Add additional option with correct text to each field select element |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Path to your oh-my-zsh installation. | |
export ZSH=/Users/mherchel/.oh-my-zsh | |
# Set name of the theme to load. | |
# Look in ~/.oh-my-zsh/themes/ | |
# Optionally, if you set this to "random", it'll load a random theme each | |
# time that oh-my-zsh is loaded. | |
ZSH_THEME="robbyrussell" | |
# ZSH_THEME="random" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Import MYSQL | |
gzcat foo.sql.gz | mysql -uroot -ppassword foo |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
:: | |
:: Setup | |
:: | |
:: 1. The remote computer must be networked with the local computer, and able to be accessed | |
:: using Windows File Sharing (SMB). | |
:: 2. Set the paths for the local and remote repository below, WITHOUT A LEADING SPACE | |
:: | |
:: Directions for use | |
:: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$conf['stage_file_proxy_origin'] = 'http://dev.fldrupal.camp'; | |
$conf['stage_file_proxy_origin_dir'] = 'sites/default/files'; | |
$conf['file_private_path'] = ''; | |
$conf['file_temporary_path'] = '/tmp'; | |
$conf['theme_debug'] = true; | |
$conf['preprocess_css'] = 0; // disable css aggregation | |
$conf['preprocess_js'] = 0; // disable js aggregation | |
$conf['image_toolkit'] = 'gd'; | |
$conf['ignore_site_directory_permissions'] = TRUE; |