- Branch has been rebased with
master
- Commits
- Have been properly set-up
- Merge strategy has been specified in the corresponding section
- Reviewers have been set
- New or changing code is properly tested
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 -e | |
gopls version | |
TMP_DIR="$(mktemp -d)" | |
cd "$TMP_DIR" | |
git clone git@github.com:golang/tools.git | |
cd tools/gopls | |
go install . |
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
# if you got some complain from xcode run this: | |
# sudo xcode-select -switch /Applications/Xcode.app/Contents/Developer | |
# this is the map that goes to your vimrc | |
map <c-y> :!git difftool -y --tool=opendiff %<cr> |
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
# usage from another script: | |
# source /path/to/graphql.sh | |
# graphql http://localhost:8080/graphql "$SOME_QUERY_OR_MUTATION" | |
# where $SOME_QUERY_OR_MUTATION is the raw query or mutation, with quotes, new lines etc. | |
require() { | |
command -v "$1" >/dev/null 2>&1 || { echo >&2 "$1 program is required"; exit 1; } | |
} | |
graphql() { |
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 -e | |
gopls version | |
TMP_DIR="$(mktemp -d)" | |
cd "$TMP_DIR" | |
git clone git@github.com:golang/tools.git | |
cd tools/gopls | |
go install . |
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
Hey, | |
So I've been thinking about the source of data for the delivery system which is | |
the creation of the delivery. I've read a bit and talk to some people and | |
wanted to share some info. | |
First, the difference between a command and an event is their intent. Both are | |
DTOs (just transfer data) but: | |
- an event is something that happened in the past in the producer of the event, |
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 | |
# makes gorename work with relative pkg paths | |
command -v gorename >/dev/null 2>&1 || { echo >&2 "I require gorename to run. Install with go get golang.org/x/tools/cmd/gorename. Aborting."; exit 1; } | |
if [ $# -ne 2 ]; then | |
echo >&2 "I require two args: origin symbol and destination symbol. Aborting." | |
exit 1 | |
fi |
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
# download latest 1.12.X on homebrew | |
brew install https://raw.githubusercontent.com/Homebrew/homebrew-core/57c458840f9015ceec58c9793bd50151c1aedf86/Formula/go.rb |
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
~/gosrc/src master ⇣ | |
❯ for i in `go list ./... | grep -v internal | sed 's#_/Users/gonzalo/gosrc/src/##'`; do if ! [[ -f $i/example_test.go ]]; then echo $i; fi; done | |
builtin | |
cmd/addr2line | |
cmd/api | |
cmd/asm | |
cmd/buildid | |
cmd/cgo | |
cmd/compile | |
cmd/cover |
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 Status 500 - com.google.common.util.concurrent.UncheckedExecutionException: com.netflix.hystrix.exception.HystrixRuntimeException: TenantContextCommand short-circuited and fallback failed. | |
type Exception report | |
message com.google.common.util.concurrent.UncheckedExecutionException: com.netflix.hystrix.exception.HystrixRuntimeException: TenantContextCommand short-circuited and fallback failed. | |
description The server encountered an internal error that prevented it from fulfilling this request. | |
exception |
NewerOlder