This file contains hidden or 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
//getting service from console | |
var $http = angular.element('body').injector().get('$http') | |
$http.get("api/v1/auth/status401") |
This file contains hidden or 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
function gitopen(){ | |
REPO="$1"; | |
if [ -z "$1" ]; then REPO="origin" ; fi | |
python -m webbrowser -t $(git config --get remote.$REPO.url) | |
} | |
function gitpull(){ | |
slush isc:updateApp; | |
} |
This file contains hidden or 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 groupBys = ["school", "class", "status"]; | |
var totals = ["notSubmitted", "notGraded"]; | |
var data = getData(); | |
function makeTree(values, level) { | |
level = level || 0; | |
var levelKey = groupBys[level]; | |
var addedVals = {}; | |
if ((level + 1) === groupBys.length) { |
This file contains hidden or 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
{ | |
"parser": "babel-eslint", | |
"parserOptions": { | |
"ecmaFeatures": { | |
"jsx": true | |
} | |
}, | |
"plugins": ["jest", "react"], | |
"extends": ["fbjs", "eslint:recommended", "plugin:react/recommended"], | |
"env": { |