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
set nocompatible | |
syntax on | |
filetype on | |
filetype plugin on | |
filetype indent on | |
set sidescroll=1 | |
set sidescrolloff=3 |
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
#!/bin/bash | |
function drupal-install() { | |
sudo rm -rf sites/default; | |
sudo git checkout -- sites/default; | |
sudo chmod -R 777 sites/default; | |
sudo chown -R `whoami` sites/default; | |
sudo git checkout -- sites/default; | |
sudo chown -R `whoami` sites/default; | |
#exit; |
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
<target name="behat" description="Run Scenario with Behat" depends="load-properties, setup-dirs, clean"> | |
<property name="behat.basedir" value="${project.basedir}/tests/behat"/> | |
<exec executable="behat"> | |
<arg line=" --config='${behat.basedir}/behat.yml' --profile='ci' --format='junit' --out='${project.logdir}/behat' ${behat.basedir}/features" /> | |
</exec> | |
</target> |
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
limit maxproc 512 1024 | |
limit maxfiles 1024 2048 | |
limit maxfiles 8192 20480 | |
limit maxproc 1000 2000 | |
limit maxfiles 20480 30480 | |
limit maxproc 1000 2000 |
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
### Keybase proof | |
I hereby claim: | |
* I am pcambra on github. | |
* I am pcambra (https://keybase.io/pcambra) on keybase. | |
* I have a public key whose fingerprint is 2227 2DE6 2288 E442 9F53 E7D4 419D F417 CA48 27F8 | |
To claim this, I am signing this object: |
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 | |
use Drupal\Core\Config\Schema\SchemaCheckTrait; | |
/** | |
* Implements hook_drush_command(). | |
*/ | |
function ef_drush_command() { | |
$items['schema-validate'] = [ | |
'description' => dt('Validates all config schemaj'), | |
]; |
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": "mynamespace/myproject", | |
"description": "Example composer file with provides", | |
"repositories": [ | |
{ | |
"type": "composer", | |
"url": "http://drupal-packagist.webflo.io/" | |
}, | |
{ | |
"type": "package", |
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": "mynamespace/myproject", | |
"description": "Composer file example", | |
"repositories": [ | |
{ | |
"type": "composer", | |
"url": "http://drupal-packagist.webflo.io/" | |
}, | |
{ | |
"type": "package", |
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
#!/usr/bin/env ruby | |
# Usage | |
# $ docker-machine create my-machine123 -d virtualbox | |
# $ ruby <(curl -L https://git.io/vvvco) my-machine123 | |
# https://gist.github.com/mattes/4d7f435d759ca2581347 | |
require 'erb' | |
bootlocalsh = %Q(#/bin/bash |
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_menu(). | |
*/ | |
function {my_module}_menu() { | |
$items = array(); | |
$items['check-mandatory-fields'] = array( | |
'title' => 'Mandatory content missing', |
OlderNewer