Skip to content

Instantly share code, notes, and snippets.

@hoest
hoest / post.py
Created September 6, 2012 11:47
Simple Python script to post a XML file to an web-interface
import httplib
import xml.dom.minidom
HOST = "www.domain.nl"
API_URL = "/api/url"
def do_request(xml_location):
"""HTTP XML Post request"""
request = open(xml_location, "r").read()
@sjl
sjl / Menlo-ForPowerline.ttc.zip
Created January 17, 2012 18:09
Patched Menlo for Powerline. This one includes the bold, italic, etc variants.