Mercurial > p > roundup > code
annotate tools/base64 @ 5190:89b1870b1bc9
Make url's in messages identified as http://... or https://...
have the rel="nofollow" attribute to reduce the value
of spamming public trackers.
Internal links: issue20 msg10 etc. won't have the nofollow attribute.
| author | John Rouillard <rouilj@ieee.org> |
|---|---|
| date | Sat, 25 Feb 2017 21:01:50 -0500 |
| parents | 740102dfad1d |
| children | c75defc1c2f0 |
| rev | line source |
|---|---|
|
2181
740102dfad1d
favicon generation stuff
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
1 #!/usr/bin/env python |
|
740102dfad1d
favicon generation stuff
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
2 import zlib, base64, sys |
|
740102dfad1d
favicon generation stuff
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
3 print base64.encodestring(zlib.compress(sys.stdin.read())) |
