- By Edmond Lau
- Highly Recommended 👍
- http://www.theeffectiveengineer.com/
- They are the people who get things done. Effective Engineers produce results.
// CODIGO PARA EL CONTADOR DE MIERDA | |
var n = 0; | |
var caja_de_texto = document.getElementById("number"); | |
var today = new Date(); | |
var today_abs = new Date(); | |
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 |
~/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 |
# download latest 1.12.X on homebrew | |
brew install https://raw.githubusercontent.com/Homebrew/homebrew-core/57c458840f9015ceec58c9793bd50151c1aedf86/Formula/go.rb |
#! /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 |
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, |
#! /bin/bash | |
set -e | |
gopls version | |
TMP_DIR="$(mktemp -d)" | |
cd "$TMP_DIR" | |
git clone [email protected]:golang/tools.git | |
cd tools/gopls | |
go install . |
# 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() { |