require 'asciidoctor' # (1)
puts Asciidoctor.convert_file('sample.adoc', :header_footer => true) # (2)
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
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN"> | |
<html> | |
<head> | |
<meta http-equiv="cache-control" content="no-cache" /> | |
<meta http-equiv="pragma" content="no-cache" /> | |
<meta http-equiv="expires" content="0" /> | |
<title>Line Chart</title> | |
<script type="text/javascript" src="http://mbostock.github.com/d3/d3.js?1.10.0"></script> | |
<script type="text/javascript" src="http://mbostock.github.com/d3/d3.time.js?1.10.0"></script> | |
<script type="text/javascript" src="http://omf.mytestbed.net/projects/omf/repository/revisions/master/raw/omf-common/ruby/omf-common/web/tab/graph3/js/line_chart3.js"></script> |
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
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN"> | |
<html> | |
<head> | |
<meta http-equiv="cache-control" content="no-cache" /> | |
<meta http-equiv="pragma" content="no-cache" /> | |
<meta http-equiv="expires" content="0" /> | |
<title>Line Chart</title> | |
<script type="text/javascript" src="http://mbostock.github.com/d3/d3.js?1.10.0"></script> | |
<script type="text/javascript" src="http://mbostock.github.com/d3/d3.time.js?1.10.0"></script> | |
<script type="text/javascript" src="http://omf.mytestbed.net/projects/omf/repository/revisions/master/raw/omf-common/ruby/omf-common/web/tab/graph3/js/line_chart3.js"></script> |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>Available Resources</title> | |
<script type="text/javascript" src="http://mbostock.github.com/d3/d3.js?2.6.0s"></script> | |
<script type="text/javascript" src="http://mbostock.github.com/d3/d3.geom.js"></script> | |
<script type="text/javascript" src="http://mbostock.github.com/d3/d3.layout.js"></script> | |
<script type="text/javascript" src="http://documentcloud.github.com/underscore/underscore.js"></script> | |
<style type="text/css"> |
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
// Create the map | |
var map = new google.maps.Map(d3.select("#map").node(), { | |
zoom : 11, | |
// center: new google.maps.LatLng(37.3943454817, -122.078649925), | |
center : new google.maps.LatLng(-33.778291, 151.168184), | |
mapTypeId : google.maps.MapTypeId.ROADMAP | |
}); | |
// Load the location data. When the data comes back, create an overlay. | |
d3.json("destinations2.json", function(data) { |
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
# Original test01.rb | |
defProperty('res1', "unconfigured-node-1", "ID of a node") | |
defProperty('res2', "unconfigured-node-2", "ID of a node") | |
defGroup('Actor', property.res1) | |
onEvent(:ALL_UP) do |event| | |
wait 3 | |
info "TEST - allGroups" |
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
require 'pp' | |
require 'omf_rete/store' | |
N = 10 | |
s = OMF::Rete::Store.create 3 | |
(1..N).each do |i| | |
s.addTuple(["node_#{i}", 'status', (i % 2) == 0 ? 'ok' : 'failure']) | |
end | |
I hereby claim:
- I am maxott on github.
- I am maxott (https://keybase.io/maxott) on keybase.
- I have a public key whose fingerprint is B587 95C2 0C10 47F0 4CF5 FC8A 552D 2D06 D882 E048
To claim this, I am signing this object:
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
{ | |
"@context": "https://schema.n1analytics.com/api/monitor/1/system/list", | |
"offset": 0, | |
"limit": 300000, | |
"@list": [ | |
{ | |
"id": 0, | |
"spanTsUS": 1563069429900611, | |
"spanID": 1, | |
"parentID": 0, |