Skip to content

Instantly share code, notes, and snippets.

@howie
howie / Format JSON.py
Last active August 29, 2015 14:26 — forked from edenwaith/Format JSON.py
TextWrangler Text Filter to Format JSON
#!/usr/bin/python
import fileinput
import json
if __name__ == "__main__":
text = ''
for line in fileinput.input():
text = text + ' ' + line.strip()
jsonObj = json.loads(text)
print json.dumps(jsonObj, sort_keys=False, indent=2)

agnoster.zsh-theme

A ZSH theme optimized for people who use:

  • Solarized
  • Git
  • Unicode-compatible fonts and terminals (I use iTerm2 + Menlo)

For Mac users, I highly recommend iTerm 2 + Solarized Dark