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
#!/usr/bin/env perl | |
use Mojolicious::Lite; | |
get '/reference/:doi' => sub { | |
my $c = shift; | |
my $doi = $c->stash('doi'); | |
$c->render_json({ | |
author => "Author id goes here", | |
journal => "The great journal with doi $doi", |
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
<script src="/mojo/jquery/jquery.js"></script> | |
<span id='foo'></span> | |
<script>//<![CDATA[ | |
$(document).ready(function() { | |
$("#foo").html("hello, world"); | |
}); | |
//]]></script> |
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
%= stylesheet "http://netdna.bootstrapcdn.com/twitter-bootstrap/2.3.1/css/bootstrap-combined.min.css"; | |
</head> | |
<body> | |
<pre> | |
Sample: | |
<span id='foo'></span> | |
</pre> | |
<script type='text/template' id='ref_template'> | |
journal : <b><%%= journal %><b> |
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
%= javascript 'http://cdnjs.cloudflare.com/ajax/libs/underscore.js/1.4.4/underscore-min.js'; | |
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
#!/usr/bin/env perl | |
use Mojolicious::Lite; | |
app->hook(after_dispatch => sub { | |
my $c = shift; | |
$c->res->headers->header('Access-Control-Allow-Origin' => '*'); | |
} ); | |
my @refs = map |
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
wget --mirror http://example.com |
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
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | |
@prefix foaf: <http://xmlns.com/foaf/0.1/> . | |
@prefix sioc: <http://rdfs.org/sioc/ns#> . | |
@prefix prov: <http://www.w3.org/ns/prov#> . | |
@prefix : <http://www.example.org#> . | |
@base <http://www.example.com/monica-bundle.ttl> . | |
<> | |
a prov:Bundle, prov:Entity; | |
prov:wasAttributedTo :postEditor; |
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
@prefix bibo: <http://purl.org/ontology/bibo/> . | |
@prefix dc: <http://purl.org/dc/elements/1.1/> . | |
@prefix dcterms: <http://purl.org/dc/terms/> . | |
@prefix dcmitype: <http://purl.org/dc/dcmitype/> . | |
@prefix foaf: <http://xmlns.com/foaf/0.1/> . | |
@prefix gcis: <http://data.globalchange.gov/gcis.owl#> . | |
@prefix org: <http://www.w3.org/ns/org#> . | |
@prefix prov: <http://www.w3.org/ns/prov#> . | |
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . | |
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . |
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
@prefix bibo: <http://purl.org/ontology/bibo/> . | |
@prefix dc: <http://purl.org/dc/elements/1.1/> . | |
@prefix dcterms: <http://purl.org/dc/terms/> . | |
@prefix dcmitype: <http://purl.org/dc/dcmitype/> . | |
@prefix foaf: <http://xmlns.com/foaf/0.1/> . | |
@prefix gcis: <http://data.globalchange.gov/gcis.owl#> . | |
@prefix org: <http://www.w3.org/ns/org#> . | |
@prefix prov: <http://www.w3.org/ns/prov#> . | |
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . | |
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . |
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
--- | |
- confidence: |- | |
Observed trends have been demonstrated by a broad range of methods over the past 20+ years based on best available data; projected precipitation and river-flow responses to greenhouse gas increases are robust across large majorities of available climate (and hydrologic) models from scientific teams around the world. | |
Confidence is therefore judged to be high that annual precipitation and river-flow increases are observed now in the Midwest and the Northeast regions. | |
Confidence is high that very heavy precipitation events have increased nationally and are projected to increase in all regions. | |
Confidence is high that the length of dry spells is projected to increase in most areas, especially the southern and northwestern portions of the contiguous United States. | |
evidence: |- | |
The key message and supporting chapter text summarizes extensive evidence documented in the inter-agency prepared foundational document,<tbib>50d47cc1-5a16-4f5c-bb08-bf6f475a5bb8</tbib> Ch. 2: Our C |