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
{ | |
"query": { | |
"term": { | |
"_accountUuid": "fe0ffc2c-589e-4b5c-8a72-917aae097f44" | |
}, | |
"size": 1, | |
"sort": [ | |
{ | |
"@timestamp": "desc" | |
}] |
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
{ | |
"query":{ | |
"bool":{ | |
"must":[ | |
{ | |
"match":{ | |
"_accountUuid":"fe0ffc2c-589e-4b5c-8a72-917aae097f44" | |
} | |
}] |
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
{ | |
"query":{ | |
"bool":{ | |
"must":[ | |
{ | |
"match":{ | |
"_accountUuid":"fe0ffc2c-589e-4b5c-8a72-917aae097f44" | |
} | |
}] |
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
// Karma configuration | |
// Generated on Fri Oct 10 2014 17:58:36 GMT-0400 (EDT) | |
module.exports = function(config) { | |
config.set({ | |
// base path that will be used to resolve all patterns (eg. files, exclude) | |
basePath: '../..', | |
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
{ | |
"list":[ | |
{ | |
"type":"Account", | |
"name":"TEstLog", | |
"uuid":"3dc105b6-6ae9-40c4-b54f-f97a37a7c5ca" | |
}, | |
{ | |
"type":"Account", | |
"name":"pochen", |
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
~/dev/rest-api $ npm install | |
npm WARN package.json node-api@ No description | |
npm WARN package.json node-api@ No repository field. | |
npm WARN package.json node-api@ No README data | |
npm ERR! error rolling back Error: ENOTDIR, unlink '/Users/tristanpendergrass/dev/rest-api/node_modules/body-parser' | |
npm ERR! error rolling back [email protected] { [Error: ENOTDIR, unlink '/Users/tristanpendergrass/dev/rest-api/node_modules/body-parser'] | |
npm ERR! error rolling back errno: 27, | |
npm ERR! error rolling back code: 'ENOTDIR', | |
npm ERR! error rolling back path: '/Users/tristanpendergrass/dev/rest-api/node_modules/body-parser' } | |
npm ERR! Error: ENOTDIR, unlink '/Users/tristanpendergrass/dev/rest-api/node_modules/body-parser' |
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
{ | |
"name": "node-api", | |
"main": "server.js", | |
"dependencies": { | |
"express": "~4.0.0", | |
"mongoose": "~3.6.13", | |
"body-parser": "~1.0.1" | |
} | |
} |
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
angular.module('berlin') | |
.directive('jsonDl', function ($sce) { | |
return { | |
restrict: 'E', | |
template: '<a href="{{dataUrl}}">Download</a>', | |
controller: function (scope) { | |
scope.dataUrl = 'http://google.com'; | |
} | |
} | |
}); |
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
'use strict'; | |
(function () { | |
var app = angular.module('initializer', [ | |
'ui.router', | |
'constant', | |
'ngCookies', | |
'authService', | |
'ngRoute' |
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 setTime (onChunk) { | |
if (typeof onChunk === 'undefined') return; | |
var time = moment($scope.sliderTimes[onChunk]); | |
$scope.instanceTime = time.format('MMMM Do YYYY, h:mm:ss a'); | |
$scope.$apply(); | |
}; |
OlderNewer