This Tinyscript-based tool allows to unhide data hidden in base32/base64 strings. It can take a PNG or JPG in input to retrieve an EXIF value as the input data.
This can be installed using:
$ pip install tinyscript
$ tsm install paddinganograph
This Tinyscript-based tool allows to unhide data hidden in base32/base64 strings. It can take a PNG or JPG in input to retrieve an EXIF value as the input data.
This can be installed using:
$ pip install tinyscript
$ tsm install paddinganograph
If you use lxml.etree
, you can write an XML processing instruction (<? ... ?>
) like this:
>>> from lxml import etree
>>> doc = etree.ElementTree(etree.fromstring('<data/>'))
>>> doc.getroot().addprevious(etree.ProcessingInstruction('xml', 'version=1.0'))
>>> print etree.tostring(doc)
<?xml version=1.0?><data/>
You can set doctype attribute when writing your XML by setting the doctype
parameter of, e.g., etree.tostring
:
/* Solarized Dark | |
For use with Jekyll and Pygments | |
http://ethanschoonover.com/solarized | |
SOLARIZED HEX ROLE | |
--------- -------- ------------------------------------------ | |
base03 #002b36 background | |
base01 #586e75 comments / secondary content |