Skip to content

Instantly share code, notes, and snippets.

<math alttext="\frac{1}{(1+a_{0})}" class="ltx_Math" display="inline" id="p1.1.m1.1" xmlns="http://www.w3.org/1998/Math/MathML">
<semantics id="p1.1.m1.1a">
<mfrac id="p1.1.m1.1.1" xref="p1.1.m1.1.1.cmml">
<mn id="p1.1.m1.1.1.2" xref="p1.1.m1.1.1.2.cmml">1</mn>
<mrow id="p1.1.m1.1.1.3" xref="p1.1.m1.1.1.3.8.cmml">
<mo id="p1.1.m1.1.1.3.1" stretchy="false">(</mo>
<mrow id="p1.1.m1.1.1.3.8" xref="p1.1.m1.1.1.3.8.cmml">
<mn id="p1.1.m1.1.1.3.2" xref="p1.1.m1.1.1.3.2.cmml">1</mn>
<mo id="p1.1.m1.1.1.3.3" xref="p1.1.m1.1.1.3.3.cmml">+</mo>
<msub id="p1.1.m1.1.1.3.8.1" xref="p1.1.m1.1.1.3.8.cmml">
physikerwelt@mathosphere:/$ sudo du -shx *
11M bin
532M boot
4.0K data
12K dev
7.9M etc
913M home
0 initrd.img
0 initrd.img.old
2.7G lib
= Page Titlewasfas =
<math>\pi</math>
== Heading ==
<math>\pi</math>
<mapframe latitude="-1.1449996853268662e-13" longitude="0" zoom="0" width="400" height="300">
</mapframe>
@physikerwelt
physikerwelt / failed basex test in windows
Created August 2, 2016 09:54
BaseX uses system line ending
java.lang.AssertionError:
Expected: "UNEXPECTED CLIENT ERROR:\nCan not construct instance of int from String value '10000000000': Overflow: numeric value (10000000000) out of range of Integer (-2147483648 - 2147483647)\n at [Source: N/A; line: -1, column: -1]"
but: was "UNEXPECTED CLIENT ERROR:\r\nCan not construct instance of int from String value '10000000000': Overflow: numeric value (10000000000) out of range of Integer (-2147483648 - 2147483647)\n at [Source: N/A; line: -1, column: -1]" <Click to see difference>
<mxfile userAgent="Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Firefox/45.0" version="5.4.4.5" editor="www.draw.io" type="onedrive"><diagram>7R3ZdqO48mtyTt+HyQFjsP3oLD3J7c5MbrtP99xHYhObCTYZwJ3OfP2UQIW1sdiIJTnjBy9ClqBU66LSmXW5/flr5D5v7sKVF5yNjNXPM+vqbDQynekEPkjLK20xRtOsZR35K9p2aFj4f3vYkbbu/ZUXcx2TMAwS/5lvXIa7nbdMuDY3isIXvttjGPCzPrtrnPHQsFi6gdz63V8lm6x1atPbI+03nr/e4MymQa88uMundRTud3S+s5H1mL6yy1sXx6L94427Cl+YJusaABuFIYxMvm1/XnoBAS6CLfvfx4Kr+X1H3o7eW8UfbLpUcfKKD++tABb0Zxglm3Ad7tzg+tB6kT6gR4Yw4Ncm2Qbw1YSv3k8/+YM0n49s+vP/9NKfXpK80pV290kITYfBP4fhM+2X3Q65h8JHok1xuI+WAuIkbrT2aDfHzgEKmOqFWy+JXqFP5AVu4v/gx3cpxqzzfgeowRcKuCIgUuzWBMQdzJ9B0bZTMJIGAsdfjHPDcLDl3ot8uFcvokPohzALTdO2GoKT/vU+9GGakUG5hWXQv1BeMZ7QpcQhsmWm/zosyjyKXDI9dnsmHeLieUY4rjBPThkV/e1Zef+x1bB/xf3YYx5OQn/4kkHkgLH5GtVDYno7P9xgT9fybOQEsPoXK/8HAXTgr3fpBeevPeFPF0vAF8C+/Dd8W9PP9H8P2DC/n1/eXMMYZyO4aNzcfLsjiLPf7fzdGr7deSvf/e4/+fk/yaj8WDVa4BHzKZm29Pb51pOfSDXnuxpfYGMHJkU4x8vGT7zFs5ty3ReQ/Tzjeg5cf/fLA8GfDJW8KPFQKShgMjI/wT+Y0J/Bd8tJ+c/IeDkIZGtCGe+GFcYGFWlNWDq
100.00% 25962.049 1 - main()
99.89% 25934.506 1 - MediaWiki::run
99.88% 25931.995 1 - MediaWiki::main
99.07% 25719.957 1 - MediaWiki::performRequest
98.99% 25700.728 1 - MediaWiki::performAction
98.99% 25700.492 1 - ViewAction::show
98.99% 25700.485 1 - Article::view
98.68% 25619.980 1 - PoolCounterWork::execute
98.68% 25619.424 1 - PoolWorkArticleView::doWork
98.67% 25616.333 3 - Parser::parse
vagrant@mediawiki-vagrant:/vagrant/srv/mathoid$ npm install && npm test
npm WARN deprecated jade@0.26.3: Jade has been renamed to pug, please install the latest version of pug instead of jade
npm WARN deprecated graceful-fs@2.0.3: graceful-fs version 3 and before will fail on newer node releases. Please update to graceful-fs@^4.0.0 as soon as possible.
# RESTBase test config, used in integration tests.
# First, we define some project templates. These are referenced / shared
# between domains in the root_spec further down.
default_project: &default_project
swagger: '2.0'
paths:
/{api:v1}: &default_project_paths_v1
x-host-basePath: /api/rest_v1
# Spec root, resulting in an aggregated public spec & docs.
<?php
/**
* Test the MathML RDF formatter
*
* @group Math
* @covers MathMLRdfBuilder
* @author Moritz Schubotz (physikerwelt)
*/
use DataValues\StringValue;
==> default: Notice: /Stage[main]/Npm::Globals/Npm::Global[grunt-cli]/Exec[npm_global_grunt-cli]/returns: executed successfully
==> default: Notice: /Stage[main]/Role::Wikidata/Mediawiki::Extension[WikidataBuildResources]/Php::Composer::Install[/vagrant/mediawiki/extensions/WikidataBuildResources]/Exec[composer-install--vagrant-mediawiki-extensions-WikidataBuildResources]/returns: Loading composer repositories with package information
==> default: Notice: /Stage[main]/Role::Wikidata/Mediawiki::Extension[WikidataBuildResources]/Php::Composer::Install[/vagrant/mediawiki/extensions/WikidataBuildResources]/Exec[composer-install--vagrant-Installing dependencies (including require-dev)
==> default: Notice: /Stage[main]/Role::Wikidata/Mediawiki::Extension[WikidataBuildResources]/Php::Composer::Install[/vagrant/mediawiki/extensions/WikidataBuildResources]/Exec[composer-install--vagrant-mediawiki-extensions-WikidataBuildResources]/returns: Your requirements could not be resolved to an installable set of packages.
==>