// Init
map<char, int> m = {
{'1', 1},
{'2', 2},
{'3', 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
FROM golang:buster as build | |
WORKDIR /app | |
COPY . . | |
RUN CGO_ENABLED=0 GOOS=linux go build \ | |
-mod=vendor -ldflags "-s -w" -a -installsuffix cgo -o bin . | |
## Install shush |
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
filetype off | |
set rtp+=~/.vim/bundle/Vundle.vim | |
call vundle#begin() | |
Plugin 'gmarik/Vundle.vim' | |
" COLORS | |
Plugin 'arcticicestudio/nord-vim' | |
" json formater | |
Plugin 'elzr/vim-json' | |
" status bar |
Learn at this tutorial http://www.shellscript.sh/
#!/bin/sh
echo 'hello world'
what is #!/bin/sh means?
- It likely declare a environment to run the below shell.
#Basic set up
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
NewerOlder