Skip to content

Instantly share code, notes, and snippets.

Colin McClure ( Associate Director - Head of Technology ) colinappnovation

Block or report user

Report or block colinappnovation

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
@colinappnovation
colinappnovation / yml
Created Dec 2, 2018
Cockpit Docker Compose Setup
View yml
server {
index index.php;
server_name localhost:8080;
error_log /var/log/nginx/error.log;
access_log /var/log/nginx/access.log;
root /var/www/html;
location ~ \.php$ {
try_files $uri =404;
@colinappnovation
colinappnovation / gist:7a6eabefd08f496617ee5d037682e5bf
Created Feb 5, 2018
Working GraphQL query with fragment against Drupal 8
View gist:7a6eabefd08f496617ee5d037682e5bf
{
nodeQuery(filter: {status: true, type: "article"}, limit: 5) {
totalCount: count
entities {
nid: entityId
title: entityLabel
... on NodeArticle {
body {
summary
}
@colinappnovation
colinappnovation / docraptpr-node.js
Last active Aug 30, 2017
Docraptor Node implementation command line helper
View docraptpr-node.js
#!/usr/bin/env node
// npm install restler
var sys = require("util"),
fs = require("fs"),
rest = require("restler"),
p = console.log,
chalk = require("chalk"),
program = require("commander")
mdls = require("mdls"),
@colinappnovation
colinappnovation / dockerfile-princexml
Created Aug 25, 2017
Dockerfile for Princexml command line support
View dockerfile-princexml
FROM ubuntu:xenial
RUN apt-get update; \
apt-get install -y \
wget \
libcairo2 \
libcurl3 \
libfontconfig1 \
libfreetype6 \
libgif7 \
@colinappnovation
colinappnovation / gist:218557a597f4e00438dc11454f11b2e8
Created Aug 10, 2017
Disable mouse acceleartion on Ubuntu 17.04
View gist:218557a597f4e00438dc11454f11b2e8
xinput --set-prop 18 'libinput Accel Profile Enabled' 0, 1
@colinappnovation
colinappnovation / boot-project.sh
Created Jul 11, 2017
Bash Script to automate D8 alongside Docker4Drupal
View boot-project.sh
#!/bin/bash
# Clone into directory
git clone git@github.com:colinappnovation/drupal-project.git --depth=1 $1
# move into new folder
cd $1
# Bring in docker4drupal
wget https://raw.githubusercontent.com/wodby/docker4drupal/master/docker-sync.yml
View verification
Verifying that +colinmcclure is my blockchain ID. https://onename.com/colinmcclure
View pr-template.md

#PR Template

Ready state: Yes|No

Relates to: http://jira.link

Developer should switch this PR to Yes when ready for MR and they have assigned to TL

Noteworthy points

Any points which are pertinent for this branch.

You can’t perform that action at this time.