I hereby claim:
- I am mbrevoort on github.
- I am mbrevoort (https://keybase.io/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:
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 Stream.stream.write (/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 Stream.stream.emit (/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) | |
at Stream.st |
# consul - agent instance | |
# | |
description "consul agent" | |
start on networking | |
stop on runlevel [06] | |
# Respawn it if the process exits | |
respawn |
machine: | |
services: | |
- redis | |
- docker | |
environment: | |
PROJECT_NAME: <your-project> | |
checkout: | |
post: |
I hereby claim:
To claim this, I am signing this object:
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 https://ecs.us-east-1.amazonaws.com/: net/http: request canceled while waiting for connection" | |
2015-07-17T17:17:36Z [ERROR] Error registering: Post https://ecs.us-east-1.amazonaws.com/: net/http: request canceled while waiting for connection |
package utils | |
import ( | |
"runtime" | |
"github.com/Sirupsen/logrus" | |
) | |
// DecorateRuntimeContext appends line, file and function context to the logger | |
func DecorateRuntimeContext(logger *logrus.Entry) *logrus.Entry { |
name: Domination Bot | |
description: A Bot to rule them all | |
avatar: avatar.jpg | |
config: | |
- name: AWS_REGION | |
friendly_name: AWS Region | |
info: Region of deployment (e.g. us-eas-1) | |
default: us-east-1 | |
type: text | |
global: true |
var controller = Botkit.slackbot({ debug: false }) | |
controller.hears('.*', 'direct_message,direct_mention', function (bot, message) { | |
witbot.process(message.text, bot, message) | |
}) | |
witbot.hears('hello', 0.5, function (bot, message, outcome) { | |
bot.reply(message, 'Hello to you as well!') | |
}) |
#!/bin/bash | |
# takes a directory as the first argument and loops through all of the jpg | |
# images watermarking them into a watermark folder within that directory. | |
DIRECTORY=$1 | |
WATERMARK=$2 | |
mkdir -p $1/watermark | |
for filename in $DIRECTORY/* | |
do |
var Botkit = require('botkit') | |
var controller = Botkit.slackbot() | |
require('beepboop-botkit').start(controller) | |
controller.hears('hello', ['direct_message', 'direct_mention', 'mention'], function (bot, message) { | |
bot.reply(message, 'Hello!') | |
}); |