Skip to content

Instantly share code, notes, and snippets.

View nickcherry's full-sized avatar

Nick Cherry nickcherry

View GitHub Profile
@nickcherry
nickcherry / gulpfile.js
Last active August 29, 2015 14:06
digital-platform-uglification
/********************************************************************/
/* Imports */
/********************************************************************/
var Gulp = require('gulp');
var Concat = require('gulp-concat');
var Uglify = require('gulp-uglify');
/********************************************************************/
@nickcherry
nickcherry / sample-audio-sample.js
Last active August 29, 2015 14:06
Sample Audio Sample
{
"0": -0.2168882191181183,
"1": -0.18157310783863068,
"2": -0.10816243290901184,
"3": -0.044059522449970245,
"4": -0.04719730466604233,
"5": -0.12277217954397202,
"6": -0.20372386276721954,
"7": -0.20472729206085205,
"8": -0.10176539421081543,
@nickcherry
nickcherry / product.coffee
Last active August 29, 2015 14:05
Product Availability
angular.module('JCP').factory 'Product', ($resource, Config) ->
$resource "#{ Config.BASE_API_URL }/products/:id", {},
getAvailability:
method: 'GET'
url: "#{ Config.BASE_API_URL }/products/:id/availability"
isArray: true