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
[run groovy script by java command] | |
java -cp lib/groovy-all-1.8.0.jar groovy.ui.GroovyMain test.groovy | |
nohup java -Duser.timezone=Asia/Seoul -cp lib/*: groovy.ui.GroovyMain script/findBadGps.groovy >> system.log 2>> error.log & | |
[String Interpolation] | |
value = 6 | |
println "The value is $value." | |
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
docker run -t -i ubuntu:14.04 /bin/bash | |
docker inspect -f '{{.State.Pid}}' a8658e32e8fd | |
docker pull training/sinatra | |
docker run -t -i training/sinatra /bin/bash | |
gem install json | |
docker commit -m="Added json gem" -a="Kate Smith" 0b2616b0e5a8 ouruser/sinatra:v2 | |
docker history iamteri/sinatra:v2 |
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
from http://ko.sdndev.net/2 | |
---------------------------- | |
ip netns add netns1 | |
ip netns exec netns1 ip link list | |
ip netns exec netns1 ping 127.0.0.1 | |
ip netns exec netns1 ip link set dev lo up | |
ip link add veth0 type veth peer name veth1 |
NewerOlder