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)
A friend of mine (yes I have non-Drupal friends) is ready to dive into
development, specifically Drupal. He was going to go to one of those developer
bootcamps like Hackreactor but isn't really interested in the Silicon Valley
startup scene and lifestyle. That said, he does want a bootcamp style on-ramp
to Drupal and the community. He wants to dive in hard and spend a significant
amount of time to get on-boarded as quickly as possible. He wants to switch
careers. I have offered to mentor him and get him plugged into the Drupal
community. He is 35 with two kids and a spouse. Fortunately he is able to
take some time off his current job to get going. He says he has studied HTML/CSS
and basic JS. He recently studied and was certified with some Cisco cert,
<?php
/**
* @file
* local.settings.php (Drupal 6.x)
*
* This settings file is intended to contain settings specific to a local
* development environment, by overriding options set in settings.php.
*
* Include this file from your regular settings.php by including this at the
* bottom: