Skip to content

Instantly share code, notes, and snippets.

@plelevier
plelevier / minikube.md
Last active April 22, 2017 13:06 — 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
sudo chown root:wheel $(brew --prefix)/opt/docker-machine-driver-xhyve/bin/docker-machine-driver-xhyve
@plelevier
plelevier / setup.md
Created October 27, 2015 13:25 — forked from xrstf/setup.md
Nutch 2.3 + ElasticSearch 1.4 + HBase 0.94 Setup

Info

This guide sets up a non-clustered Nutch crawler, which stores its data via HBase. We will not learn how to setup Hadoop et al., but just the bare minimum to crawl and index websites on a single machine.

Terms

  • Nutch - the crawler (fetches and parses websites)
  • HBase - filesystem storage for Nutch (Hadoop component, basically)
@plelevier
plelevier / maven-install-jars.sh
Created September 15, 2012 21:21
Maven individual or multiple vendors jar installer
#!/bin/bash
if [ $# -lt 3 ]
then
echo "Usage: `basename $0` <src> <groupId> <version> [dest_dir]"
echo "- <src> can be a directory containing your jars or just a jar file path"
echo "- If <src> is a directory, the script assumes that all the jars are from the same <groupId> and the same <version>"
echo "- If you don't provide a [dest_dir], artifacts will be installed in your local maven directory"
echo "Please note that the artifactId for each jar will be generated using the jar filename :"
echo "- Example : 'my-package.jar' will generate the 'my-package' artifactId"