Skip to content
View log.go
package utils
import (
// DecorateRuntimeContext appends line, file and function context to the logger
func DecorateRuntimeContext(logger *logrus.Entry) *logrus.Entry {
View gist:024f7f76c9f42f53449f
2015-07-17T17:17:31Z [INFO] Starting Agent: Amazon ECS Agent - v1.2.1 (5da1555)
2015-07-17T17:17:31Z [INFO] Loading configuration
2015-07-17T17:17:31Z [INFO] Checkpointing is enabled. Attempting to load state
2015-07-17T17:17:31Z [INFO] Loading state! module="statemanager"
2015-07-17T17:17:31Z [INFO] Registering Instance with ECS
2015-07-17T17:17:36Z [ERROR] Could not register module="api client" err="Post net/http: request canceled while waiting for connection"
2015-07-17T17:17:36Z [ERROR] Error registering: Post net/http: request canceled while waiting for connection

Keybase proof

I hereby claim:

  • I am mbrevoort on github.
  • I am mbrevoort ( on keybase.
  • I have a public key whose fingerprint is B2EC 5017 FDF9 8550 6F39 D6EF 007F CB86 C97D EE6D

To claim this, I am signing this object:

View gist:dcdbbb4e2d5b2f62f407
- redis
- docker
PROJECT_NAME: <your-project>
View gist:11028515
# consul - agent instance
description "consul agent"
start on networking
stop on runlevel [06]
# Respawn it if the process exits
View gist:6344896
SyntaxError: Unexpected token [
at Object.parse (native)
at parse (/home/appuser/thalassa-server-app/app/node_modules/thalassa/node_modules/seaport/node_modules/crdt/node_modules/scuttlebutt/node_modules/stream-serializer/index.js:20:17)
at Stream.onData [as write] (/home/appuser/thalassa-server-app/app/node_modules/thalassa/node_modules/seaport/node_modules/crdt/node_modules/scuttlebutt/node_modules/stream-serializer/index.js:34:7)
at Stream.write (/home/appuser/thalassa-server-app/app/node_modules/thalassa/node_modules/seaport/lib/seaport.js:199:11)
at (/home/appuser/thalassa-server-app/app/node_modules/thalassa/node_modules/seaport/node_modules/through/index.js:25:11)
at Stream.ondata (stream.js:51:26)
at Stream.EventEmitter.emit (events.js:117:20)
at (/home/appuser/thalassa-server-app/app/node_modules/thalassa/node_modules/seaport/node_modules/crdt/node_modules/scuttlebutt/node_modules/stream-serializer/index.js:58:33)
View LogstashUDP.js
// Really simple Winston Logstash UDP Logger
var dgram = require('dgram'),
util = require('util'),
os = require('os'),
winston = require('winston');
var LogstashUDP = module.exports = function (options) {, options);
options = options || {};
View desktopNotification.js
app.factory('desktopNotification', function ($window, $document) {
var focused = true;
var onFocus = function () { focused = true; };
var onBlur = function () { focused = false; };
if (/*@cc_on!@*/false) { // check for Internet Explorer
$document.onfocusin = onFocus;
$document.onfocusout = onBlur;
View isActive.js
// var isActive = new IsActive(10000, window);
// isActive.on('active', function () { console.log('active') });
// isActive.on('inactive', function () { console.log('inactive') });
// isActive.start();
var IsActive = function (timerPeriod, g) {
timerPeriod = parseInt(timerPeriod) || 60000;
if (!g) g = window;
var ACTIVE = true,
View package.json_private_module
// A module published to a private registry would optionally have a "registry"
// property that is a reference to the registry where this module is published.
// A `npm publish` would publish to the registry in the registry property.
// Otherwise, `npm --registry publish`
"name": "foo",
Something went wrong with that request. Please try again.