Skip to content

Instantly share code, notes, and snippets.

Allan Chappell generalredneck

Block or report user

Report or block generalredneck

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
@generalredneck
generalredneck / appraisal.json
Created Feb 14, 2018
Example data from the appraisal of item 0
View appraisal.json
{
"issueId": 0,
"publishedProductValueId": 0,
"options": [
{
"optionDescription": "String",
"publishedOptionValueId": 0,
"optionValue": 0,
"defaultQuantity": 0,
"extendedValue": 0,
View console.txt
allan@ThinkPad-T470:~/workspace/elccs-new-curriculum (elnc-267)
$ terminus drush elccs-new-curriculum.elnc-267 -- stage
[warning] This environment is in read-only Git mode. If you want to make changes to the codebase of this site (e.g. updating modules or plugins), you will need to toggle into read/write SFTP mode first.
The authenticity of host '[appserver.elnc-267.2f47c3e9-ef82-47c8-bce8-c34728a4da6d.drush.in]:2222 ([130.211.234.231]:2222)' can't be established.
RSA key fingerprint is SHA256:yPEkh1Amd9WFBSP5syXD5rhUByTjaKBxQnlb5CahZZE.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added '[appserver.elnc-267.2f47c3e9-ef82-47c8-bce8-c34728a4da6d.drush.in]:2222,[130.211.234.231]:2222' (RSA) to the list of known hosts.
Running Registry Rebuild
The registry has been rebuilt via registry_rebuild (A). [success]
View console.txt
$ vagrant up
Bringing machine 'local.woodmagazine.com' up with 'virtualbox' provider...
==> local.woodmagazine.com: Checking if box 'geerlingguy/ubuntu1404' is up to date...
==> local.woodmagazine.com: Clearing any previously set forwarded ports...
==> local.woodmagazine.com: Clearing any previously set network interfaces...
==> local.woodmagazine.com: Preparing network interfaces based on configuration...
local.woodmagazine.com: Adapter 1: nat
local.woodmagazine.com: Adapter 2: hostonly
==> local.woodmagazine.com: Forwarding ports...
local.woodmagazine.com: 22 (guest) => 2222 (host) (adapter 1)
@generalredneck
generalredneck / .emdaer.yml
Created Sep 5, 2017
Readme for my test project
View .emdaer.yml
- text: '# Manual Pantheon Project'
- text: "This is a brief overview of my manual Pantheon Project located at https://github.com/fourkitchens/readmes/tree/master/pantheon/d7/manual"
- include: './node_modules/readmes/pantheon/d7/manual/at-a-glance.md'
- include: './node_modules/readmes/pantheon/d7/manual/brief-foundation-architecture.md'
- include: './node_modules/readmes/pantheon/d7/manual/before-you-start.md'
- include: './node_modules/readmes/pantheon/d7/manual/getting-started.md'
- include: './node_modules/readmes/pantheon/d7/manual/subsequent-builds.md'
- include: './node_modules/readmes/pantheon/d7/manual/git-workflow.md'
- include: './node_modules/readmes/pantheon/d7/manual/configuration-management-workflow.md'
- include: './node_modules/readmes/pantheon/d7/manual/deployment.md'
View gist:3f5d5263da84425c5cf45cb54261534d
<div class="views-row views-row-2 views-row-even">
<span class="field-featured-image"><a href="/video/sf-engine-man-remove-sludge-from-diesel-fuel-storage-tank">
<div class="field-featured-image">
<span class="field-featured-image"></span>
<article class="node node-image contextual-links-region default clearfix" id="node-261570" role="article">
<span class="field-featured-image"></span>
<div class="content">
<span class="field-featured-image"></span>
<div class="image-wrapper">
<span class="field-featured-image"></span>
View Grains Close Lower, Soybeans Higher to End Week Amid Uncertain Weather Forecasts _ Successful Farming.htm
<!DOCTYPE html>
<!-- saved from url=(0112)http://www.agriculture.com/markets/analysis/crops/corn-beans-mixed-wheat-rises-on-dry-weather-in-northern-plains -->
<html class="no-js js" lang="en" dir="ltr"><!--<![endif]--><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><link rel="dns-prefetch" href="http://f.monetate.net/"><link rel="dns-prefetch" href="http://b.monetate.net/"><script type="text/javascript" async="" src="./Grains Close Lower, Soybeans Higher to End Week Amid Uncertain Weather Forecasts _ Successful Farming NEW_files/tag.aspx"></script><script type="text/javascript" src="./Grains Close Lower, Soybeans Higher to End Week Amid Uncertain Weather Forecasts _ Successful Farming NEW_files/get"></script><script type="text/javascript" src="./Grains Close Lower, Soybeans Higher to End Week Amid Uncertain Weather Forecasts _ Successful Farming NEW_files/optout_check"></script><script src="./Grains Close Lower, Soybeans Higher to End Week Amid Uncertain Weather Forecasts _ Successful
@generalredneck
generalredneck / gist:44875680786c6ca6cd6713aa5e5adb7d
Last active Oct 23, 2017 — forked from heathdutton/gist:cc29284de3934706acd1
Start an Acquia drush command, and wait for it to complete before continuing.
View gist:44875680786c6ca6cd6713aa5e5adb7d
#!/bin/bash
# Runs an acquia task, and waits for the task to complete before continuing.
# This is a helper script, to be used in others as needed.
#
# @see https://gist.github.com/heathdutton/cc29284de3934706acd1
if [[ $1 = "" ]] || [[ $2 = "" ]]
then
echo "Runs an acquia drush command, waiting for the results before continuing."
echo "Can be used as a replacement for drush."
@generalredneck
generalredneck / config.yml
Last active May 10, 2017
Commandline output for Drupalvm solr issue
View config.yml
vagrant_hostname: elccs-new-curriculum.local
vagrant_machine_name: elccs-new-curriculum.local
vagrant_ip: 0.0.0.0
vagrant_synced_folders:
# The first synced folder will be used for the default Drupal installation, if
# any of the build_* settings are 'true'. By default the folder is set to
# the drupal-vm folder.
- local_path: .
destination: /var/www/elccs-new-curriculum.local
type: nfs
View composer.json
{
"name": "allan/test_dependency",
"type": "drupal-module",
"authors": [
{
"name": "Allan Chappell",
"email": "allan@fourkitchens.com"
}
],
"require": {}
@generalredneck
generalredneck / command-output.txt
Created Mar 8, 2017
output when type is undefined in drupal-vm
View command-output.txt
$ vagrant up
Bringing machine 'support.local' up with 'virtualbox' provider...
==> support.local: Checking if box 'geerlingguy/ubuntu1604' is up to date...
==> support.local: Fixed port collision for 22 => 2222. Now on port 2200.
C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.9.1/lib/vagrant/action/builtin/mixin_synced_folders.rb:137:in `block in synced_folders': Internal error. Report this as a bug. Invalid: shared (RuntimeError)
from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.9.1/lib/vagrant/action/builtin/mixin_synced_folders.rb:125:in `each'
from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.9.1/lib/vagrant/action/builtin/mixin_synced_folders.rb:125:in `synced_folders'
from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.9.1/lib/vagrant/action/builtin/synced_folder_cleanup.rb:19:in `call'
from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.9.1/lib/vagrant/action/warden.rb:34:in `call'
from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.9.1/plug
You can’t perform that action at this time.