Skip to content

Instantly share code, notes, and snippets.

View JordanDDisch's full-sized avatar
🏄‍♂️
Working and Surfing

Jordan Disch JordanDDisch

🏄‍♂️
Working and Surfing
  • Australia
View GitHub Profile
const fetch = require('node-fetch')
const crypto = require('crypto')
const path = require('path')
const fs = require('fs');
const _ = require('lodash');
exports.sourceNodes = async ({ actions }) => {
const { createNode } = actions
const createProduct = (var1, var2) => {
{
"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.24",
"wikimedia/composer-merge-plugin": "~1.4",
"drupal/core": "~8.3",
"jordanddisch/sonesta": "1.1.3"
<?php
/**
* @file
* Local development override configuration feature.
*
* To activate this feature, copy and rename it such that its path plus
* filename is 'sites/default/settings.local.php'. Then, go to the bottom of
* 'sites/default/settings.php' and uncomment the commented lines that mention
* 'settings.local.php'.
<link href="https://cloud.typography.com/6554094/7880952/css/fonts.css" rel="stylesheet" type="text/css" />
<link href="https://fonts.googleapis.com/css?family=Arvo" rel="stylesheet" /><script src="https://www.sonesta.com/sites/all/modules/contrib/jquery_update/replace/jquery/1.10/jquery.min.js"></script><script>
document.write('<script src="http://' + (location.host || 'localhost').split(':')[0] + ':35729/livereload.js?snipver=1"></' + 'script>')
</script><script type="text/javascript" src="https://modulist.github.io/sonesta-spring-stays/js/spring-stays.js"></script><script type="text/javascript">
$(".listitems.autosort").each(function(){
$(this).html($(this).children('li').sort(function(a, b){
return ($(b).data('position')) < ($(a).data('position')) ? 1 : -1;
}));
});
</script>
<?php
ini_set('max_execution_time', 0);
/**
* @file
* Drupal site-specific configuration file.
*
* IMPORTANT NOTE:
* This file may have been set to read-only by the Drupal installation program.
* If you make changes to this file, be sure to protect it again after making
$(document).ready(function(){
// browser window scroll (in pixels) after which the "menu" link is shown
var offset = 300;
var navigationContainer = $('#cd-nav'),
mainNavigation = navigationContainer.find('#cd-main-nav ul');
//hide or show the "menu" link
@JordanDDisch
JordanDDisch / SassMeister-input-HTML.html
Last active August 29, 2015 14:18
Generated by SassMeister.com.
<div class="container">
<div class="container__item">item</div>
<div class="container__item">item</div>
<div class="container__item">item</div>
<div class="container__item">item</div>
<div style="background: blue;" class="container__item">item</div>
<div style="background: blue;" class="container__item">item</div>
<div style="background: blue;" class="container__item">item</div>
<div style="background: blue;" class="container__item">item</div>
<div style="background: green;" class="container__item">item</div>
@JordanDDisch
JordanDDisch / SassMeister-input-HTML.html
Created April 8, 2015 12:02
Generated by SassMeister.com.
<div class="container">
<div class="container__item--1">item</div>
<div class="container__item--2">item</div>
<div class="container__item--3">item</div>
<div class="container__item--4">item</div>
</div>