Skip to content

Instantly share code, notes, and snippets.

View tclavier's full-sized avatar

Thomas Clavier tclavier

View GitHub Profile

Keybase proof

I hereby claim:

  • I am tclavier on github.
  • I am tclavier (https://keybase.io/tclavier) on keybase.
  • I have a public key ASD1Z11pJyVrMPv9qvQ_Fvt7UGd18FmpAzXejk0zPW-VZgo

To claim this, I am signing this object:

@tclavier
tclavier / find-oldest-line
Created July 24, 2017 07:27
Find oldest line in git repo
#!/bin/bash
for file in $(find . -type f);
do
git blame --date=format:%Y%m%d $file
done | sed -e 's/.*\s\([0-9]\{8\}\)\s.*/\1/' | sort -r | tail
@tclavier
tclavier / fleet.log
Created May 19, 2015 14:03
Fleet errors : PUT cancelled
DEBUG client.go:370: etcd: recv error response from PUT https://etcd:2379/v2/keys/_coreos.com/fleet/states/7fb1f554-6199-4c51-9472-e2eede94903c.IUT.lb.service/08047f0f224f430bb78d258d31ae5d24: cancelled
INFO client.go:292: Failed getting response from https://etcd:2379/: cancelled
DEBUG client.go:370: etcd: recv error response from PUT https://etcd:2379/v2/keys/_coreos.com/fleet/job/1e70b2e7-55e5-403e-95ca-1e525c2bcee8.skillreso.db.service/job-state: cancelled
INFO client.go:292: Failed getting response from https://etcd:2379/: cancelled
DEBUG client.go:370: etcd: recv error response from PUT https://etcd:2379/v2/keys/_coreos.com/fleet/job/7fb1f554-6199-4c51-9472-e2eede94903c.IUT.tomcat.service/job-state: cancelled
INFO client.go:292: Failed getting response from https://etcd:2379/: cancelled
DEBUG client.go:370: etcd: recv error response from PUT https://etcd:2379/v2/keys/_coreos.com/fleet/job/1e70b2e7-55e5-403e-95ca-1e525c2bcee8.skillreso.ember.service/job-state: cancelled
INFO client.go:292: Failed getting