You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@edgent.apache.org by ho...@apache.org on 2016/04/13 22:22:49 UTC
[45/50] [abbrv] incubator-quarks-website git commit: from
28b380730c49abd8ae5cd9f4fd442f94aed376d5
http://git-wip-us.apache.org/repos/asf/incubator-quarks-website/blob/ebc2ab72/content/js/landing-page.js
----------------------------------------------------------------------
diff --git a/content/js/landing-page.js b/content/js/landing-page.js
old mode 100644
new mode 100755
http://git-wip-us.apache.org/repos/asf/incubator-quarks-website/blob/ebc2ab72/content/recipes/recipe_adaptable_filter_range.html
----------------------------------------------------------------------
diff --git a/content/recipes/recipe_adaptable_filter_range.html b/content/recipes/recipe_adaptable_filter_range.html
index b03acc9..347dd95 100644
--- a/content/recipes/recipe_adaptable_filter_range.html
+++ b/content/recipes/recipe_adaptable_filter_range.html
@@ -6,7 +6,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="">
<meta name="keywords" content=" ">
-<title>Recipe - Adaptable filter behavior. | Apache Quarks Documentation</title>
+<title>Adaptable filter behavior | Apache Quarks Documentation</title>
<link rel="stylesheet" type="text/css" href="../css/syntax.css">
<link rel="stylesheet" type="text/css" href="../css/font-awesome.min.css">
<!--<link rel="stylesheet" type="text/css" href="../css/bootstrap.min.css">-->
@@ -157,7 +157,7 @@
<script>
function SendLinkByMail(href) {
var subject= "Apache Quarks Documentation feedback";
-var body = "I have some feedback about the Recipe - Adaptable filter behavior. page: ";
+var body = "I have some feedback about the Adaptable filter behavior page: ";
body += window.location.href;
body += "";
var uri = "mailto:?subject=";
@@ -184,7 +184,7 @@ window.location.href = uri;
searchInput: document.getElementById('search-input'),
resultsContainer: document.getElementById('results-container'),
dataSource: '../search.json',
- searchResultTemplate: '<li><a href="{url}" title="Recipe - Adaptable filter behavior.">{title}</a></li>',
+ searchResultTemplate: '<li><a href="{url}" title="Adaptable filter behavior">{title}</a></li>',
noResultsText: 'No results found.',
limit: 10,
fuzzy: true,
@@ -499,7 +499,7 @@ $('#toc').on('click', 'a', function() {
<div class="col-md-9">
<div class="post-header">
- <h1 class="post-title-main">Recipe - Adaptable filter behavior.</h1>
+ <h1 class="post-title-main">Adaptable filter behavior</h1>
</div>
<div class="post-content">
@@ -558,9 +558,9 @@ $('#toc').on('click', 'a', function() {
</code></pre></div>
<p>The filter just uses <code>optimalTempRangeRef.get()</code> to use the current range setting.</p>
-<h2 id="simulate-a-setoptimaltemprange-command-stream">Simulate a setOptimalTempRange command stream</h2>
+<h2 id="simulate-a-command-stream">Simulate a command stream</h2>
-<p>Create a <code>TStream<Range<Double>> setRangeCmds</code> stream where a new range specification tuple is created every 10 seconds. A <code>sink</code> on the stream calls <code>setOptimalTempRange()</code> to change the range and hence the filter's bahavior.</p>
+<p>A <code>TStream<Range<Double>> setRangeCmds</code> stream is created and a new range specification tuple is generated every 10 seconds. A <code>sink</code> on the stream calls <code>setOptimalTempRange()</code> to change the range and hence the filter's bahavior.</p>
<div class="highlight"><pre><code class="language-java" data-lang="java"> <span class="c1">// Simulate a command stream to change the optimal range.</span>
<span class="c1">// Such a stream might be from an IotDevice command.</span>
<span class="n">String</span><span class="o">[]</span> <span class="n">ranges</span> <span class="o">=</span> <span class="k">new</span> <span class="n">String</span><span class="o">[]</span> <span class="o">{</span>
@@ -674,7 +674,7 @@ $('#toc').on('click', 'a', function() {
<div class="col-lg-12 footer">
Site last
- generated: Apr 5, 2016 <br/>
+ generated: Apr 6, 2016 <br/>
</div>
</div>
http://git-wip-us.apache.org/repos/asf/incubator-quarks-website/blob/ebc2ab72/content/recipes/recipe_combining_streams_processing_results.html
----------------------------------------------------------------------
diff --git a/content/recipes/recipe_combining_streams_processing_results.html b/content/recipes/recipe_combining_streams_processing_results.html
index 5e4a9a4..2c67732 100644
--- a/content/recipes/recipe_combining_streams_processing_results.html
+++ b/content/recipes/recipe_combining_streams_processing_results.html
@@ -805,7 +805,7 @@ $('#toc').on('click', 'a', function() {
<div class="col-lg-12 footer">
Site last
- generated: Apr 5, 2016 <br/>
+ generated: Apr 6, 2016 <br/>
</div>
</div>
http://git-wip-us.apache.org/repos/asf/incubator-quarks-website/blob/ebc2ab72/content/recipes/recipe_different_processing_against_stream.html
----------------------------------------------------------------------
diff --git a/content/recipes/recipe_different_processing_against_stream.html b/content/recipes/recipe_different_processing_against_stream.html
index fc41016..f451d1d 100644
--- a/content/recipes/recipe_different_processing_against_stream.html
+++ b/content/recipes/recipe_different_processing_against_stream.html
@@ -762,7 +762,7 @@ $('#toc').on('click', 'a', function() {
<div class="col-lg-12 footer">
Site last
- generated: Apr 5, 2016 <br/>
+ generated: Apr 6, 2016 <br/>
</div>
</div>
http://git-wip-us.apache.org/repos/asf/incubator-quarks-website/blob/ebc2ab72/content/recipes/recipe_external_filter_range.html
----------------------------------------------------------------------
diff --git a/content/recipes/recipe_external_filter_range.html b/content/recipes/recipe_external_filter_range.html
index f3e2775..9e15d97 100644
--- a/content/recipes/recipe_external_filter_range.html
+++ b/content/recipes/recipe_external_filter_range.html
@@ -6,7 +6,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="">
<meta name="keywords" content=" ">
-<title>Recipe - Use an external configuration file for a filter range specification. | Apache Quarks Documentation</title>
+<title>Use an External Configuration File for Filter Ranges | Apache Quarks Documentation</title>
<link rel="stylesheet" type="text/css" href="../css/syntax.css">
<link rel="stylesheet" type="text/css" href="../css/font-awesome.min.css">
<!--<link rel="stylesheet" type="text/css" href="../css/bootstrap.min.css">-->
@@ -157,7 +157,7 @@
<script>
function SendLinkByMail(href) {
var subject= "Apache Quarks Documentation feedback";
-var body = "I have some feedback about the Recipe - Use an external configuration file for a filter range specification. page: ";
+var body = "I have some feedback about the Use an External Configuration File for Filter Ranges page: ";
body += window.location.href;
body += "";
var uri = "mailto:?subject=";
@@ -184,7 +184,7 @@ window.location.href = uri;
searchInput: document.getElementById('search-input'),
resultsContainer: document.getElementById('results-container'),
dataSource: '../search.json',
- searchResultTemplate: '<li><a href="{url}" title="Recipe - Use an external configuration file for a filter range specification.">{title}</a></li>',
+ searchResultTemplate: '<li><a href="{url}" title="Use an External Configuration File for Filter Ranges">{title}</a></li>',
noResultsText: 'No results found.',
limit: 10,
fuzzy: true,
@@ -499,7 +499,7 @@ $('#toc').on('click', 'a', function() {
<div class="col-md-9">
<div class="post-header">
- <h1 class="post-title-main">Recipe - Use an external configuration file for a filter range specification.</h1>
+ <h1 class="post-title-main">Use an External Configuration File for Filter Ranges</h1>
</div>
<div class="post-content">
@@ -543,12 +543,12 @@ $('#toc').on('click', 'a', function() {
<h2 id="create-a-configuration-file">Create a configuration file</h2>
-<p>The file's syntax is that for a java.util.Properties object.
-See the Range documentation for the Range string syntax.</p>
+<p>The file's syntax is that for a <code>java.util.Properties</code> object.
+See the <code>Range</code> documentation for its string syntax.</p>
<p>Put this into a file:</p>
-<div class="highlight"><pre><code class="language-java" data-lang="java"><span class="err">#</span> <span class="n">the</span> <span class="n">Range</span> <span class="n">string</span> <span class="k">for</span> <span class="n">the</span> <span class="n">temperature</span> <span class="n">sensor</span> <span class="n">optimal</span> <span class="n">range</span>
-<span class="n">optimalTempRange</span><span class="o">=[</span><span class="mf">77.0</span><span class="o">..</span><span class="mf">91.0</span><span class="o">]</span>
+<div class="highlight"><pre><code class="language-" data-lang=""># the Range string for the temperature sensor optimal range
+optimalTempRange=[77.0..91.0]
</code></pre></div>
<p>Supply the pathname to this file as an argument to the application when you run it.</p>
@@ -565,7 +565,7 @@ and it is easy to load the properties from a file.</p>
<span class="c1">// Use a default value if a range isn't present.</span>
<span class="kd">static</span> <span class="n">String</span> <span class="n">DEFAULT_TEMP_RANGE_STR</span> <span class="o">=</span> <span class="s">"[60.0..100.0]"</span><span class="o">;</span>
<span class="kd">static</span> <span class="n">Range</span><span class="o"><</span><span class="n">Double</span><span class="o">></span> <span class="n">optimalTempRange</span> <span class="o">=</span> <span class="n">Ranges</span><span class="o">.</span><span class="na">valueOfDouble</span><span class="o">(</span>
- <span class="n">props</span><span class="o">.</span><span class="na">getProperty</span><span class="o">(</span><span class="s">"optimalTempRange"</span><span class="o">,</span> <span class="n">defaultRange</span><span class="o">));</span>
+ <span class="n">props</span><span class="o">.</span><span class="na">getProperty</span><span class="o">(</span><span class="s">"optimalTempRange"</span><span class="o">,</span> <span class="n">defaultRange</span><span class="o">));</span>
</code></pre></div>
<h2 id="the-final-application">The final application</h2>
<div class="highlight"><pre><code class="language-java" data-lang="java"><span class="kn">import</span> <span class="nn">java.io.File</span><span class="o">;</span>
@@ -670,7 +670,7 @@ and it is easy to load the properties from a file.</p>
<div class="col-lg-12 footer">
Site last
- generated: Apr 5, 2016 <br/>
+ generated: Apr 6, 2016 <br/>
</div>
</div>
http://git-wip-us.apache.org/repos/asf/incubator-quarks-website/blob/ebc2ab72/content/recipes/recipe_hello_quarks.html
----------------------------------------------------------------------
diff --git a/content/recipes/recipe_hello_quarks.html b/content/recipes/recipe_hello_quarks.html
index 7098efb..1136f8c 100644
--- a/content/recipes/recipe_hello_quarks.html
+++ b/content/recipes/recipe_hello_quarks.html
@@ -622,7 +622,7 @@ Quarks!
<div class="col-lg-12 footer">
Site last
- generated: Apr 5, 2016 <br/>
+ generated: Apr 6, 2016 <br/>
</div>
</div>
http://git-wip-us.apache.org/repos/asf/incubator-quarks-website/blob/ebc2ab72/content/recipes/recipe_source_function.html
----------------------------------------------------------------------
diff --git a/content/recipes/recipe_source_function.html b/content/recipes/recipe_source_function.html
index 6bb7e5f..9077f6f 100644
--- a/content/recipes/recipe_source_function.html
+++ b/content/recipes/recipe_source_function.html
@@ -635,7 +635,7 @@ $('#toc').on('click', 'a', function() {
<div class="col-lg-12 footer">
Site last
- generated: Apr 5, 2016 <br/>
+ generated: Apr 6, 2016 <br/>
</div>
</div>
http://git-wip-us.apache.org/repos/asf/incubator-quarks-website/blob/ebc2ab72/content/recipes/recipe_value_out_of_range.html
----------------------------------------------------------------------
diff --git a/content/recipes/recipe_value_out_of_range.html b/content/recipes/recipe_value_out_of_range.html
index 6710500..387e511 100644
--- a/content/recipes/recipe_value_out_of_range.html
+++ b/content/recipes/recipe_value_out_of_range.html
@@ -779,7 +779,7 @@ Though not covered in this recipe, Ranges offer additional conveniences for crea
<div class="col-lg-12 footer">
Site last
- generated: Apr 5, 2016 <br/>
+ generated: Apr 6, 2016 <br/>
</div>
</div>
http://git-wip-us.apache.org/repos/asf/incubator-quarks-website/blob/ebc2ab72/content/search.json
----------------------------------------------------------------------
diff --git a/content/search.json b/content/search.json
index 49393b7..d9607fb 100644
--- a/content/search.json
+++ b/content/search.json
@@ -132,7 +132,7 @@
{
-"title": "Recipe - Adaptable filter behavior.",
+"title": "Adaptable filter behavior",
"tags": "",
"keywords": "",
"url": "../recipes/recipe_adaptable_filter_range",
@@ -165,7 +165,7 @@
{
-"title": "Recipe - Use an external configuration file for a filter range specification.",
+"title": "Use an External Configuration File for Filter Ranges",
"tags": "",
"keywords": "",
"url": "../recipes/recipe_external_filter_range",
http://git-wip-us.apache.org/repos/asf/incubator-quarks-website/blob/ebc2ab72/content/titlepage.html
----------------------------------------------------------------------
diff --git a/content/titlepage.html b/content/titlepage.html
index e9cc9c2..c289208 100644
--- a/content/titlepage.html
+++ b/content/titlepage.html
@@ -536,7 +536,7 @@ $('#toc').on('click', 'a', function() {
<div class="printTitleArea">
<div class="printTitle"></div>
<div class="printSubtitle"></div>
- <div class="lastGeneratedDate">Last generated: April 05, 2016</div>
+ <div class="lastGeneratedDate">Last generated: April 06, 2016</div>
<hr />
<div class="printTitleImage">
@@ -583,7 +583,7 @@ $('#toc').on('click', 'a', function() {
<div class="col-lg-12 footer">
Site last
- generated: Apr 5, 2016 <br/>
+ generated: Apr 6, 2016 <br/>
</div>
</div>
http://git-wip-us.apache.org/repos/asf/incubator-quarks-website/blob/ebc2ab72/content/tocpage.html
----------------------------------------------------------------------
diff --git a/content/tocpage.html b/content/tocpage.html
index f11d9ae..f034a03 100644
--- a/content/tocpage.html
+++ b/content/tocpage.html
@@ -729,7 +729,7 @@ $('#toc').on('click', 'a', function() {
<div class="col-lg-12 footer">
Site last
- generated: Apr 5, 2016 <br/>
+ generated: Apr 6, 2016 <br/>
</div>
</div>