Skip to content

Instantly share code, notes, and snippets.

View rlgomes's full-sized avatar

Rodney Gomes rlgomes

View GitHub Profile
@rlgomes
rlgomes / example.txt
Created July 31, 2016 22:31
gist generated from flume at 2016-07-31T15:31:33.049Z
just a silly example of what you can do
@rlgomes
rlgomes / example.txt
Created July 31, 2016 22:24
gist generated from flume at 2016-07-31T15:24:45.106Z
just a silly example of what you can do
@rlgomes
rlgomes / example
Created July 31, 2016 22:14
gist generated from flume at 2016-07-31T15:14:47.875Z
just a silly example of what you can do
@rlgomes
rlgomes / gist:bc8d01e846c39655bf75
Created September 9, 2014 23:21
one,two,three
[
{"time":"2014-09-09T23:20:12.002Z","three":"30","color1":"red","color2":"yellow","color3":"blue"},
{"time":"2014-09-09T23:20:12.102Z","one":"10","color1":"red","color2":"yellow","color3":"blue"},
{"time":"2014-09-09T23:20:12.102Z","two":"20","color1":"red","color2":"yellow","color3":"blue"},
{"time":"2014-09-09T23:20:12.102Z","three":"30","color1":"red","color2":"yellow","color3":"blue"},
{"time":"2014-09-09T23:20:12.202Z","one":"10","color1":"red","color2":"yellow","color3":"blue"},
{"time":"2014-09-09T23:20:12.202Z","two":"20","color1":"red","color2":"yellow","color3":"blue"},
{"time":"2014-09-09T23:20:12.202Z","three":"30","color1":"red","color2":"yellow","color3":"blue"},
{"time":"2014-09-09T23:20:12.302Z","one":"10","color1":"red","color2":"yellow","color3":"blue"},
{"time":"2014-09-09T23:20:12.302Z","two":"20","color1":"red","color2":"yellow","color3":"blue"},
[
{"time":"2014-09-09T23:20:54.336Z","five":"50","color4":"green","color5":"cyan"},
{"time":"2014-09-09T23:20:54.436Z","four":"40","color4":"green","color5":"cyan"},
{"time":"2014-09-09T23:20:54.436Z","five":"50","color4":"green","color5":"cyan"},
{"time":"2014-09-09T23:20:54.536Z","four":"40","color4":"green","color5":"cyan"},
{"time":"2014-09-09T23:20:54.536Z","five":"50","color4":"green","color5":"cyan"},
{"time":"2014-09-09T23:20:54.636Z","four":"40","color4":"green","color5":"cyan"},
{"time":"2014-09-09T23:20:54.636Z","five":"50","color4":"green","color5":"cyan"},
{"time":"2014-09-09T23:20:54.736Z","four":"40","color4":"green","color5":"cyan"},
{"time":"2014-09-09T23:20:54.736Z","five":"50","color4":"green","color5":"cyan"},
<?xml version="1.0" encoding="UTF-8"?>
<script xmlns="http://dtf.org/v1" name="distributed_store_retrieve_synced">
<info>
<author>
<name>Rodney Gomes</name>
<email>rlgomes@yahoo-inc.com</email>
</author>
<description>
Example test that shows how you can use the same logic found in the
store_retrieve_synced test and apply it to multiple threads running on
<?xml version="1.0" encoding="UTF-8"?>
<script xmlns="http://dtf.org/v1" name="producer_driving_consumers">
<info>
<author>
<name>Rodney Gomes</name>
<email>rlgomes@yahoo-inc.com</email>
</author>
<description>
Example test used to show how to share information between concurrently
executing threads in a way that allows a producer thread to drive the
<?xml version="1.0" encoding="UTF-8"?>
<script xmlns="http://dtf.org/v1" name="share_cooperative_threads">
<info>
<author>
<name>Rodney Gomes</name>
<email>rlgomes@yahoo-inc.com</email>
</author>
<description>
This is a sample test that shows how to use the share tags to make
two threads cooperatively count from 0 to 10.
<sequence>
<share_create id="SHARE1"/>
<!-- do some other things -->
<share_destroy id="SHARE1"/>
</sequence>
<?xml version="1.0" encoding="UTF-8"?>
<script xmlns="http://dtf.org/v1" name="store_retrieve_synced">
<info>
<author>
<name>Rodney Gomes</name>
<email>rlgomes@yahoo-inc.com</email>
</author>
<description>
Example rendezvous test that shows how to use rendezvous tags to
synchronize activities between two different threads in a way that