Skip to content

Instantly share code, notes, and snippets.

@ultimike
ultimike / gist:14e787c8ae450f39527d51734c297dd8
Created October 10, 2017 11:04
Raw chat transcript from October 10 at 10AM UTC #governance meeting
ultimike [6:00 AM]
:zero: Welcome to this meeting to discuss Drupal Community Governance! This is one of a series of meetings we are holding in this channel to connect people who are interested in governance with each other, provide a forum for people to share their thoughts, and empower the community to determine the next steps. Additional background can be found at: https://www.drupal.org/association/blog/evolving-community-governance-survey-results-and-a-call-to-action
[6:01]
:one: This meeting is text-only. There is no audio or video component.
[6:01]
:two: The entire slack transcript will be recorded and available after this meeting. Threads not included. This means that we’ll be copying and pasting the chat, including usernames, and pasting it into a gist (or other format) to be linked at the bottom of the scheduling google doc - https://docs.google.com/document/d/1jDNAoZtU4S6hrAA6BlS3Fhx6Js4pWLvrRBNDr_0ySA8/edit?ts=59ce7f2c#
@ultimike
ultimike / gist:45cac5c4db2149a3a25f8c66f10a27c9
Created May 28, 2017 20:01
Quick Reference: Creating a new Pantheon-focused, Drupal 8 site with Composer and Terminus
# Quick Reference: Creating a new Pantheon-focused, Drupal 8 site with Composer and Terminus
## Prerequisites:
* Composer
* Terminus
* Git
## Start from a local command-line in the directory where your project go (usually ~/sites/):
`terminus site:create my_awesome_site "My Awesome Site" "Empty Upstream" --org='My Agency'`
id: internal_article
label: Internal articles
migration_tags:
- Drupal 6
deriver: Drupal\node\Plugin\migrate\D6NodeDeriver
migration_group: vtcoe
source:
plugin: d6_node
node_type: int_article
process:
<?php
/**
* @file
* Contains \Drupal\mymodule\Plugin\migrate\source\internalArticleFiles.
*/
namespace Drupal\mymodule\Plugin\migrate\source;
use Drupal\file\Plugin\migrate\source\d6\file;
id: internal_article_file
label: Internal article file
migration_tags:
- Drupal 6
migration_group: mygroup
source:
plugin: internal_article_files
process:
# fid: fid
filename: filename
$databases['legacy']['default'] = array (
'database' => 'legacy_drupal6site',
'username' => 'db_username',
'password' => 'db_password',
'prefix' => '',
'host' => '127.0.0.1',
'port' => '33067',
'namespace' => 'Drupal\\Core\\Database\\Driver\\mysql',
'driver' => 'mysql',
);
id: mygroup
label: My Group
description: Legacy content to be migrated to Drupal 8.
source_type: Drupal 6.
shared_configuration:
source:
key: legacy
@ultimike
ultimike / bookmarklet.js
Created April 15, 2016 15:19
reddit.com/r/drupaleasypodcast bookmarklet
javascript:(function(){t=document.querySelector('meta[itemprop="name"]');if(!t){t=document.title||""}else{t=t.content}m="http://www.reddit.com/r/drupaleasypodcast/submit?url="+encodeURIComponent(location.href)+"&title="+encodeURIComponent(t);w=window.open(m,"addwindow");setTimeout(function(){w.focus()},250)})()
id: external_articles
label: External articles
migration_tags:
- Drupal 6
deriver: Drupal\node\Plugin\migrate\D6NodeDeriver
migration_group: mygroup
source:
plugin: d6_node
node_type: ext_article
process:
id: d6_node
label: Nodes
migration_tags:
- Drupal 6
deriver: Drupal\node\Plugin\migrate\D6NodeDeriver
source:
plugin: d6_node
process:
nid: nid
vid: vid