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
call plug#begin() | |
Plug 'tpope/vim-sensible' | |
Plug 'vim-airline/vim-airline' | |
Plug 'mkitt/tabline.vim' | |
Plug 'NLKNguyen/papercolor-theme' | |
Plug 'jiangmiao/auto-pairs' | |
Plug 'bling/vim-bufferline' | |
Plug 'othree/jspc.vim', { 'for': ['javascript', 'javascript.jsx'] } | |
Plug 'posva/vim-vue' | |
Plug 'neoclide/coc.nvim', { 'tag': '*', 'branch': 'release' } |
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 rust:1.41-slim | |
WORKDIR /app | |
RUN apt update | |
RUN apt install -y build-essential llvm-7 clang-7 libclang-7-dev cmake libssl-dev pkg-config python3 \ | |
&& apt clean \ | |
&& rm -rf /var/lib/apt/lists/* |
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
pub enum Direction { | |
Left, | |
Right | |
} | |
// Efficiently perform left rotation of Vec's items r times. | |
fn rotate_left(v: &mut Vec<i32>, r: i32) { | |
rotate(v, Direction::Left, r) | |
} |
OlderNewer