Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am kepford on github.
  • I am kepford (https://keybase.io/kepford) on keybase.
  • I have a public key ASCSSWClnQcBpEA8vZhMAlzvR58X_-HjHQtlKdHFz_CBowo

To claim this, I am signing this object:

module.exports = () => {
const faker = require('faker');
const _ = require('lodash');
const states = ['active', 'complete', 'inprogress'];
const randomItem = (items) => {
let item = items[Math.floor(Math.random()*items.length)];
return item;
};
const courseTypes = [
{
{
"name": "drupal/drupal",
"description": "Drupal is an open source content management platform powering millions of websites and applications.",
"type": "project",
"license": "GPL-2.0+",
"require": {
"composer/installers": "^1.0.21",
"wikimedia/composer-merge-plugin": "~1.3",
"solarium/solarium": "3.6.0",
"drush/drush": "^8.1",
import React, {Component} from 'react';
import Header from './Header.js';
import Article from './Article';
import sampleArticles from '../sample-articles';
import '../css/App.css';
class App extends Component {
constructor() {
super();
this.loadArticles = this.loadArticles.bind(this);
diff --git a/docroot/sites/all/themes/custom/mag2016/styleguide/dist/profile-landing/index.html b/docroot/sites/all/themes/custom/mag2016/styleguide/dist/profile-landing/index.html
index 198fb20..35e1ab5 100755
--- a/docroot/sites/all/themes/custom/mag2016/styleguide/dist/profile-landing/index.html
+++ b/docroot/sites/all/themes/custom/mag2016/styleguide/dist/profile-landing/index.html
@@ -48,7 +48,7 @@
<li class="navigation__link navigation__link--icon"><a href="#" class="js-search-icon search-icon icon">Search</a></li>
</ul>
</nav>
-
+
diff --git a/pardot.module b/pardot.module
index 3f0ef59..ddb9804 100644
--- a/pardot.module
+++ b/pardot.module
@@ -483,7 +483,7 @@ function _pardot_form_collapse_form($tree, $posted_values, $form, &$result) {
elseif ($form[$name]['#type'] == 'select') {
// Map select values to text versions. The numeric values won't mean
// much to Pardot, CRM or any other integration.
- $result[$name] = $form[$name]['#options'][$value];
+ $result[$name] = $value;
diff --git a/docroot/sites/all/modules/contrib/pardot/pardot.module b/docroot/sites/all/modules/contrib/pardot/pardot.module
index 3f0ef59..ddb9804 100644
--- a/docroot/sites/all/modules/contrib/pardot/pardot.module
+++ b/docroot/sites/all/modules/contrib/pardot/pardot.module
@@ -483,7 +483,7 @@ function _pardot_form_collapse_form($tree, $posted_values, $form, &$result) {
elseif ($form[$name]['#type'] == 'select') {
// Map select values to text versions. The numeric values won't mean
// much to Pardot, CRM or any other integration.
- $result[$name] = $form[$name]['#options'][$value];
+ $result[$name] = $value;
diff --git a/jsonpath-0.8.1.php b/jsonpath-0.8.1.php
new file mode 100644
index 0000000..0dbbaf4
--- /dev/null
+++ b/jsonpath-0.8.1.php
@@ -0,0 +1,111 @@
+<?php
+/* JSONPath 0.8.1 - XPath for JSON
+ *
+ * Copyright (c) 2007 Stefan Goessner (goessner.net)
@kepford
kepford / gitignore
Created December 12, 2013 17:03
.gitignore
## Setting up sane default to help keep my repos clean
*.orig
*.patch
.DS_Store
.sass-cache/*
*.taskpaper
*.tp
# drupal dev sites
*.dev
diff --git a/panopoly_widgets.make b/panopoly_widgets.make
index 50e5f13..f37ca96 100644
--- a/panopoly_widgets.make
+++ b/panopoly_widgets.make
@@ -22,13 +22,13 @@ projects[file_entity][version] = 2.x-dev
projects[file_entity][subdir] = contrib
projects[file_entity][download][type] = git
projects[file_entity][download][revision] = 945bf90
-projects[file_entity][download][branch] = 7.x-2.x
+;projects[file_entity][download][branch] = 7.x-2.x