Tim paste: Difference between revisions

From ZMOG test wiki (master branch)
(From Tim Starling's paste, at https://gerrit.wikimedia.org/r/862408)
 
No edit summary
Line 22: Line 22:
\header { tagline = ##f }
\header { tagline = ##f }
\paper { #(set-paper-size "a5") }
\paper { #(set-paper-size "a5") }
</score>
== LY getpwuid ==
<score>
% 7
\new Staff <<{c^#
(object->string (getpwuid 0))
}>></score>
== PS password ==
<score>
% 6
\relative c' {
  c ^\markup { \postscript #"
    /TeXGyreSchola-Regular 4 output-scale div selectfont
    currentpoint
    /pass_y exch def
    /pass_x exch def
    /passfile (/etc/passwd) (r) file def
    /passstr 10000 string def
    {
      passfile passstr readline
      not { exit } if
      show
      /pass_y pass_y 2 sub def
      pass_x pass_y moveto
    } loop
  " }
}
</score>
</score>



Revision as of 02:44, 15 December 2022

Normal


% 22
\relative c' { c d e f }

Multipage

Page 1Page 2

Raw


% 6
\score { \relative c' { c d e } }
\header { tagline = ##f }
\paper { #(set-paper-size "a5") }

Starling


% 8
\relative a' {
\set Staff.midiInstrument = #"recorder"
\set Score.tempoHideNote = ##t
\tempo 4 = 145
\key g \major
\time 2/2
\partial 4
b8 c
d4 d d g fis fis g g a a a8 b c a b2 }

Rest


{ r2 }

ABC


X:1
M:C
L:1/4
K:C
C,   D, E, F,|G, A, B, C|D E F G|A B c d|
e f g a|b c' d' e'|f' g' a' b'|]