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
logspout-kafka|master ⇒ docker build -t gettyimages/logspout -f Dockerfile.example . | |
Sending build context to Docker daemon 71.68 kB | |
Sending build context to Docker daemon | |
Step 0 : FROM gliderlabs/logspout:master | |
# Executing 2 build triggers | |
Trigger 0, COPY ./modules.go /src/modules.go | |
Step 0 : COPY ./modules.go /src/modules.go | |
---> Using cache | |
Trigger 1, RUN cd /src && ./build.sh "$(cat VERSION)-custom" | |
Step 0 : RUN cd /src && ./build.sh "$(cat VERSION)-custom" |
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
{ | |
"builders": [{ | |
"type": "virtualbox-windows-ovf", | |
"source_path": "ovf/windows_2008_r2.bare.ova", | |
"headless": false, | |
"boot_wait": "1m", | |
"winrm_username": "packer", | |
"winrm_password": "packer", | |
"winrm_wait_timeout": "10m", | |
"guest_additions_mode": "disable", |
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
Config | |
MaxEnvelopeSizekb = 500 | |
MaxTimeoutms = 1800000 | |
MaxBatchItems = 32000 | |
MaxProviderRequests = 4294967295 | |
Client | |
NetworkDelayms = 5000 | |
URLPrefix = wsman | |
AllowUnencrypted = false | |
Auth |
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
<powershell> | |
write-output "Running User Data Script" | |
write-host "(host) Running User Data Script" | |
# Set TZ | |
#cmd.exe /c tzutil /s \"Pacific Standard Time\" | |
cmd.exe /c net user /add packer packer | |
cmd.exe /c net localgroup administrators packer /add | |
cmd.exe /c wmic useraccount where "name='packer'" set PasswordExpires=FALSE |
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
input { | |
tcp { | |
port => 5140 | |
type => "haproxy" | |
} | |
} | |
filter { | |
grok { | |
# break the input "message" into two parts: a priority structure, |
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
http://play.golang.org/p/ORXhGHM5xV | |
package main | |
import "fmt" | |
import "time" | |
type msg string | |
func main() { |
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
execute pathogen#infect() | |
Helptags | |
set background=dark | |
set encoding=utf-8 | |
set backupdir=~/tmp | |
" http://vim.wikia.com/wiki/Mac_OS_X_clipboard_sharing | |
set clipboard=unnamed |
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 groovy.json.* | |
if (args.size() == 0) { | |
println("missing argument") | |
System.exit(1) | |
} | |
def f = new File(args[0]) | |
if (!f.exists()) { | |
println("file doesn't exist") |
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
# $OpenBSD: sshd_config,v 1.89 2013/02/06 00:20:42 dtucker Exp | |
# This is the sshd server system-wide configuration file. See | |
# sshd_config(5) for more information. | |
# This sshd was compiled with PATH=/bin:/usr/sbin:/sbin:/usr/bin | |
# The strategy used for options in the default sshd_config shipped with | |
# OpenSSH is to specify options with their default value where | |
# possible, but leave them commented. Uncommented options change a |
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
package main | |
import ( | |
"bytes" | |
"encoding/base64" | |
"fmt" | |
"io/ioutil" | |
"log" | |
"net/http" | |
) |