Skip to content

Instantly share code, notes, and snippets.

View JeanMertz's full-sized avatar

Jean Mertz JeanMertz

View GitHub Profile
@JeanMertz
JeanMertz / result
Last active February 17, 2021 14:20
./target/debug/vector -q --config test.toml
{"bar":2}
{"foo":1}
{"baz":3}
{"foo":1}
{"bar":2}
{"baz":3}
{"bar":2}
{"foo":1}
{"baz":3}
@JeanMertz
JeanMertz / result
Last active February 17, 2021 09:35
./target/debug/vector -q --config vector.toml
{"foo":true}
{"bar":true}
#![warn(
unused,
unused_import_braces,
unused_lifetimes,
unused_qualifications,
unused_results,
)]
#![forbid(
unsafe_code,
future_incompatible,
@JeanMertz
JeanMertz / main.go
Last active August 20, 2017 21:49
Automated Kubernetes Google Cloud Platform routes
package main
import (
"fmt"
"log"
"time"
"golang.org/x/net/context"
"golang.org/x/oauth2/google"
compute "google.golang.org/api/compute/v1"
# apiVersion defines the version of the charts.yaml structure. Currently,
# only "v1" is supported.
apiVersion: v1
# name is the .Release.Name template value that charts can use in their
# templates, which can be overridden by the "--name" CLI flag. If omitted,
# "--name" is required.
name: my-bundled-apps
---
hello: world
node {
// # # + echo foo is:
// foo is:
withEnv(['FOO=bar']) {
sh 'echo "foo is: $FOO"'
}
// # # + echo hello is:
// hello is:
env.HELLO = 'world'
#!/bin/bash -e
####
# based on https://gist.github.com/jeffery/1115504
# Helper script to update the Last modified timestamp of files in a Git SCM
# Projects working Copy
#
# When you clone a Git repository, it sets the timestamp of all the files to the
# time when you cloned the repository.
#
# This becomes a problem when you want the cloned repository, which is part of a

Keybase proof

I hereby claim:

  • I am jeanmertz on github.
  • I am jeanmertz (https://keybase.io/jeanmertz) on keybase.
  • I have a public key whose fingerprint is 91C0 868A AE0C 04D6 F18A BC8F D41E 2C27 60F4 E0F4

To claim this, I am signing this object:

FROM bradrydzewski/ruby:2.0.0
WORKDIR /home/ubuntu
USER ubuntu
ENV DATABASE_URL postgres://localhost/test
ENV EXIT_ON_FIRST_FAILURE true
RUN gem install bundler