Skip to content

Instantly share code, notes, and snippets.

@physikerwelt
physikerwelt / ubuntu_unattended_upgrades_gmail.markdown
Created Jan 21, 2018 — forked from roybotnik/ubuntu_unattended_upgrades_gmail.markdown
Unattended upgrades on Ubuntu 14.04 with email notifications
View ubuntu_unattended_upgrades_gmail.markdown

Getting Started

Do yourself a favor and login as root to save yourself some time and headaches:

$ sudo su -

Install unattended-upgrades:

View gist:c9000dcb9ac53b08843f7f43e4878140
{"name":"restbase","hostname":"web","pid":27303,"level":30,"message":"ControlConnection","info":"Adding host 193.197.89.69:9042","levelPath":"info/table/cassandra/driver","msg":"ControlConnection","time":"2017-12-06T13:37:21.486Z","v":0}
{"name":"restbase","hostname":"web","pid":27303,"level":30,"message":"ControlConnection","info":"Getting first connection","levelPath":"info/table/cassandra/driver","msg":"ControlConnection","time":"2017-12-06T13:37:21.488Z","v":0}
{"name":"restbase","hostname":"web","pid":27303,"level":30,"message":"Connection","info":"Connecting to 193.197.89.69:9042","levelPath":"info/table/cassandra/driver","msg":"Connection","time":"2017-12-06T13:37:21.492Z","v":0}
{"name":"restbase","hostname":"web","pid":27303,"level":30,"message":"Connection","info":"Trying to use protocol version 3","levelPath":"info/table/cassandra/driver","msg":"Connection","time":"2017-12-06T13:37:21.501Z","v":0}
{"name":"restbase","hostname":"web","pid":27303,"level":30,"message":"HostConnectionPool","info":"Conn
View formulasearchengine.com.yaml
paths:
/{api:v1}:
x-modules:
# swagger options, overriding the shared ones from the merged specs (?)
- spec:
info:
version: 1.0.0-beta
title: Formulasearchengine REST API
description: >
This API aims to provide a preview of new features reagarding
View a | b
(Loading /usr/local/share/perl/5.18.2/LaTeXML/Package/TeX.pool.ltxml...
(Loading /usr/local/share/perl/5.18.2/LaTeXML/Package/eTeX.pool.ltxml... 0.01 sec)
(Loading /usr/local/share/perl/5.18.2/LaTeXML/Package/pdfTeX.pool.ltxml... 0.01 sec) 0.41 sec)
(Loading /usr/local/share/perl/5.18.2/LaTeXML/Package/LaTeX.pool.ltxml... 0.41 sec)
(Loading /usr/local/share/perl/5.18.2/LaTeXML/Package/article.cls.ltxml... 0.05 sec)
(Loading /usr/local/share/perl/5.18.2/LaTeXML/Package/amsmath.sty.ltxml...
(Loading /usr/local/share/perl/5.18.2/LaTeXML/Package/amsbsy.sty.ltxml... 0.00 sec)
(Loading /usr/local/share/perl/5.18.2/LaTeXML/Package/amstext.sty.ltxml... 0.00 sec)
(Loading /usr/local/share/perl/5.18.2/LaTeXML/Package/amsopn.sty.ltxml... 0.01 sec) 0.15 sec)
View latexml-performance-issue.profiler
100.00% 1455707.640 1 - main()
100.00% 1455688.327 1 - MediaWiki::run
100.00% 1455687.954 1 - MediaWiki::main
99.99% 1455634.816 1 - MediaWiki::performRequest
99.99% 1455634.512 1 - MediaWiki::performAction
99.99% 1455634.399 1 - ViewAction::show
99.99% 1455634.189 1 - Article::view
99.99% 1455619.891 1 - PoolCounterWork::execute
99.99% 1455619.810 1 - PoolWorkArticleView::doWork
99.99% 1455619.643 3 - Parser::parse
View \frac1{1+a_0}.xml
<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.cmml">
<mn id="p1.1.m1.1.1.3.1" xref="p1.1.m1.1.1.3.1.cmml">1</mn>
<mo id="p1.1.m1.1.1.3.2" xref="p1.1.m1.1.1.3.2.cmml">+</mo>
<msub id="p1.1.m1.1.1.3.5" xref="p1.1.m1.1.1.3.5.cmml">
<mi id="p1.1.m1.1.1.3.3" xref="p1.1.m1.1.1.3.3.cmml">a</mi>
<mn id="p1.1.m1.1.1.3.4.1" xref="p1.1.m1.1.1.3.4.1.cmml">0</mn>
View \frac1{(1+a_0)}.xml
<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">
View labs disk usage
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
View gist:d979eb7aad0f5f264a9cc13413d54a53
= Page Titlewasfas =
<math>\pi</math>
== Heading ==
<math>\pi</math>
<mapframe latitude="-1.1449996853268662e-13" longitude="0" zoom="0" width="400" height="300">
</mapframe>
View failed basex test in windows
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>
You can’t perform that action at this time.