This file contains hidden or 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
// Lifted from https://stackoverflow.com/a/22103222 | |
if (typeof console === "undefined" || typeof console.log === "undefined") { | |
console.log = function(msg) { | |
alert(msg); | |
}; | |
} |
This file contains hidden or 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
From 26a7752c34321fd9cb889308f507ca6bdb777f08 Mon Sep 17 00:00:00 2001 | |
From: David Rothstein | |
Date: Wed, 15 Oct 2014 14:31:54 +0000 | |
Subject: SA-CORE-2014-005 by Stefan Horst, greggles, larowlan, David_Rothstein, klausi: Fixed SQL injection vulnerability | |
--- | |
diff --git a/includes/database/database.inc b/includes/database/database.inc | |
index f78098b..01b6385 100644 | |
--- a/includes/database/database.inc | |
+++ b/includes/database/database.inc |
This file contains hidden or 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
cd /path/to/modules/contrib && for module in $(gfind -type d -maxdepth 1 | cut -d/ -f2); do gfind $module -name \*.info ! -name $module.info; done |
This file contains hidden or 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
/** | |
* Binary Counter for Arduino | |
* | |
* Designed as a project for students to introduce them to Arduinos and | |
* programming. | |
* | |
* Written by Dave Hall - http://davehall.com.au | |
*/ | |
// Define our LED pins. |
This file contains hidden or 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
drush eval 'drush_print_r(menu_get_item(variable_get("site_frontpage")));' |
This file contains hidden or 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_alter(). | |
*/ | |
function my_menu_alter(&$items) { | |
$items['contact']['title'] = 'Contact Me'; | |
} |
This file contains hidden or 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
From 4800290372e085a4d26bf961f19d27eb6bef9805 Mon Sep 17 00:00:00 2001 | |
From: A User <[email protected]> | |
Date: Sun, 14 Jun 2015 22:05:23 +1000 | |
Subject: [PATCH] Add label for 'old' entity to the diff data | |
--- | |
modules/deploy_services/deploy_services.services.inc | 1 + | |
1 file changed, 1 insertion(+) | |
diff --git a/modules/deploy_services/deploy_services.services.inc b/modules/deploy_services/deploy_services.services.inc |
This file contains hidden or 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
# | |
# Global .gitignore file. | |
# | |
# Created by Dave Hall (@skwashd) - http://davehall.com.au | |
# | |
# See https://help.github.com/articles/ignoring-files/#create-a-global-gitignore for installation instructions. | |
# | |
# Licensed under the terms of the WTFPL - http://www.wtfpl.net/txt/copying/ | |
# |
This file contains hidden or 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
{ | |
"require": { | |
"cweagans/composer-patches": "dev-master", | |
"drupal/drupal": "8.0.*@dev" | |
}, | |
"config": { | |
"preferred-install": "source" | |
}, | |
"repositories": [{ | |
"type": "vcs", |
This file contains hidden or 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
FROM iron/python:2-dev | |
RUN apk update && apk upgrade | |
RUN apk add openssl | |
RUN apk add alpine-sdk | |
RUN apk add autoconf | |
RUN apk add python-dev |