view tools/base64 @ 6594:f3a0cb617ea8

Upgrade to ubuntu 20.04 See if this helps fix zstd crash in python nightly (unlikely). Also get postgresql 12 that includes websearch_to_tsquery for possible future support of Postgresql FTS by Roundup.
author John Rouillard <rouilj@ieee.org>
date Tue, 25 Jan 2022 14:47:58 -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())))

Roundup Issue Tracker: http://roundup-tracker.org/