Skip to content

Instantly share code, notes, and snippets.

View pbarker's full-sized avatar
🍾

Patrick Barker pbarker

🍾
View GitHub Profile
# currently synced from the GKE profile:
# https://github.com/kubernetes/kubernetes/blob/master/cluster/gce/gci/configure-helper.sh#L735
apiVersion: audit.k8s.io/v1beta1
kind: Policy
rules:
# The following requests were manually identified as high-volume and low-risk,
# so drop them.
- level: None
users: ["system:kube-proxy"]
verbs: ["watch"]
@pbarker
pbarker / vimconf.sh
Last active August 29, 2015 14:08
Vim Shelly
#!/usr/bin/env bash
#shelly for basic vim config
#install pathogen
mkdir -p ~/.vim/autoload ~/.vim/bundle && \
curl -LSso ~/.vim/autoload/pathogen.vim https://tpo.pe/pathogen.vim
#install plugins
git clone https://github.com/kien/ctrlp.vim.git ~/.vim/bundle
@pbarker
pbarker / .vimrc
Last active August 29, 2015 14:08
My .vimrc
execute pathogen#infect()
filetype plugin indent on
syntax enable
colorscheme Mustang
map <C-n> :NERDTreeToggle<CR>
nmap <C-a> :set invnumber<CR>
set showmode " always show what mode we're currently editing in
set nowrap " don't wrap lines
set tabstop=4 " a tab is four spaces
@pbarker
pbarker / Mustang.vim
Created November 8, 2014 16:12
Mustang vim color scheme
set background=dark
hi clear
if exists("syntax_on")
syntax reset
endif
let colors_name = "mustang"