This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import sys | |
import json | |
from collections import OrderedDict | |
from contextlib import contextmanager | |
def resolve_json_pointer(spec, reference): | |
prefix, definitions, name = reference.split('/') | |
return spec.get(definitions).get(name) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#################################### | |
# BASIC REQUIREMENTS | |
# http://graphite.wikidot.com/installation | |
# http://geek.michaelgrace.org/2011/09/how-to-install-graphite-on-ubuntu/ | |
# Updated by Gareth Rushgrove (http://morethanseven.net) | |
# Last tested & updated 8th April 2012 | |
#################################### | |
sudo apt-get update | |
sudo apt-get upgrade |