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 | |
err() { echo -e "${RED}$@${NORMAL}" 1>&2; EXIT_CODE=1; } | |
# runcmd prints an info log describing the command that is about to be run, and | |
# then runs it. It sets EXIT_CODE to non-zero if the command fails, but does not exit | |
# the script. | |
runcmd() { |
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 ( | |
"go.uber.org/zap" | |
"go.uber.org/zap/zapcore" | |
"io/ioutil" | |
"os" | |
) | |
func main() { |
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/src/golang.org/x/pkgsite master ⇡1 ?1 ❯ ./all.bash ✘ INT 12:08:17 PM | |
Checking staged files for license header | |
Checking internal files for license header | |
Checking for bad migrations | |
$ staticcheck golang.org/x/pkgsite/cmd/frontend golang.org/x/pkgsite/cmd/prober golang.org/x/pkgsite/cmd/teeproxy golang.org/x/pkgsite/cmd/worker golang.org/x/pkgsite/content/sta... | |
$ misspell cmd/frontend/main.go cmd/prober/main.go cmd/teeproxy/main.go cmd/worker/main.go cmd/**/*.sh internal/auth/auth.go internal/complete/completion.go internal/complete/com... | |
$ unparam ./... | |
$ prettier --write content/static/css/sidenav.css content/static/css/stylesheet.css | |
content/static/css/sidenav.css 54ms | |
content/static/css/stylesheet.css 192ms |
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
SCRIPT /Users/julieqiu/.vim/plugged/vim-go/ftplugin/go.vim | |
Sourced 1 time | |
Total time: 0.001763 | |
Self time: 0.001451 | |
count total (s) self (s) | |
" Copyright 2013 The Go Authors. All rights reserved. | |
" Use of this source code is governed by a BSD-style | |
" license that can be found in the LICENSE file. | |
" |
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
" Specify a directory for plugins | |
" - For Neovim: ~/.local/share/nvim/plugged | |
" - Avoid using standard Vim directory names like 'plugin' | |
call plug#begin('~/.vim/plugged') | |
Plug 'AndrewRadev/splitjoin.vim' | |
Plug 'VundleVim/Vundle.vim' | |
Plug 'altercation/vim-colors-solarized' | |
Plug 'bling/vim-airline' | |
Plug 'cknadler/vim-anywhere' |
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
xcode-select --install | |
# https://brew.sh/ | |
mkdir -p $HOME/bin/homebrew && curl -L https://github.com/Homebrew/brew/tarball/master | tar xz --strip 1 -C $HOME/bin/homebrew | |
export PATH=$HOME/bin/homebrew/bin:$PATH | |
# brew install | |
brew install vim macvim ripgrep tmux tree jq npm |
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
POST _search | |
{"test": "hello"} |
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
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
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
hi jq |