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
local on_windows = vim.loop.os_uname().version:match 'Windows' | |
local function join_paths(...) | |
local path_sep = on_windows and '\\' or '/' | |
local result = table.concat({ ... }, path_sep) | |
return result | |
end | |
vim.cmd [[set runtimepath=$VIMRUNTIME]] |
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
local on_windows = vim.loop.os_uname().version:match 'Windows' | |
local function join_paths(...) | |
local path_sep = on_windows and '\\' or '/' | |
local result = table.concat({ ... }, path_sep) | |
return result | |
end | |
vim.cmd [[set runtimepath=$VIMRUNTIME]] |
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
match operacao: | |
case 1: | |
... | |
case 2: | |
... | |
case 3: | |
... |
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
% docker run -e GO111MODULE=on -it golang:1.12 go get github.com/golangci/golangci-lint/cmd/golangci-lint@latest | |
go: finding github.com/golangci/golangci-lint/cmd/golangci-lint latest | |
go: finding github.com/golangci/golangci-lint/cmd latest | |
go: finding github.com/golangci/golangci-lint v1.17.1 | |
go: downloading github.com/golangci/golangci-lint v1.17.1 | |
go: extracting github.com/golangci/golangci-lint v1.17.1 | |
go: finding github.com/spf13/afero v1.1.0 | |
go: finding github.com/golangci/revgrep v0.0.0-20180526074752-d9c87f5ffaf0 | |
go: finding github.com/shirou/w32 v0.0.0-20160930032740-bb4de0191aa4 | |
go: finding github.com/mitchellh/mapstructure v0.0.0-20180220230111-00c29f56e238 |
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
% docker run -e GOPROXY=direct -e GO111MODULE=on -it golang:1.13rc1 go get github.com/golangci/golangci-lint/cmd/golangci-lint@latest | |
go: finding github.com/golangci/golangci-lint/cmd/golangci-lint latest | |
go: finding github.com/golangci/golangci-lint/cmd latest | |
go: finding github.com/golangci/golangci-lint v1.17.1 | |
go: downloading github.com/golangci/golangci-lint v1.17.1 | |
go: extracting github.com/golangci/golangci-lint v1.17.1 | |
go get: github.com/golangci/[email protected] requires | |
github.com/go-critic/[email protected]: invalid pseudo-version: does not match version-control timestamp (2019-05-26T07:48:19Z) |
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
==> Cloning https://github.com/neovim/neovim.git | |
Updating /Users/fsouza/Library/Caches/Homebrew/neovim--git | |
git config remote.origin.url https://github.com/neovim/neovim.git | |
git config remote.origin.fetch \+refs/heads/master:refs/remotes/origin/master | |
git config remote.origin.tagOpt --no-tags | |
git fetch origin | |
==> Checking out branch master | |
git checkout -f master -- | |
Your branch is up to date with 'origin/master'. | |
Already on 'master' |
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
rm: cannot remove '/tmp/coverage': No such file or directory | |
Makefile:28: recipe for target 'test' failed | |
make: [test] Error 1 (ignored) | |
make test-with-flags TEST_FLAGS='-v -race -covermode atomic -coverprofile $(COVERAGE_DIR)/_$(RAND).txt -bench=. -benchmem -timeout 20m' | |
make[1]: Entering directory '/code' | |
SOURCE: file go_bindata github aws_s3 google_cloud_storage godoc_vfs | |
DATABASE: postgres mysql redshift cassandra spanner cockroachdb clickhouse | |
go: finding github.com/jmespath/go-jmespath v0.0.0-20180206201540-c2b33e8439af | |
go: finding github.com/kshvakov/clickhouse v1.3.4 | |
go: finding github.com/cockroachdb/cockroach-go v0.0.0-20181001143604-e0a95dfd547c |
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 golang:1.9 | |
RUN apt update && apt install -y patch | |
RUN go get -d -t github.com/aws/aws-sdk-go-v2/service/s3/s3manager | |
# RUN go test github.com/aws/aws-sdk-go-v2/service/s3/s3manager | |
WORKDIR /go/src/github.com/aws/aws-sdk-go-v2 | |
RUN curl -s https://patch-diff.githubusercontent.com/raw/aws/aws-sdk-go-v2/pull/89.diff | patch -p1 | |
RUN go test github.com/aws/aws-sdk-go-v2/service/s3/s3manager |
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 ( | |
"bytes" | |
"fmt" | |
"io/ioutil" | |
"os" | |
"strings" | |
"github.com/fsouza/go-dockerclient" |
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
% cargo install --force --verbose rustfmt-nightly | |
Updating registry `https://github.com/rust-lang/crates.io-index` | |
Installing rustfmt-nightly v0.2.3 | |
Compiling diff v0.1.10 | |
Compiling utf8-ranges v1.0.0 | |
Compiling unicode-xid v0.0.4 | |
Compiling lazy_static v0.2.8 | |
Running `rustc --crate-name diff /Users/fsouza/.cargo/registry/src/github.com-1ecc6299db9ec823/diff-0.1.10/src/lib.rs --crate-type lib --emit=dep-info,link -C opt-level=3 -C metadata=60caf5d1e27989f5 -C extra-filename=-60caf5d1e27989f5 --out-dir /var/folders/t4/s5cn564x04j7s6nz7w_8cd3c0000gp/T/cargo-install.wYYMNLJcqWVC/release/deps -L dependency=/var/folders/t4/s5cn564x04j7s6nz7w_8cd3c0000gp/T/cargo-install.wYYMNLJcqWVC/release/deps --cap-lints allow` | |
Running `rustc --crate-name utf8_ranges /Users/fsouza/.cargo/registry/src/github.com-1ecc6299db9ec823/utf8-ranges-1.0.0/src/lib.rs --crate-type lib --emit=dep-info,link -C opt-level=3 -C metadata=ba548196db1cd4ff -C extra-filename=-ba548196db1cd4ff --out-dir /var/folders/t4/s5cn5 |
NewerOlder