Skip to content

Instantly share code, notes, and snippets.

View amjltc295's full-sized avatar

Ya-Liang Chang (Allen) amjltc295

View GitHub Profile
inoremap jj <Esc>
inoremap wq <Esc>:wq<CR>
map wq <Esc>:wq<CR>
map ww <Esc>:w<CR>
map qq <Esc>:q!<CR>
amjltc295 /
Created September 17, 2019 08:20 — forked from vithalreddy/
Shell Script To Download Google Drive Files from terminal
read -p "Enter File Id: " fileid
read -e -p "Enter File Dir: " "path_to_download_dir" dir #replce with your download dir path ~/Downloads
cd ~/$dir
echo "File will be downloaded in dir: ~/{$dir}"
curl -c ./$fileid -s -L "${fileid}" > /dev/null
amjltc295 /
Last active October 4, 2019 09:48
Public new TWGC
echo "============================================================="
echo "1. Update and install zsh, curl, git, tmux"
sudo apt update
sudo apt -y install zsh curl git tmux
echo "============================================================="
echo "2. Install vim8 and vimrc"
sudo apt-get -y install software-properties-common
sudo add-apt-repository -y ppa:jonathonf/vim
sudo apt-get -y update