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
@media screen { | |
nav#tab-bar, nav.desktop { | |
height: auto !important; | |
} | |
ul#tab-list { | |
white-space: normal !important; | |
} | |
li.tab { | |
display: inline-block; | |
max-width: 150px !important; |
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
<?php | |
/** | |
* Implements hook_module_implements_alter(); | |
*/ | |
function mytheme_module_implements_alter(&$implementations, $hook) { | |
switch($hook) { | |
case 'init': | |
case 'panels_post_render': | |
case 'panels_post_render': |
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
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
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
// ==UserScript== | |
// @name Turkish key replacement | |
// @namespace http://example.com/ | |
// @version 0.1 | |
// @description Type a backtick (`) after a letter to get the turkish variation. | |
// @author Simon Hobbs | |
// @match https://www.duolingo.com/skill/* | |
// @grant none | |
// ==/UserScript== |
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
<?php | |
/** | |
* @file | |
* Contains \Drupal\migrate_entity_lookup\Plugin\migrate\process\EntityLookup. | |
*/ | |
namespace Drupal\migrate_entity_lookup\Plugin\migrate\process; | |
use Drupal\migrate\ProcessPluginBase; |
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
# Simple colors and git status related functions. | |
COLOR_RED="\033[0;91m" | |
COLOR_YELLOW="\033[0;93m" | |
COLOR_GREEN="\033[0;32m" | |
COLOR_PURPLE="\033[0;95m" | |
COLOR_BLUE="\033[0;94m" | |
COLOR_WHITE="\033[0;37m" | |
COLOR_RESET="\033[0m" |
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
[user] | |
email = [email protected] | |
name = Joe Bloggs | |
[push] | |
default = simple | |
[alias] | |
co = checkout | |
br = branch | |
ci = commit | |
st = status |
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.catchSomeDrupalAjaxAlerts = { | |
attach: function(context, settings) { | |
// Replace this simple core function with one that won't blurt empty messages. | |
Drupal.displayAjaxError = function (message) { | |
if (message && !Drupal.beforeUnloadCalled) { | |
alert(message); |
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
2017/06/15 23:43:44 [INFO] Terraform version: 0.9.8 8d560482c34e865458fd884cb0790b4f73f09ad1 | |
2017/06/15 23:43:44 [INFO] Go runtime version: go1.8 | |
2017/06/15 23:43:44 [INFO] CLI args: []string{"/usr/local/bin/terraform", "apply", "-var-file", "tests/test.tfvar", "-var", "identifier=cheese", "-var", "remote_access=false"} | |
2017/06/15 23:43:44 [DEBUG] Detected home directory from env var: /Users/si | |
2017/06/15 23:43:44 [DEBUG] Detected home directory from env var: /Users/si | |
2017/06/15 23:43:44 [DEBUG] Attempting to open CLI config file: /Users/si/.terraformrc | |
2017/06/15 23:43:44 [DEBUG] File doesn't exist, but doesn't need to. Ignoring. | |
2017/06/15 23:43:44 [INFO] CLI command args: []string{"apply", "-var-file", "tests/test.tfvar", "-var", "identifier=cheese", "-var", "remote_access=false"} | |
2017/06/15 23:43:44 [DEBUG] Detected home directory from env var: /Users/si | |
2017/06/15 23:43:44 [DEBUG] command: loading backend config file: /Users/si/Dev/lilengine/tf_lemp/tf_lemp |
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
{ | |
"name": "drupal-composer/drupal-project", | |
"description": "Project template for Drupal 8 projects with composer", | |
"type": "project", | |
"license": "GPL-2.0+", | |
"authors": [ | |
{ | |
"name": "Si", | |
"role": "Developer" | |
} |
OlderNewer