Skip to content

Instantly share code, notes, and snippets.

Avatar

Jens Peter Secher jpsecher

View GitHub Profile
@lestephane
lestephane / Dockerfile
Created Sep 10, 2017
Dockerized terraform bundler
View Dockerfile
FROM golang:alpine
RUN apk update && apk upgrade && \
apk add --no-cache git zip
ARG TERRAFORM_VERSION
RUN git clone --single-branch --branch v${TERRAFORM_VERSION} https://github.com/hashicorp/terraform.git /go/src/github.com/hashicorp/terraform
RUN cd $GOPATH/src/github.com/hashicorp/terraform && echo $GOPATH && go install ./tools/terraform-bundle
@tomfa
tomfa / snsToSlack.js
Last active Nov 29, 2018 — forked from terranware/snsToSlack.js
AWS Lambda function SNS -> Slack Channel
View snsToSlack.js
var https = require('https');
var util = require('util');
var CHANNEL = "#aws-sns";
var PATH = "/services/your-slack-webhook-url-info-goes-here";
exports.handler = function(event, context) {
console.log(JSON.stringify(event, null, 2));
console.log('From SNS:', event.Records[0].Sns.Message);
@p3t3r67x0
p3t3r67x0 / openssl_commands.md
Last active Nov 9, 2020
Some list of openssl commands for check and verify your keys
View openssl_commands.md

openssl

Install

Install the OpenSSL on Debian based systems

sudo apt-get install openssl