Skip to content

Instantly share code, notes, and snippets.

💭
I may be slow to respond.

Matthew Radcliffe mradcliffe

💭
I may be slow to respond.
Block or report user

Report or block mradcliffe

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
@mradcliffe
mradcliffe / ansible-playbook output
Created May 24, 2017
Trying to run drupal-vm in an unprivileged container
View ansible-playbook output
ansible-playbook /etc/ansible/drupal-vm/provisioning/playbook.yml
PLAY [all] ***************************************************************************************************************************************************
TASK [Gathering Facts] ***************************************************************************************************************************************
ok: [localhost]
TASK [Include OS-specific variables.] ************************************************************************************************************************
ok: [localhost]
@mradcliffe
mradcliffe / composer.json
Created Jan 29, 2016
twitteroauth composer_manager usage
View composer.json
{
"name": "myvendor/mymodule",
"type": "drupal-module",
"license": "GPLv2",
"authors": [
{
"name": "Matthew Radcliffe",
"email": "mradcliffe@example.com"
}
],
View webcrawler.js
//PhantomJS http://phantomjs.org/ based web crawler Anton Ivanov anton.al.ivanov@gmail.com 2012
var fs = require('fs');
var system = require('system');
var arg_url = system.args[1] || '';
var snapshot = system.args[2] || '';
fs.exists('sitemap.xml', function(exists) {
if (exists) {
fs.unlink('sitemap.xml');
You can’t perform that action at this time.