This file contains 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
# happy comment | |
resource "foo" "bar" { | |
} | |
// red angry comment | |
resource "foo" "bar" { | |
} |
This file contains 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
include ../../../common/Makefile.base |
This file contains 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
data "aws_vpc" "common" { | |
filter { | |
name = "tag:Name" | |
values = ["common"] | |
} | |
} | |
data "aws_subnet" "common" { | |
count = "${var.availability_zone_count}" | |
vpc_id = "${data.aws_vpc.common.id}" |
This file contains 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
2016-05-10T08:13:03+00:00 localhost haproxy[21]: 192.168.99.1:52177 [10/May/2016:08:12:58.762] http-in webapp-http/webapp 0/0/0/5003/5003 200 185 - - ---- 1/1/1/1/0 0/0 "GET / HTTP/1.1" | |
2016-05-10T08:13:03+00:00 localhost haproxy[21]: 192.168.99.1:52178 [10/May/2016:08:12:58.916] http-in webapp-http/webapp 0/0/0/5002/5002 200 185 - - ---- 0/0/0/0/0 0/0 "GET / HTTP/1.1" | |
2016-05-10T08:49:25+00:00 localhost haproxy[21]: 192.168.99.1:53129 [10/May/2016:08:49:20.815] http-in webapp-http/webapp 161/0/1/5006/5168 200 185 - - ---- 0/0/0/0/0 0/0 "GET / HTTP/1.1" | |
2016-05-10T08:49:32+00:00 localhost haproxy[21]: 192.168.99.1:53131 [10/May/2016:08:49:27.270] http-in webapp-http/webapp 163/0/0/5005/5168 200 185 - - ---- 0/0/0/0/0 0/0 "GET / HTTP/1.1" | |
2016-05-16T00:30:59+00:00 localhost haproxy[20]: Proxy http-in started. | |
2016-05-16T00:32:42+00:00 localhost haproxy[20]: Proxy http-in started. | |
2016-05-16T00:32:56+00:00 localhost haproxy[21]: 192.168.99.1:52781 [16/May/2016:00:32:51.524] http-in webapp-http/webapp 175/0/1/50 |
This file contains 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
$tt <= 1 { | |
haproxy_frontend_total_time_milliseconds_bucket[$frontend_name][".001"]++ | |
} | |
$tt <= 2 { | |
haproxy_frontend_total_time_milliseconds_bucket[$frontend_name][".002"]++ | |
} | |
$tt <= 3 { | |
haproxy_frontend_total_time_milliseconds_bucket[$frontend_name][".003"]++ | |
} | |
$tt <= 5 { |
This file contains 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
option_settings: | |
aws:elb:loadbalancer: | |
SecurityGroups: | |
- (ID of externally created security group with controlled SSH inbound access) | |
ManagedSecurityGroup: (same SG as above) | |
aws:elb:listener:22: | |
ListenerProtocol: TCP | |
InstanceProtocol: TCP | |
InstancePort: 22 | |
aws:elb:policies: |
This file contains 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
/.vagrant |
This file contains 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
[alias] | |
outdated = "!f() { bash -c 'diff -u <(git branch --no-merged master) <(git branch --contains master) | egrep \"^- \"'; }; f" | |
update = "!f() { set -e; git checkout $1; git rebase master; git push -f origin $1; git checkout -; }; f" |
This file contains 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
require 'chef/knife' | |
module Chef | |
module Knife | |
class DiffEnvironment < Chef::Knife | |
banner 'knife diff environment ENVIRONMENT_FILE' | |
deps do | |
require 'chef/environment' |
This file contains 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
FROM ubuntu:14.04 | |
ENV CURL_VERSION 7.35.0 | |
ADD prepare.sh / | |
RUN /prepare.sh | |
ADD ssh-support.patch / | |
ADD build.sh / | |
RUN /build.sh |