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
// CPPSandbox.cpp : This file contains the 'main' function. Program execution begins and ends there. | |
// | |
#include <iostream> | |
#include <activeds.h> | |
#include <AdsHlp.h> | |
int main() | |
{ | |
HRESULT hr; |
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
Instalando HomeBrew /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" | |
Instalando o Git | |
brew install git | |
Instalando o Pip | |
brew install pip3 | |
Instalando o pyenv | |
brew install pyenv |
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
#!/sbin/openrc-run | |
depend() { | |
need localmount | |
after net | |
} | |
start() { | |
ebegin "Starting Vault" | |
start-stop-daemon --background --start --exec /go/bin/vault -- server -config /go/src/github.com/hashicorp/vault/vault.json -address=http://127.0.0.1:8200 -log-level=DEBUG -tls-skip-verify |
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
#!/sbin/openrc-run | |
depend() { | |
need localmount | |
after net | |
} | |
start() { | |
ebegin "Starting Consul" | |
start-stop-daemon --background --start --exec /go/bin/consul -- agent -server -config-file=/go/src/github.com/hashicorp/consul/consul.json |
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
listener "tcp" { | |
address = "127.0.0.1:8200" | |
tls_disable = 1 | |
} | |
backend "consul" { | |
address = "127.0.0.1:8500" | |
advertise_addr = "http://127.0.0.1:8200" | |
path = "tmp/vault/" | |
scheme = "http" |
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
{ | |
"bootstrap": true, | |
"server": true, | |
"datacenter": "nyc2", | |
"data_dir": "/var/consul", | |
"encrypt": "CONSUL_ENCRYPT", | |
"log_level": "DEBUG" | |
} |
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
[supervisord] | |
nodaemon=true | |
[program:consul] | |
command=$GOPATH/bin/consul agent -server -config-file=$GOPATH/src/github.com/hashicorp/consul/consul.json | |
autostart=true | |
[program:vault] | |
command=$GOPATH/bin/vault server -config $GOPATH/src/github.com/hashicorp/vault/vault.json | |
autostart=true |
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 golang:1.10.0-alpine3.7 | |
RUN apk update && apk add --no-cache bash curl g++ gcc git make openrc supervisor unzip zip | |
RUN mkdir -p /run/openrc && \ | |
touch /run/openrc/softlevel | |
RUN mkdir -p $GOPATH/src/github.com/hashicorp && \ | |
cd $! && \ | |
git clone https://github.com/hashicorp/consul.git $GOPATH/src/github.com/hashicorp/consul && \ |
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 node:10-alpine | |
RUN apk update && apk add --no-cache wget nginx musl git bash unzip libstdc++ make g++ gcc libgcc python2 curl ca-certificates tar gzip | |
RUN npm i ionic cordova -g | |
ENV ANDROID_HOME /opt/android-sdk-linux | |
ENV SDK_TOOLS_VERSION 25.2.5 | |
ENV API_LEVELS android-23 | |
ENV BUILD_TOOLS_VERSIONS build-tools_r27.0.0 |
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 alpine:3.7 | |
LABEL maintainer = "Marylly Araújo Silva <[email protected]>" | |
RUN apk update && apk add --update --no-cache --virtual build-dep \ | |
g++ libstdc++ \ | |
gcc libgcc \ | |
git \ | |
jpeg-dev \ | |
libc-dev \ |
NewerOlder