This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var bpm = 600; | |
var riff1 = "G M G R R G M G R R G G GGG M G R R G M G R R G G GG"; | |
var riff2 = "G M G R L L L L L LLLLRLLLLLLLG M G R L L L L L LLLLRLG G GG"; | |
var track = riff1 + riff2 + riff2 + riff1; | |
/** HERE BE DRONES */ | |
var $window = $(window); | |
var index = 0; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var gulp = require('gulp'); | |
var coffee = require('gulp-coffee'); | |
var concat = require('gulp-concat'); | |
var uglify = require('gulp-uglify'); | |
var compass = require('gulp-compass'); | |
var path = require('path'); | |
var config = { | |
jsExt: { | |
files: "js-ext/**/*", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var example = "This is my example"; | |
new function testFunction(){ | |
var example = "cool", | |
example = "cool2"; | |
} | |
// Will print out "This is my example" | |
console.log(example); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Markup | |
* <md-icon icon-fill="red" icon="'/img/icons/test.svg'" style="width: 32px; height: 32px;"></md-icon> | |
*/ | |
angular.module('material.components.icon.extra', [ | |
'ngMaterial' | |
]) | |
.directive('iconFill', function () { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var _ = require("lodash-node"); | |
var browserify = require('gulp-browserify'); | |
var browserSync = require("browser-sync"); | |
var del = require("del"); | |
var concat = require('gulp-concat'); | |
var eventEmitter = require('events').EventEmitter; | |
var fs = require('fs'); | |
var glob = require("glob"); | |
var gulp = require("gulp"); | |
var gulpif = require("gulp-if"); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React, { Component } from 'react'; | |
export default class MountedComponent extends Component { | |
constructor(props) { | |
super(props); | |
const scope = this; | |
const componentWillUnmount = this.componentWillUnmount; | |
this.componentWillUnmount = function() { | |
this.setState = () => {}; | |
componentWillUnmount.apply(this, arguments); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"inclusions": { | |
"base": { | |
"parameters": [ | |
{ | |
"parameterId": 1, | |
"answers": [] | |
} | |
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
answer: { | |
answerId: String, | |
percentage: Number | |
} | |
parameters: parameter / projectIds / surveyCategory | |
parameter: { | |
type: "parameter", | |
data: { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
// http://eslint.org/docs/rules/ | |
"ecmaFeatures": { | |
"binaryLiterals": false, // enable binary literals | |
"blockBindings": false, // enable let and const (aka block bindings) | |
"defaultParams": false, // enable default function parameters | |
"forOf": false, // enable for-of loops | |
"generators": false, // enable generators | |
"objectLiteralComputedProperties": false, // enable computed object literal property names |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import ApplicationAdapter from './application'; | |
export default ApplicationAdapter.extend({ | |
namespace: 'api/v1/admin' | |
}); |
OlderNewer