This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Stop PostgreSQL from auto starting | |
sudo launchctl unload -w /Library/LaunchDaemons/com.edb.launchd.postgresql-9.3.plist | |
# Enable PostgreSQL to auto start | |
sudo launchctl load -w /Library/LaunchDaemons/com.edb.launchd.postgresql-9.3.plist | |
# Start postgres | |
$ sudo su postgres | |
Password: | |
bash-3.2$ pg_ctl -D /Library/PostgreSQL/9.3/data/ start |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/*** | |
* | |
* | |
* before | |
* | |
*/ | |
def createDefinition = Action { implicit request => | |
request.body.asJson match { | |
case Some(json) => | |
Json.fromJson[WorkflowDefinitionEntity](json) match { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
status = error | |
appender.console.type = Console | |
appender.console.name = console | |
appender.console.layout.type = PatternLayout | |
appender.console.layout.pattern = [%d{ISO8601}][%-5p][%-25c{1.}] %marker%m%n | |
rootLogger.level = info | |
rootLogger.appenderRef.console.ref = console |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
http.host: 0.0.0.0 | |
# Uncomment the following lines for a production cluster deployment | |
#transport.host: 0.0.0.0 | |
#discovery.zen.minimum_master_nodes: 1 | |
#index.analysis.analyzer.default.type: custom | |
#index.analysis.analyzer.default.tokenizer: kuromoji_tokenizer |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: '2' | |
services: | |
elasticsearch: | |
image: elasticsearch | |
ports: | |
- 9200:9200 | |
- 9300:9300 | |
environment: |
https://github.com/zchee/docker-machine-driver-xhyve#install
minikube start --kubernetes-version="v1.7.0" --vm-driver="xhyve"
https://www.playframework.com/documentation/2.6.x/Tutorials
brew install sbt
sbt new playframework/play-scala-seed.g8
http://myenigma.hatenablog.com/entry/2016/01/10/215846
brew install clang-format
function! CPPCodeCleanup()
" echo "Cleanup cpp code"
let l:lines="all"
https://github.com/Shougo/neocomplete.vim#vim-for-mac-os-x
brew install vim --with-lua
NewerOlder