Skip to content

Instantly share code, notes, and snippets.

import fs = require('fs');
import cdk = require('@aws-cdk/core');
import ec2 = require('@aws-cdk/aws-ec2');
import r53 = require('@aws-cdk/aws-route53');
import asg = require('@aws-cdk/aws-autoscaling');
import elb = require('@aws-cdk/aws-elasticloadbalancing');
export interface MssymbolServerCdkStackProps extends cdk.StackProps {
readonly vpc: string;
readonly asg_minCapacity: number;

Keybase proof

I hereby claim:

  • I am mrcustard on github.
  • I am mrcustard (https://keybase.io/mrcustard) on keybase.
  • I have a public key ASDjPLy2tPE0qHu_EHpIO1Fa9jCNump2_uz_V6hf8--vkwo

To claim this, I am signing this object:

@mrcustard
mrcustard / gist:a5d88f901c1453aa49b6
Created November 9, 2015 19:12
Logstash http output
PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target {:url=>"https://10.60.1.210:43191/module/httptrap/11437ea3-0e83-453c-b7e8-36a70dd7b4df/mys3cr3t", :method=>"log_failure", :body=>"{\"@version\":\"1\",\"@timestamp\":\"2015-11-09T19:00:16.818Z\",\"message\":\"logstash-prod-2\",\"events\":{\"count\":38,\"rate_1m\":0.4206987868421861,\"rate_5m\":0.8408852799790094,\"rate_15m\":0.9438631652111852},\"tags\":[\"metric\"]}", :headers=>{"Content-Type"=>"application/json"}, :class=>"Manticore::ClientProtocolException", :backtrace=>nil, :level=>:error, :file=>"logstash/outputs/http.rb", :line=>"149"}
@mrcustard
mrcustard / gist:fed970014b612a938937
Last active November 20, 2016 17:45
RVM update
rvm osx-ssl-certs status all
Certificates for /System/Library/OpenSSL/cert.pem: Old.
rvm osx-ssl-certs update all
Updating certificates for /System/Library/OpenSSL/cert.pem: Updating certificates in '/System/Library/OpenSSL/cert.pem'.
tee: /System/Library/OpenSSL/cert.pem: Operation not permitted
Failed.
sudo rvm osx-ssl-certs update all
Updating certificates for /System/Library/OpenSSL/cert.pem: Updating certificates in '/System/Library/OpenSSL/cert.pem'.
@mrcustard
mrcustard / gist:45ba76bcc0cd13babf1e
Created November 5, 2015 16:25
Omnibus Project
bundle exec omnibus build junkdrawer
[CLI] I | Using config from 'omnibus.rb'
Building junkdrawer 1.5.0+20151105160758...
[Software: preparation] I | Resolving manifest entry for preparation
[NullFetcher: preparation] I | Fetching `preparation' (nothing to fetch)
[Software: zlib] I | Resolving manifest entry for zlib
[NetFetcher: zlib] I | Downloading from `http://downloads.sourceforge.net/project/libpng/zlib/1.2.8/zlib-1.2.8.tar.gz'
[Software: ncurses] I | Resolving manifest entry for ncurses 0% (0 KB/sec)
[NetFetcher: ncurses] I | Downloading from `http://ftp.gnu.org/gnu/ncurses/ncurses-5.9.tar.gz'
[Software: libedit] I | Resolving manifes
@mrcustard
mrcustard / gist:8045138
Created December 19, 2013 19:52
logstash config
input {
syslog {
type => "syslog"
port => "514"
format => "plain"
}
file {
type => "syslog"