I hereby claim:
- I am elmobp on github.
- I am elmobp (https://keybase.io/elmobp) on keybase.
- I have a public key ASDIYBk8V6ZL85hYJ_nwKHRafVQpW2mAUQCCiJfuCUxNZQo
To claim this, I am signing this object:
#!/bin/bash | |
set -eo pipefail | |
# | |
# MongoDB Backup Script | |
# VER. 0.20 | |
# More Info: http://github.com/micahwedemeyer/automongobackup | |
# Note, this is a lobotomized port of AutoMySQLBackup | |
# (http://sourceforge.net/projects/automysqlbackup/) for use with | |
# MongoDB. |
coffee scirpt | |
module.exports = (robot) -> | |
robot.respond /agile\s+(.+)/i, (msg) -> | |
input = msg.match[1] | |
cp = require "child_process" | |
encoded = new Buffer(input).toString('base64') | |
cp.exec "bundle exec ruby scripts/ruby/agile.rb #{encoded}", (error, stdout, stderr) -> | |
if error | |
msg.send "Error: #{error.code} - #{stderr}" |
reporting-disabled = false | |
[meta] | |
dir = "/var/lib/influxdb/meta" | |
retention-autocreate = true |
#Interval 10 | |
#ReadThreads 5 | |
#LoadPlugin syslog | |
#<Plugin "syslog"> | |
# LogLevel "err" | |
#</Plugin> | |
LoadPlugin logfile | |
<Plugin "logfile"> |
###################################################################################################################### | |
# Copyright 2016 Amazon.com, Inc. or its affiliates. All Rights Reserved. # | |
# # | |
# Licensed under the Amazon Software License (the "License"). You may not use this file except in compliance # | |
# with the License. A copy of the License is located at # | |
# # | |
# http://aws.amazon.com/asl/ # | |
# # | |
# or in the "license" file accompanying this file. This file is dist |
aws ec2 create-tags --resources $(wget -q -O- http://169.254.169.254/latest/meta-data/instance-id) --tags Key=Name,Value=DeploymentServer |
while [ ! -f /tmp/deployed.txt ] | |
do | |
sleep 2 | |
done |
#!/usr/bin/env bash | |
# Licensed to the Apache Software Foundation (ASF) under one or more | |
# contributor license agreements. See the NOTICE file distributed with | |
# this work for additional information regarding copyright ownership. | |
# The ASF licenses this file to You under the Apache License, Version 2.0 | |
# (the "License"); you may not use this file except in compliance with | |
# the License. You may obtain a copy of the License at | |
# | |
# http://www.apache.org/licenses/LICENSE-2.0 | |
# |
package main | |
import ( | |
"bytes" | |
"context" | |
"flag" | |
"fmt" | |
"io" | |
"io/ioutil" | |
"log" |
I hereby claim:
To claim this, I am signing this object: