Skip to content

Instantly share code, notes, and snippets.

wget --mirror http://example.com
@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;
@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#> .
@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#> .
---
- 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
[bduggan@lubber (master) tuba]$ find . -name '*.ttl.tut' |xargs perl -nle 'print "$1:$2" if /\b(\S+):([A-Z]\S+\b)/' |sort -u
bibo:Article
bibo:Book
bibo:Journal
bibo:Webpage
biro:BibliographicRecord
datacite:AlternateResourceIdentifier
dbpedia:Domain_Name
dbpedia:MIME
dbpedia:Natural_number
$ perl check-issns.pl http://data.globalchange.gov
no issn for http://data.globalchange.gov/journal/environmental-energy-law-policy-journal
no issn for http://data.globalchange.gov/journal/new-york-university-review-law-social-change
no issn for http://data.globalchange.gov/journal/mediation-quarterly-
no issn for http://data.globalchange.gov/journal/fsu-college-of-law-public-law-research-paper-no-288
no issn for http://data.globalchange.gov/journal/alaska-fishery-research-bulletin
no issn for http://data.globalchange.gov/journal/alaska-climate-dispatch
no issn for http://data.globalchange.gov/journal/plains-anthropologist
no issn for http://data.globalchange.gov/journal/indian-journal-medical-research
no issn for http://data.globalchange.gov/journal/nyu-environmental-law-journal
#!perl
package TestApp;
use Mojolicious::Lite;
get '/one/:foo' => [ foo => [qw/bar barfly/] ] => sub { shift->render_text('hi') };
get '/two/:foo' => [ foo => qr[bar|barfly] ] => sub { shift->render_text('hi') };
package main;
use Test::More tests => 8;
#!/usr/bin/env perl
use Mojo::UserAgent;
use strict;
use warnings;
use 5.10.0;
my $ua = Mojo::UserAgent->new();
my $destination = 'ws://localhost:9999/down';
#!/usr/bin/env perl
use Mojolicious::Lite;
use Test::Mojo;
use Test::More tests => 2;
get '/first' => sub {
shift->redirect_to('second');
};