Skip to content

Instantly share code, notes, and snippets.

View nsluss's full-sized avatar

Noah Sluss nsluss

  • San Francisco
View GitHub Profile

Keybase proof

I hereby claim:

  • I am nsluss on github.
  • I am nsluss (https://keybase.io/nsluss) on keybase.
  • I have a public key ASA4luYC3RyJiWm6OldeXszcwUqcJQEfWAEzNFq-YPzX1Qo

To claim this, I am signing this object:

@nsluss
nsluss / index.html
Created September 5, 2015 02:05
Intro to grid systems
<!DOCTYPE html>
<html>
<head>
<title>css grids</title>
<link rel="stylesheet" type="text/css" href="https://cdnjs.cloudflare.com/ajax/libs/foundation/5.5.2/css/foundation.css">
<style type="text/css">
.large-2 {
background-color: #95a5a6;
}
.large-4 {
'use strict';
var reduceRight = Array.prototype.reduceRight;
var reduce = Array.prototype.reduce;
// (c -> d, b -> c, a -> b...) -> a -> d
var compose = function () {
return reduceRight.bind(arrayify(arguments), applyLeft\
);
};
// (Number, Number) -> Number
function sum (x, y) {/*...*/}
/ /Number -> Number
var add3 = sum.bind(null, 3);
// Number -> Number -> Number
function makeAdder (x) {
return sum.bind(null, x);
}