Skip to content

Instantly share code, notes, and snippets.

View MarkCheshire's full-sized avatar

Mark Cheshire MarkCheshire

  • Red Hat
  • Barcelona, Spain
View GitHub Profile
@MarkCheshire
MarkCheshire / 0_reuse_code.js
Created August 7, 2014 11:55
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
<script src="/active_docs/application.js" ></script>
<link href="/active_docs/application.css" media="screen" rel="stylesheet" />
<div class='api-docs-wrap'></div>
<script>
{% comment %}
// if you are hosting you specs elsewhere, load them by:
ThreeScale.APIDocs.host = 'https://{your-own-server}';
{% endcomment %}
$(function(){ ThreeScale.APIDocs.init([]); });
</script>