Skip to content

Instantly share code, notes, and snippets.

John Chappell aljopro

Block or report user

Report or block aljopro

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
@aljopro
aljopro / array-examples.js
Last active Jul 7, 2017
Functional Javascript
View array-examples.js
"use strict";
//Array.prototype.map
function multiplyBy ( multiplier ) {
return function ( value ) {
return value * multiplier;
};
}
var array = [1, 2, 3, 4, 2];
@aljopro
aljopro / gulpfile.js
Created Jun 10, 2017
Static Site Generator using Gulp, Nunjucks, and Markdown with Front Matter
View gulpfile.js
const gulp = require('gulp');
const nunjucksRender = require('gulp-nunjucks-render');
const gulpGrayMatter = require('gulp-gray-matter');
const debug = require('gulp-debug');
const markdown = require('gulp-markdown');
const data = require('gulp-data');
const through = require('through2');
const fs = require('fs');
const path = require('path');
@aljopro
aljopro / expandable-content.css
Last active Mar 31, 2017
ADA compliant Expandable Content Component for Knockout
View expandable-content.css
.expandable-content-collapsed .expandable-content-wrapper {
display: none;
}
You can’t perform that action at this time.