Skip to content

Instantly share code, notes, and snippets.

View vessi's full-sized avatar

Mikhail Bortnyk vessi

  • Ukraine, Kyiv
  • 13:09 (UTC +03:00)
View GitHub Profile
@vessi
vessi / minikube.md
Last active October 3, 2017 20:04 — forked from codesword/minikube.md
Installing minikube using xhyve driver

Install docker-machine-driver-xhyve

docker-machine-driver-xhyve is a docker machine driver plugin for xhyve native OS X Hypervisor. xhyve is a lightweight OS X virtualization solution. In my opinion, it's a far better option than virtualbox for running minikube.

Brew

On MacOS sierra, download latest using

brew install docker-machine-driver-xhyve --HEAD
@vessi
vessi / gist:7585893
Last active December 29, 2015 00:29 — forked from andriikravets/gist:7585785
#!/usr/bin/ruby
@path = '/opt/tmp_tables_list'
@remove_except_table = 'localPreferences'
@tables = []
def fix_base
`echo "list" | hbase shell | grep -v #{@remove_except_table} > #{@path}`
sanitize_file @path
`cat #{@path} | awk '{print "disable \\"" $1 "\\""}' | hbase shell`