- The unix socket is executable. Let's change this.
- All users have read+write permissions on the socket. This has been the case for a long time. I deployed grr 1.0.0, and as expected we don't chmod the socket in our bosh release there. As far as I can see we never have.
- Its default path is /var/vcap/data/garden/garden.sock. This default is unchanged in typical CF deployments. The ancestor dirs in that default path
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
go list -f '{{join .Deps "\n"}}' ./... | xargs go list -f '{{if not .Standard}}{{.ImportPath}}{{end}}' | xargs go install -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 ( | |
"crypto/tls" | |
"fmt" | |
"os" | |
"os/exec" | |
"github.com/cloudfoundry/noaa/consumer" | |
"github.com/cloudfoundry/sonde-go/events" |
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
From 5fbff5f152bc032c54dce72623d9a047e0596138 Mon Sep 17 00:00:00 2001 | |
From: Craig Furman <[email protected]> | |
Date: Wed, 4 Oct 2017 18:00:13 +0100 | |
Subject: [PATCH] Update to version 6.32.0 | |
--- | |
.SRCINFO | 18 ++++++++---------- | |
PKGBUILD | 10 +++++----- | |
2 files changed, 13 insertions(+), 15 deletions(-) |
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 | |
set -euo pipefail | |
for sub in $(git submodule | awk '{print $2}'); do | |
( | |
cd "$sub" | |
if git status | grep "Your branch is ahead of" >/dev/null 2>&1 ; then | |
git push | |
fi | |
) |
I hereby claim:
- I am craigfurman on github.
- I am craigfurman (https://keybase.io/craigfurman) on keybase.
- I have a public key ASBV_NaR1wAph0IABRagkJVrX8jKeZ_Y7QRfUSU2ii_fswo
To claim this, I am signing this object:
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 ( | |
"context" | |
"fmt" | |
"log" | |
"math/rand" | |
"os" | |
"time" |
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 headers | |
import ( | |
"net/http" | |
"net/http/httptest" | |
"testing" | |
"github.com/stretchr/testify/require" | |
) |