This file contains hidden or 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
<?xml version="1.0" encoding="UTF-8"?> | |
<!-- | |
JBoss, Home of Professional Open Source | |
Copyright 2015, Red Hat, Inc. and/or its affiliates, and individual | |
contributors by the @authors tag. See the copyright.txt in the | |
distribution for a full listing of individual contributors. | |
Licensed under the Apache License, Version 2.0 (the "License"); | |
you may not use this file except in compliance with the License. | |
You may obtain a copy of the License at |
This file contains hidden or 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
<?xml version="1.0" encoding="UTF-8"?> | |
<cheatsheet title="Sample Cheat Sheet"> | |
<intro> | |
<description>A cheat sheet which demonstrates the use of perform-when and conditional subitems</description> | |
</intro> | |
<item title="View Selection"> | |
<description>Select a view which will be opened in the following steps.</description> | |
<command returns = "result" | |
serialization="org.eclipse.ui.dialogs.openMessageDialog(title=Select View,buttonLabel0=Package Explorer,message=Select a view ,buttonLabel1=Search View)"/> | |
<onCompletion> Selected the ${result}. </onCompletion> |
This file contains hidden or 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
{ | |
"title": "Person", | |
"type": "object", | |
"properties": { | |
"firstName": { | |
"type": "string" | |
}, | |
"lastName": { | |
"type": "string" | |
}, |
This file contains hidden or 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
echo 'export PATH=$HOME/local/bin:$PATH' >> ~/.bashrc | |
. ~/.bashrc | |
mkdir ~/local | |
mkdir ~/node-latest-install | |
cd ~/node-latest-install | |
curl http://nodejs.org/dist/node-latest.tar.gz | tar xz --strip-components=1 | |
./configure --prefix=~/local | |
make install # ok, fine, this step probably takes more than 30 seconds... | |
curl https://www.npmjs.org/install.sh | sh |
This file contains hidden or 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
{ | |
"title" : "Spring MVC", | |
"fragments" : [ | |
{ | |
"title" : "Creation new Spring MVC sample", | |
"text" : "To create simple Spring MVC project inside Eclipse CHE you can click \"Workspace\" -> \"Create Project...\" . When IDE open \"Create new Project\" wizard, select, please, \"web-java-spring\" from the list of the \"Samples\", type project name and click \"Ok\" button. IDE will create new Spring project for you and you will see it in the \"Project Explorer\" widget." | |
}, | |
{ | |
"title" : "Run Spring Application with help tomcat", | |
"text" : "To run Spring application you need build it. Eclipse CHE Spring project template based on maven build tool. IDE provides with project template list of commands <bold>to build<bold> and run this application. This command you can see in the bottom \"Comman widget\". So simple select little triangle under the run command button, and select from commands list \"$your_project_name: Build and run\". In the process panel you will see comman |
This file contains hidden or 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
{ | |
"title": "Kitchen Sink", | |
"sections": [ | |
{ | |
"title": "Creation new project from sample", | |
"paragraphs": [ | |
{ | |
"text": "To create simple Kitchen sink project inside Eclipse CHE you can click \"Workspace\" -> \"Create Project...\" . When IDE open \"Create new Project\" wizard, select, please, \"Kitchen sink\" from the list of the \"Samples\", type project name and click \"Ok\" button. IDE will create new Spring project for you and you will see it in the \"Project Explorer\" widget." | |
}, | |
{ |
This file contains hidden or 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
{ | |
"title": "Guide title", | |
"sections": [ | |
{ | |
"title": "Section #1 :: Simple", | |
"paragraphs": [ | |
{ | |
"text": "This paragraph contains no action but some text" | |
}, | |
{ |
This file contains hidden or 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
Try AsciiDoc | |
------------ | |
There is _no reason_ to prefer http://daringfireball.net/projects/markdown/[Markdown]: | |
it has *all the features* | |
footnote:[See http://asciidoc.org/userguide.html[the user guide].] | |
and more! | |
Tasty styles | |
~~~~~~~~~~~~ |
This file contains hidden or 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
A=$(date '+%s%3N'); sleep 2; B=$(date '+%s%3N');echo $B-$A | bc |
This file contains hidden or 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
head -100 /projects/PetClinic/output.txt | | |
while read a; do | |
echo $a; | |
done | |
echo DONE! |