If tmux
is not installed, then install it or buid from sources.
- MacOS:
brew install tmux
- CentOS family:
yum install tmux
version: '2' | |
services: | |
master: | |
image: elasticsearch:5.0.0-alpha5 | |
command: elasticsearch -Enode.master=true -Enode.data=false -Ecluster.name=cluster-01 -Enode.name="Master of Disaster" | |
environment: | |
- ES_JAVA_OPTS=-Xms2g -Xmx2g | |
ports: | |
- "9200:9200" | |
- "9300:9300" |
buildscript { | |
repositories { | |
maven { url "https://repo.spring.io/libs-release" } | |
mavenLocal() | |
mavenCentral() | |
} | |
dependencies { | |
classpath("org.springframework.boot:spring-boot-gradle-plugin:1.1.10.RELEASE") | |
//####################### XJC - JDK 1.7/1.8 #################### |
#!/bin/sh | |
# install homebrew | |
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" | |
# verify homebrew installation | |
# TODO handle output to figure out whether to processed further | |
brew doctor | |
# caskroom |
/* | |
Taken and cribbed from blog.datalicious.com/free-download-all-australian-postcodes-geocod | |
May contain errors where latitude and longitude are off. Use at own non-validated risk. | |
*/ | |
SET NAMES utf8; | |
SET sql_mode = 'NO_AUTO_VALUE_ON_ZERO'; | |
DROP TABLE IF EXISTS postcodes_geo; |