Skip to content

Instantly share code, notes, and snippets.

slurpin ma tea thru choccy gingernuts

Chris Burgess xurizaemon

slurpin ma tea thru choccy gingernuts
Block or report user

Report or block xurizaemon

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View odt_outstream_video.js
<script type="text/javascript">
(function() {
function loadIt() {
console.log("DOM fully loaded and parsed");
// Enter OutStream configuration options HERE //
var configParams = {
"width": 640,
"height": 360,
"k_pos": "after",
xurizaemon / SA-CORE-2019-09-8.6.x.patch
Last active Dec 19, 2019
8.6.x backports for SA-CORE-2019-09 SA-CORE-2019-10 SA-CORE-2019-11 SA-CORE-2019-12
View SA-CORE-2019-09-8.6.x.patch
commit 96a625132a34cdf092bc9d19afde3f96eb0687d0
Author: Lee Rowlands <>
Date: Wed Dec 18 18:55:10 2019 +1000
SA-CORE-2019-009 by mcdruid, larowlan, Heine, alexpott, xjm, DamienMcKenna, dsnopek, catch, greggles
diff --git a/core/includes/ b/core/includes/
index aed688d8be..f380d7ef12 100644
--- a/core/includes/
+++ b/core/includes/
View foo.tar
foo/0000755015454201545420000000000013576466645013677 5ustar chrisburgesschrisburgessfoo/hello-2.txt0000644015454201545420000000001013576466645015671 0ustar chrisburgesschrisburgess
View test-d8-patch.diff
diff --git a/example.gitignore b/example.gitignore
index 7cc3227974..9806966eee 100644
--- a/example.gitignore
+++ b/example.gitignore
@@ -1,3 +1,5 @@
+# This file is patched
# This file contains default .gitignore rules. To use it, copy it to .gitignore,
# and it will cause files like your settings.php and user-uploaded files to be
# excluded from Git version control. This is a common strategy to avoid
View test-d8-patch.diff
diff --git a/INSTALL.txt b/INSTALL.txt
index 2ee9ad89b8..1e4712ae84 100644
--- a/INSTALL.txt
+++ b/INSTALL.txt
@@ -1,3 +1,4 @@
+This file was patched
Please read core/INSTALL.txt for detailed installation instructions for your
Drupal web site.
View json_page.yml
langcode: en
status: true
dependencies: { }
id: json_page
- Example
migration_group: mymodule
label: 'JSON Pages'
plugin: url
View migrate_media_handler.patch
diff --git a/ b/
index 0f9eb39..0e8e053 100644
--- a/
+++ b/
@@ -5,7 +5,4 @@ package: 'Migrate'
core: '8.x'
- drupal:migrate
- - drupal:migrate_plus
- - drupal:migrate_tools
xurizaemon / migration_from_form_submit.php
Created Jul 10, 2019
Running a Drupal migration from form submit
View migration_from_form_submit.php
// You should probably just read Migrate Source UI code :) but ...
$migration_id = $form_state->getValue('migrations');
// Aha! We'll target the final migration, and let Migration
// dependencies do the legwork of starting the other two.
$migration_id = str_replace('node', 'media', $migration_id);
/** @var \Drupal\migrate\Plugin\Migration $migration */
$migration = $this->pluginManagerMigration->createInstance($migration_id);
xurizaemon / FeatureContext.php
Created Jun 19, 2019
drupal screenshot on test failure
View FeatureContext.php
// Extracted from FeatureContext.php in Behat.
// This may also require a Behat patch?
/** @AfterStep */
public function takeScreenshotOnFail(Behat\Behat\Hook\Scope\AfterStepScope $scope) {
if (99 === $scope->getTestResult()->getResultCode()) {
You can’t perform that action at this time.