Mercurial > p > roundup > code
view tools/base64 @ 7086:4d62d6e08daf
maint: Add alt text and a period to other alt text.
Apparently ahrefs doesn't like alt="" to indicate an image that doesn't
need to be announce to screenreaders and other assistive devices 8-(.
| author | John Rouillard <rouilj@ieee.org> |
|---|---|
| date | Tue, 29 Nov 2022 21:56:23 -0500 |
| parents | c75defc1c2f0 |
| children | 9c3ec0a5c7fc |
line wrap: on
line source
#!/usr/bin/env python from __future__ import print_function import zlib, base64, sys print(base64.encodestring(zlib.compress(sys.stdin.read())))
