Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am vinkris on github.
  • I am vinkris (https://keybase.io/vinkris) on keybase.
  • I have a public key whose fingerprint is 4444 6EEB 4FE9 302D 2292 984C 8F92 307E E706 593D

To claim this, I am signing this object:

thisver = Mixlib::ShellOut.new("#{vastool} -v | grep '^vastool' | awk '{ print $NF }'")
thisver.run_command
thisver_out = thisver.stdout
if thisver_out == node['vas']['latest']
Chef::Log.warn('VAS is current.')
else
Chef::Log.warn("VAS is not the latest version! This version = #{thisver_out} / latest version = #{node['vas']['latest']}")
end

tmux cheatsheet

As configured in my dotfiles.

start new:

tmux

start new with session name:

@vinkris
vinkris / tmux-cheatsheet.markdown
Created December 29, 2015 05:06 — forked from MohamedAlaa/tmux-cheatsheet.markdown
tmux shortcuts & cheatsheet

tmux shortcuts & cheatsheet

start new:

tmux

start new with session name:

tmux new -s myname
@vinkris
vinkris / README.md
Created October 29, 2015 23:52 — forked from hofmannsven/README.md
My simply Git Cheatsheet
@vinkris
vinkris / .vimrc
Last active August 29, 2015 14:28 — forked from JeffreyWay/.vimrc
My .vimrc file
set nocompatible " Disable vi-compatibility
set t_Co=256
colorscheme xoria256
set guifont=menlo\ for\ powerline:h16
set guioptions-=T " Removes top toolbar
set guioptions-=r " Removes right hand scroll bar
set go-=L " Removes left hand scroll bar
set linespace=15
@vinkris
vinkris / .tmux.conf
Last active August 29, 2015 14:23 — forked from snuggs/.tmux.conf
##############################
# _
# | |_ _ __ ___ _ ___ __
# | __| '_ ` _ \| | | \ \/ /
# | |_| | | | | | |_| |> <
# \__|_| |_| |_|\__,_/_/\_\
#
#############################
#
# COPY AND PASTE
@vinkris
vinkris / Makefile
Last active August 29, 2015 14:20 — forked from jl2/Makefile
trie: main.cpp Makefile
clang++ -O3 -std=c++11 -stdlib=libc++ -Wall -o trie main.cpp -lboost_system