These instructions assume you already have oXygen installed.
In your browser, go to one of the following URLs
- For NLM DTDs (that predate the official NISO JATS): https://dtd.nlm.nih.gov/
- For JATS DTDs: https://jats.nlm.nih.gov
| ajax-1 |
These instructions assume you already have oXygen installed.
In your browser, go to one of the following URLs
| #!/bin/bash | |
| # What directory are we in? | |
| DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" | |
| # TeamCity messages | |
| teamcity () { | |
| echo "##teamcity[message text='$*']" | |
| } |
| // DO NOT USE! | |
| // This was a quick-and-dirty attempt to handle the problem. | |
| // Use this package, instead: https://www.npmjs.com/package/nearlyequal | |
| /* | |
| const assert = require('chai').assert; |
| const Node = function(node) { | |
| this.other = (typeof node === 'undefined') ? new Node(this) : node; | |
| }; | |
| console.log(new Node()); //=> { other: { other: [Circular] } } |
| #!/usr/bin/env node | |
| // Shows how to manipulate variable number of arguments, passing them | |
| // around, etc. | |
| // To just pass a variable number of arguments along, do this. This can be | |
| // useful in a constructor, to pass the args to an init function, for example. | |
| function passArgs() { | |
| done.apply(this, arguments); | |
| } |
| // log is a function that logs messages, and has a simple indent (.enter()) and | |
| // unindent (.exit()) feature. | |
| // | |
| // Usage: | |
| // var log = require('./log.js')(); | |
| // log.exitAfter = 100; | |
| // log.enabled = false; | |
| var count = 0, | |
| indent = 0; |
| // Generates a unique, read-only id for any object. This modifies Object.prototype, | |
| // so should only be used for testing, within a limited scope. | |
| // The _uid is generated for an object the first time it's accessed. | |
| (function() { | |
| var id = 0; | |
| Object.defineProperty(Object.prototype, '_uid', { | |
| // The prototype getter sets up a property on the instance. Because | |
| // the new instance-prop masks this one, we know this will only ever | |
| // be called at most once for any given object. |
| #!/usr/bin/env python | |
| import itertools | |
| from itertools import chain | |
| import operator | |
| import sys | |
| import pprint | |
| from collections import abc | |
| pp = pprint.PrettyPrinter(indent=4) |
| #!/usr/bin/env python | |
| from os import path, getenv | |
| import settings_deferrer as s | |
| # Put normal settings here, if you want, or put them all into the `fill_defaults()` | |
| # function below. If the latter, though, you'll have to use the `s.MY_SETTING` syntax. | |
| MY_SETTING = 'zormulon' | |
| # ... |