I hereby claim:
- I am nordbergm on github.
- I am nordbergm (https://keybase.io/nordbergm) on keybase.
- I have a public key ASDkSe2xF2MJ7-zBmesnebd3Eoiw5DdFnv0Bh-KRgjtgcgo
To claim this, I am signing this object:
| (function() { | |
| angular.module('k2.auth.services', []) | |
| .service('authService', ['$rootScope', '$http', function($rootScope, $http) { | |
| return { | |
| buildRequestSignature: function (identity, request) { | |
| var username = identity.username; | |
| var client = identity.clientId; | |
| var privateKey = identity.privateKey; | |
| var ts = new Date().getTime(); | |
| var nonce = Math.floor((1 + Math.random()) * 0x10000).toString(16).substring(1); |
| PUT /geo_sort | |
| { | |
| "mappings": { | |
| "place": { | |
| "properties": { | |
| "name": { | |
| "type": "string" | |
| }, | |
| "location": { | |
| "type": "geo_point" |
| import _ from 'lodash'; | |
| export class InMemoryMessageBus { | |
| constructor() { | |
| this.subscriptions = []; | |
| } | |
| publish(msgs) { | |
| return new Promise((resolve, reject) => { | |
| try { |
I hereby claim:
To claim this, I am signing this object: