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
https://github.com/mitchellh/vagrant/blob/7e88266999e0eaf86299421e99a4fb038b4f2b1c/plugins/guests/linux/cap/mount_virtualbox_shared_folder.rb#L14 | |
ここの | |
mount_commands = ["set -e"] | |
を | |
mount_commands = [] | |
へ修正して回避できた。 | |
boot2docker の /bin/sh が busybox だから? |
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
package runtime | |
import ( | |
"io" | |
"golang.org/x/net/context" | |
"google.golang.org/grpc" | |
"google.golang.org/grpc/metadata" | |
) |
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://takari.io/2015/10/28/google-maven-central.html | |
[repositories] | |
local | |
activator-launcher-local: file://${activator.local.repository-${activator.home-/doesnotexist}/repository}, [organization]/[module]/(scala_[scalaVersion]/)(sbt_[sbtVersion]/)[revision]/[type]s/[artifact](-[classifier]).[ext] | |
activator-local: file://${activator.local.repository-/usr/local/Cellar/typesafe-activator/1.3.2/libexec/repository}, [organization]/[module]/(scala_[scalaVersion]/)(sbt_[sbtVersion]/)[revision]/[type]s/[artifact](-[classifier]).[ext] | |
google-maven-central: https://maven-central.storage.googleapis.com | |
maven-central | |
typesafe-releases: http://repo.typesafe.com/typesafe/releases | |
typesafe-ivy-releasez: http://repo.typesafe.com/typesafe/ivy-releases, [organization]/[module]/(scala_[scalaVersion]/)(sbt_[sbtVersion]/)[revision]/[type]s/[artifact](-[classifier]).[ext] |
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
aws ec2 describe-instances --region ap-northeast-1 | jq -r '.Reservations[].Instances[] | select(.State.Name == "running") | .PrivateIpAddress as $private_ip | select($private_ip != null) | select(.Tags != null) | .Tags[] | select(.Key == "hostname") | select(. != null) | .Value as $host | select($host != null) | "\($private_ip)\t\t\($host)"' | sort -k2 | expand -t 8 | |
sed '/^# ADDED BY THE PROGRAM$/,$d' | sed -e :a -e '/^\n*$/{$d;N;};/\n$/ba' |
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
/opt/vagrant/embedded/gems/gems/vagrant-1.7.3/plugins/providers/docker/action.rb | |
https://github.com/mitchellh/vagrant/blob/dbf0af2e3fea2dcf7c76956ac0e58127dd1df846/plugins/providers/docker/action.rb#L261 | |
/opt/vagrant/embedded/gems/gems/vagrant-1.7.3/plugins/providers/docker/action/pull.rb | |
https://github.com/mitchellh/vagrant/blob/dbf0af2e3fea2dcf7c76956ac0e58127dd1df846/plugins/providers/docker/action/pull.rb#L16 |
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
libraryDependencies ++= Seq( | |
"org.slf4j" % "slf4j-api" % "1.7.12", | |
"ch.qos.logback" % "logback-core" % "1.1.3", | |
"ch.qos.logback" % "logback-classic" % "1.1.3", | |
"ch.qos.logback.contrib" % "logback-json-core" % "0.1.2", | |
"ch.qos.logback.contrib" % "logback-json-classic" % "0.1.2", | |
"ch.qos.logback.contrib" % "logback-jackson" % "0.1.2", | |
"com.fasterxml.jackson.core" % "jackson-core" % "2.5.2", | |
"com.fasterxml.jackson.core" % "jackson-databind" % "2.5.2", | |
"com.fasterxml.jackson.core" % "jackson-annotations" % "2.5.2" |
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
<link rel="import" href="../core-drawer-panel/core-drawer-panel.html"> | |
<polymer-element name="my-element"> | |
<template> | |
<style> | |
:host { | |
position: absolute; | |
width: 100%; | |
height: 100%; |
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
{ | |
"template": "message_index", | |
"settings": { | |
"index": { | |
"number_of_shards": 10, | |
"number_of_replicas": 0, | |
"analysis": { | |
"analyzer": { | |
"message_analyzer": { | |
"type": "custom", |
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
package helpers.play.api.libs.json | |
import play.api.data.validation.ValidationError | |
import play.api.libs.json._ | |
/** | |
* @see play.api.libs.json.Reads | |
*/ | |
object InstantReads { |
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
curl -XPUT 'http://127.0.0.1:9200/_template/logstash' -v -d '{ | |
"template": "logstash-*", | |
"settings": { | |
"number_of_shards": 1, | |
"number_of_replicas": 0 | |
}, | |
"mappings": { | |
"_default_": { | |
"_source": { "compress": true }, | |
"_all": { "enabled": false }, |
NewerOlder