Skip to content

Instantly share code, notes, and snippets.

@dizz
dizz / 0_reuse_code.js
Created August 18, 2016 11:59
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
@dizz
dizz / gist:3861864
Created October 9, 2012 22:30 — forked from ffeldhaus/gist:3861740
rOCCI awesomeness
irb -I lib/
1.9.3p194 :001 > require 'occi'
=> true
1.9.3p194 :002 > network=OCCI::Core::Entity.new 'http://schemas.ogf.org/occi/infrastructure#network'
=> {
"kind": "http://schemas.ogf.org/occi/infrastructure#network"
}
1.9.3p194 :003 > network.class
=> Occi::Infrastructure::Network
1.9.3p194 :004 > network.class.superclass