Pretty print xml (and json) in Python

Quick Python one-liner to prettify xml (and json too)

So that I don't forget... again.

from xml.dom import minidom

# from a string
minidom.parseString(xml_string).toprettyxml
            
Read more

Private repos on BitBucket

Mercury rising?

Well now they've done it... With the acquisition of BitBucket by Atlassian, we can expect BitBucket to see tremendous gains in usability and developer support. They now offer unlimited public and private repositories for up to 5 ...

Read more