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
make test-ci | |
--> Checking for other consul instances | |
==> Building Consul - OSes: darwin, Architectures: amd64 | |
Building sequentially with go install | |
---> darwin/amd64 | |
--> Running go vet | |
go test -tags '' -i "./..." | |
--> Running go test | |
{ go test -v -short -timeout 8m -p 3 -parallel 4 -tags '' "./..." 2>&1 ; echo $? > exit-code ; } | tee test.log | egrep '^(ok|FAIL|panic:|--- FAIL|--- PASS)' | |
ok github.com/hashicorp/consul (cached) [no tests to run] |
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
GOTEST_PKGS=./agent make test-ci | |
--> Checking for other consul instances | |
==> Building Consul - OSes: darwin, Architectures: amd64 | |
Building sequentially with go install | |
---> darwin/amd64 | |
--> Running go vet | |
go test -tags '' -i ./agent | |
--> Running go test | |
{ go test -v -short -timeout 8m -p 3 -parallel 4 -tags '' ./agent 2>&1 ; echo $? > exit-code ; } | tee test.log | egrep '^(ok|FAIL|panic:|--- FAIL|--- PASS)' | |
--- PASS: TestAgent_MultiStartStop (0.00s) |
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
import boto3 | |
import logging | |
#setup simple logging for INFO | |
logger = logging.getLogger() | |
logger.setLevel(logging.INFO) | |
#define the connection | |
ec2 = boto3.resource('ec2') |
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
#! /bin/bash | |
# HEADS UP! Make sure to use '*' or a valid hostname for the FDQN prompt | |
echo 01 > ca.srl | |
openssl genrsa -des3 -out ca-key.pem | |
openssl req -new -x509 -days 365 -key ca-key.pem -out ca.pem | |
openssl genrsa -des3 -out server-key.pem | |
openssl req -new -key server-key.pem -out server.csr |
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
# Generates necessary certificates to ~/.docker | |
# | |
# Usage: | |
# bundle install | |
# ruby certgen.rb <domain> | |
require 'certificate_authority' | |
require 'fileutils' | |
if ARGV.empty? |
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
<!-- | |
WARNING: THIS IS AN AUTO-GENERATED FILE. CHANGES TO IT ARE LIKELY TO BE | |
OVERWRITTEN AND LOST. Changes to this xml configuration should be made using: | |
virsh edit x32 | |
or other application using the libvirt API. | |
--> | |
<domain type='kvm'> | |
<name>x32</name> | |
<uuid>858082e2-3cee-445b-9aa5-f805906cac78</uuid> |
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
Windows Registry Editor Version 5.00 | |
;System Tweaks for Windows 7/8 2015 Edition | |
;Useful after a fresh Win installation | |
;Read the comments to see that will be changed and how you can optimize them | |
;No fucking "Tweak" tools needed.... | |
;But if you still like tools, I recommend RSW (registry System Wizard .NET) @WinFAQ.de | |
;http://www.winfaq.de/shop.htm |
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
# Get root: | |
sudo su | |
# Install prerequisites: | |
apt-get install build-essential pkg-config checkinstall git avahi-daemon libavahi-client-dev libcrack2-dev libwrap0-dev autotools-dev automake libtool libdb-dev libacl1-dev libdb5.1-dev db-util db5.1-util libgcrypt11 libgcrypt11-dev | |
# Build libevent from source: | |
cd /usr/local/src |