Skip to content

Instantly share code, notes, and snippets.

View mradcliffe's full-sized avatar
💭
I may be slow to respond.

Matthew Radcliffe mradcliffe

💭
I may be slow to respond.
View GitHub Profile
//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');
@mradcliffe
mradcliffe / composer.json
Created January 29, 2016 17:22
twitteroauth composer_manager usage
{
"name": "myvendor/mymodule",
"type": "drupal-module",
"license": "GPLv2",
"authors": [
{
"name": "Matthew Radcliffe",
"email": "mradcliffe@example.com"
}
],
@mradcliffe
mradcliffe / ansible-playbook output
Created May 24, 2017 22:26
Trying to run drupal-vm in an unprivileged container
ansible-playbook /etc/ansible/drupal-vm/provisioning/playbook.yml
PLAY [all] ***************************************************************************************************************************************************
TASK [Gathering Facts] ***************************************************************************************************************************************
ok: [localhost]
TASK [Include OS-specific variables.] ************************************************************************************************************************
ok: [localhost]