function save(content){
  return $.ajax({
    method: "POST",
    url: baseURL + "/gists",
    dataType: 'json',
    data: JSON.stringify({
      "description": "JSON Schema created by http://json-schema-faker.js.org",
      "files": {
        "schema.json": {
          "content": content
        }
      }
    })
  }).then(function(response) {
    return 'gist/' + response.id;
  });
}
Accepts JSON content (already formatted text, NOT an object) and saves it as anonymous gist. Returns a promise that
resolves with newly created gist ID.
@see http://jsfiddle.net/vXpCV/
@see https://developer.github.com/v3/gists/#create-a-gist