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 ( | |
"fmt" | |
"io" | |
"os" | |
) | |
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
1 sudo add-apt-repository ppa:avsm/ocaml41+opam12 | |
2 apt-add-repository | |
3 sudo apt-get install software-properties-common | |
4 sudo apt-get install build-essential | |
5 add-apt-repository ppa:avsm/ocaml41+opam12 | |
6 sudo add-apt-repository ppa:avsm/ocaml41+opam12 | |
7 sudo apt-get update | |
8 sudo apt-get install opam ocaml-native-compilers camlp4-extra | |
9 opam init | |
10 source .bashrc |
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
driver: | |
name: vagrant | |
customize: | |
natdnshostresolver1: 'on' |
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
describe "can handle fields that are are objects" do | |
tmpfile = Tempfile.new('logstash-spec-output-csv') | |
config <<-CONFIG | |
input { | |
generator { | |
message => "{\"foo\":{\"one\":\"two\"},\"baz\": \"quux\"}" | |
count => 1 | |
} | |
} | |
output { |