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
2362 mkdir gomicroservice | |
2364 ./gomicroservice | |
2366 rm gomicroservice | |
2432 docker build -t gomicroservice . | |
2433 docker run --rm -p 3001:3001 -e ES=192.168.1.101 gomicroservice | |
2434 docker run --rm -p 8080:8080 -e ES=192.168.1.101 gomicroservice | |
2435 docker run --rm -p 8080:8080 gomicroservice |
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
➜ onion git:(master) ✗ docker build -t mingderwang/onion . | |
Sending build context to Docker daemon 7.52 MB | |
Sending build context to Docker daemon | |
Step 0 : FROM debian:wheezy | |
---> bbe78c1a5a53 | |
Step 1 : RUN apt-get update -y && apt-get install --no-install-recommends -y -q curl build-essential ca-certificates git mercurial bzr && rm -rf /var/lib/apt/lists/* | |
---> Using cache | |
---> eca36d2d502c | |
Step 2 : ENV GOVERSION 1.5 | |
---> Using cache |
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
in karaf prompt | |
features:addurl mvn:org.apache.camel/camel-example-osgi/2.10.0/xml/features |
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://maven.apache.org/archetype/maven-archetype-plugin/examples/generate-batch.html |
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
features:chooseurl hawtio 1.4-SNAPSHOT | |
or | |
features:addurl mvn:io.hawt/hawtio-karaf/1.4-SNAPSHOT/xml/features | |
features:install hawtio | |
To add plugin (custom-perspective) |
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
469 features:addurl mvn:io.hawt/hawtio-karaf/1.2.3/xml/features | |
470 features:install hawtio | |
471 features:install hawtio-plugin-example | |
476 features:addurl mvn:io.hawt/hawtio-karaf/1.4-SNAPSHOT/xml/features | |
477 features:install hawtio | |
478 osgi:install -s mvn:io.hawt/custom-perspective/1.3-SNAPSHOT/war | |
479 osgi:install -s mvn:io.hawt/custom-perspective/1.4-SNAPSHOT/war | |
489 features:addurl mvn:io.hawt/hawtio-karaf/1.3-SNAPSHOT/xml/features | |
497 osgi:install -s mvn:io.hawt/custom-perspective/1.3-SNAPSHOT/war | |
501 osgi:install -s mvn:io.hawt/custom-perspective/1.3-SNAPSHOT/war |
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
ming➜openshift/tomtom/webapps(master✗)» git commit -a [15:59:46] | |
[master a9cb13f] added war | |
1 file changed, 0 insertions(+), 0 deletions(-) | |
create mode 100644 webapps/sample-1.4-SNAPSHOT.war | |
ming➜openshift/tomtom/webapps(master)» git push origin master [15:59:54] | |
Counting objects: 6, done. | |
Delta compression using up to 4 threads. | |
Compressing objects: 100% (4/4), done. | |
Writing objects: 100% (4/4), 41.55 MiB | 607.00 KiB/s, done. | |
Total 4 (delta 1), reused 0 (delta 0) |
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
mvn archetype:generate -DinteractiveMode=false -DgroupId=org.apache.camel.example -DartifactId=camel-cxf-code-first-archetype -Dversion=1.0-SNAPSHOT -Dgoals=eclipse:eclipse |
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
// ---- | |
// Sass (v3.3.7) | |
// Compass (v1.0.0.alpha.18) | |
// ---- | |
nav { | |
margin: 10; | |
ul { | |
margin: 0; | |
padding: 0; |
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
<div class="container"> | |
<p id="filters"> | |
<label><input type="radio" name="filter" data-filter="grayscale" />grayscale</label> | |
<label><input type="radio" name="filter" data-filter="sepia" />sepia</label> | |
<label><input type="radio" name="filter" data-filter="saturatePlus" />saturate +</label> | |
<label><input type="radio" name="filter" data-filter="saturateMinus" />saturate -</label> | |
<label><input type="radio" name="filter" data-filter="hueRotate" />hue-rotate</label> | |
<label><input type="radio" name="filter" data-filter="invert" />invert</label> | |
<label><input type="radio" name="filter" data-filter="brightnessPlus" />brightness +</label> | |
<label><input type="radio" name="filter" data-filter="brightnessMinus" />brightness -</label> |
OlderNewer