Skip to content

Instantly share code, notes, and snippets.

use Drupal\Core\Config\Schema\SchemaCheckTrait;
* Implements hook_drush_command().
function ef_drush_command() {
$items['schema-validate'] = [
'description' => dt('Validates all config schemaj'),
pcambra / boot2docker-nfs.rb
Last active August 29, 2015 14:27 — forked from mattes/boot2docker-nfs.rb
docker-machine/ boot2docker with NFS instead of vboxsf
#!/usr/bin/env ruby
# Usage
# $ docker-machine create my-machine123 -d virtualbox
# $ ruby <(curl -L my-machine123
require 'erb'
bootlocalsh = %Q(#/bin/bash
pcambra / gist:3885044
Created October 13, 2012 15:38 — forked from just-digital/gist:1868435
A .vimrc file for Drupal. Sets correct tabs configuration and a few other gems. Also includes function from Aron Novak ( sourced at which will remove trailing white space upon
set nocompatible
syntax on
filetype on
filetype plugin on
filetype indent on
set sidescroll=1
set sidescrolloff=3
pcambra / How to configure multiple deploy keys for different private github repositories on the same computer

This is probably a common issue for people who wants to deploy serveral repository on one VPS or VM.

This is not going to be rocket science.

The first step is to generate your first ssh key, for this type the following command line in your terminal: ssh-keygen -t rsa -b 4096 -C "" When the command CLI is asking you if you want to use a passphrase you might want to press ENTER in order to don't have to type it everytime you will want to pull your repository.

Now copy the content of your public key and add it to Github in your first repository (Settings > Deploy keys). For example on debian it might be: