lighten code-card background

This commit is contained in:
John Kerl 2020-09-30 21:46:43 -04:00
parent 7aa9315a85
commit 897ea53168
6 changed files with 40 additions and 10 deletions

View file

@ -4,9 +4,9 @@ span.linenos { color: #000000; background-color: #f0f0f0; padding: 0 5px 0 5px;
td.linenos pre.special { color: #000000; background-color: #ffffc0; padding: 0 5px 0 5px; }
span.linenos.special { color: #000000; background-color: #ffffc0; padding: 0 5px 0 5px; }
.highlight .hll { background-color: #ffffcc }
/* CHANGE ME */
/*.highlight { background: #eeffcc; }*/
.highlight { background: #c5b690; }
/* CHANGE ME */
.highlight { background: #eae2cb; }
.highlight .c { color: #408090; font-style: italic } /* Comment */
.highlight .err { border: 1px solid #FF0000 } /* Error */
.highlight .k { color: #007020; font-weight: bold } /* Keyword */

View file

@ -2366,4 +2366,4 @@ This is simply a copy of what you should see on running **man mlr** at a command
2020-09-30 MILLER(1)
2020-10-01 MILLER(1)

View file

@ -2356,4 +2356,4 @@ SEE ALSO
2020-09-30 MILLER(1)
2020-10-01 MILLER(1)

View file

@ -2,12 +2,12 @@
.\" Title: mlr
.\" Author: [see the "AUTHOR" section]
.\" Generator: ./mkman.rb
.\" Date: 2020-09-30
.\" Date: 2020-10-01
.\" Manual: \ \&
.\" Source: \ \&
.\" Language: English
.\"
.TH "MILLER" "1" "2020-09-30" "\ \&" "\ \&"
.TH "MILLER" "1" "2020-10-01" "\ \&" "\ \&"
.\" -----------------------------------------------------------------
.\" * Portability definitions
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

View file

@ -2858,12 +2858,42 @@ Most Miller commands are record-at-a-time, with the exception of ``stats1``, ``s
::
$ mlr --opprint step -a ewma -f x -d 0.1,0.9 ../doc/data/medium | head -15
$ mlr --opprint step -a ewma -f x -d 0.1,0.9 data/medium | head -15
a b i x y x_ewma_0.1 x_ewma_0.9
pan pan 1 0.3467901443380824 0.7268028627434533 0.346790 0.346790
eks pan 2 0.7586799647899636 0.5221511083334797 0.387979 0.717491
wye wye 3 0.20460330576630303 0.33831852551664776 0.369642 0.255892
eks wye 4 0.38139939387114097 0.13418874328430463 0.370817 0.368849
wye pan 5 0.5732889198020006 0.8636244699032729 0.391064 0.552845
zee pan 6 0.5271261600918548 0.49322128674835697 0.404671 0.529698
eks zee 7 0.6117840605678454 0.1878849191181694 0.425382 0.603575
zee wye 8 0.5985540091064224 0.976181385699006 0.442699 0.599056
hat wye 9 0.03144187646093577 0.7495507603507059 0.401573 0.088203
pan wye 10 0.5026260055412137 0.9526183602969864 0.411679 0.461184
pan pan 11 0.7930488423451967 0.6505816637259333 0.449816 0.759862
zee pan 12 0.3676141320555616 0.23614420670296965 0.441596 0.406839
eks pan 13 0.4915175580479536 0.7709126592971468 0.446588 0.483050
eks zee 14 0.5207382318405251 0.34141681118811673 0.454003 0.516969
::
$ mlr --opprint step -a ewma -f x -d 0.1,0.9 -o smooth,rough ../doc/data/medium | head -15
$ mlr --opprint step -a ewma -f x -d 0.1,0.9 -o smooth,rough data/medium | head -15
a b i x y x_ewma_smooth x_ewma_rough
pan pan 1 0.3467901443380824 0.7268028627434533 0.346790 0.346790
eks pan 2 0.7586799647899636 0.5221511083334797 0.387979 0.717491
wye wye 3 0.20460330576630303 0.33831852551664776 0.369642 0.255892
eks wye 4 0.38139939387114097 0.13418874328430463 0.370817 0.368849
wye pan 5 0.5732889198020006 0.8636244699032729 0.391064 0.552845
zee pan 6 0.5271261600918548 0.49322128674835697 0.404671 0.529698
eks zee 7 0.6117840605678454 0.1878849191181694 0.425382 0.603575
zee wye 8 0.5985540091064224 0.976181385699006 0.442699 0.599056
hat wye 9 0.03144187646093577 0.7495507603507059 0.401573 0.088203
pan wye 10 0.5026260055412137 0.9526183602969864 0.411679 0.461184
pan pan 11 0.7930488423451967 0.6505816637259333 0.449816 0.759862
zee pan 12 0.3676141320555616 0.23614420670296965 0.441596 0.406839
eks pan 13 0.4915175580479536 0.7709126592971468 0.446588 0.483050
eks zee 14 0.5207382318405251 0.34141681118811673 0.454003 0.516969
Example deriving uptime-delta from system uptime:

View file

@ -1096,12 +1096,12 @@ POKI_RUN_COMMAND{{mlr --opprint step -a shift,delta,rsum,counter -f x -g a data/
::
POKI_RUN_COMMAND{{mlr --opprint step -a ewma -f x -d 0.1,0.9 ../doc/data/medium | head -15}}HERE
POKI_RUN_COMMAND{{mlr --opprint step -a ewma -f x -d 0.1,0.9 data/medium | head -15}}HERE
::
POKI_RUN_COMMAND{{mlr --opprint step -a ewma -f x -d 0.1,0.9 -o smooth,rough ../doc/data/medium | head -15}}HERE
POKI_RUN_COMMAND{{mlr --opprint step -a ewma -f x -d 0.1,0.9 -o smooth,rough data/medium | head -15}}HERE
Example deriving uptime-delta from system uptime: