I hereby claim:
- I am tcrosen on github.
- I am terry (https://keybase.io/terry) on keybase.
- I have a public key whose fingerprint is 88B8 583B EBCB 4DCB 0F41 F6B9 8B50 EC21 1E11 B16E
To claim this, I am signing this object:
{ | |
"cmd": ["node", "$file_name"], | |
"selector": "source.js", | |
"working_dir" : "$file_path" | |
} |
// | |
// IF YOU SMELLL... | |
// | |
var WHAT_THE_ROCK_IS_COOKIN = function THE_PEOPLES_FIBONACCI(IT_DOESNT_MATTER_WHAT_SIZE_YOU_WANT) { | |
var ONE = 0, | |
TWO = 1, | |
WHOS_NEXT, KO = 2, | |
THE_ROCK_SAYS = [ONE, TWO]; |
/** | |
* Example of using an angular provider to build an api service. | |
* @author Jeremy Elbourn (jelbourn@google.com) | |
*/ | |
/** Namespace for the application. */ | |
var app = {}; | |
/******************************************************************************/ |
placeholder |
I hereby claim:
To claim this, I am signing this object:
var skatersuperstatsApp = angular.module('skatersuperstatsApp', ['ngRoute','ui.bootstrap']); | |
skatersuperstatsApp.controller('PlayerDataCtrl', function($scope, $http) { | |
$scope.showFilters=false; | |
$scope.showFilterText='Show Data Filters'; | |
$scope.toggleShowFilters = function() { | |
if ($scope.showFilters) { | |
$scope.showFilters=false; |
// I was performing a simple update of a MongoDB object | |
// .update() doesn't return the data after execution | |
// Because I wasn't concerned with the return value from .update(), | |
// I foolishly forgot to add callback parameters to account for a possible error being returned. | |
// The result was a silent failure that was breaking my tests causing much frustration. | |
// bad | |
function savePerson(newPersonData, done) { | |
Person.findByEmail({ email: newPersonData.email ), function(err, person) { | |
if (err) { done(err); } |
Don't worry, I'll be fine
var moment = require('moment-range'); | |
var request = require('request'); | |
var _ = require('lodash'); | |
var url = require('url'); | |
var start = new Date(2014, 9, 8); | |
var end = new Date(); | |
var range = moment().range(start, end); | |
// Gets boxscore links from scores page |
{ | |
"node": true, | |
"browser": true, | |
"esnext": true, | |
"bitwise": true, | |
"camelcase": true, | |
"curly": true, | |
"eqeqeq": true, | |
"immed": true, | |
"indent": 2, |