Skip to content

Instantly share code, notes, and snippets.

View cordylus's full-sized avatar

Brian Manning cordylus

View GitHub Profile
#!/usr/bin/env python
"""
Converts Internet Explorer 'capture network traffic' XML to a HAR file.
Turns out that XML is just a HAR file anyways, but in XML form. So this
just converts it to JSON, and Bob's your uncle.
Requires Python 2.7+ and LXML.
"""
from __future__ import unicode_literals
@skipjac
skipjac / helpcenterUser.js
Last active January 23, 2016 15:29
This is the Zendesk HelpCenter.user javascript object that can be called from any javascript code in HelpCenter
Object {identifier: "sss", email: "skip@zen.com", name: "Skip Moore", tags: Array[2], locale: "en-us"…}
avatar_url: "https://z3nofskip.zendesk.com//system/photos/6753/8923/200px-Skippy-dvd.jpg"
email: "skip@zendesk.com"
groups: Array[4]
0: Object
default: false
isActive: true
name: "Support"
__proto__: Object
1: Object