Skip to content

Instantly share code, notes, and snippets.

@fincd-aws
fincd-aws / .vimrc
Last active June 10, 2022 22:01 — forked from finchd/.vimrc
.vimrc
set nocompatible
" because we don't need vi compatibility, and want our backspace key to work
" install vim-plug first https://github.com/junegunn/vim-plug/wiki/tips#automatic-installation
if empty(glob('~/.vim/autoload/plug.vim'))
silent !curl -fLo ~/.vim/autoload/plug.vim --create-dirs
\ https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
autocmd VimEnter * PlugInstall --sync | source $MYVIMRC
endif
@fincd-aws
fincd-aws / setup-local-eks-tools.sh
Last active August 28, 2023 22:27 — forked from finchd/setup-local-k8s-tools.sh
EKS K8s Cloud9 Setup
#!/usr/bin/env bash
function curl-options(){
curl -sL "$@"
}
## pre-configure
OS=$(uname -s | tr '[:upper:]' '[:lower:]')
ARCH="$(uname -m | sed -e 's/x86_64/amd64/' -e 's/\(arm\)\(64\)\?.*/\1\2/' -e 's/aarch64$/arm64/')" &&