Linux starship 4.0.7-2-ARCH #1 SMP PREEMPT Tue Jun 30 07:50:21 UTC 2015 x86_64 GNU/Linux
Built rbczmq as follows:
Linux starship 4.0.7-2-ARCH #1 SMP PREEMPT Tue Jun 30 07:50:21 UTC 2015 x86_64 GNU/Linux
Built rbczmq as follows:
| #!/usr/bin/env ruby | |
| require 'bel' | |
| require 'bel/vendor/trollop' | |
| VERSION_BANNER = <<-VERSION | |
| bel #{BEL::VERSION} | |
| Copyright (C) 2015 OpenBEL | |
| Apache License, Version 2.0, January 2004 | |
| http://www.apache.org/licenses/ | |
| VERSION |
| /* global describe it expect belhop */ | |
| describe('belhop', function() { | |
| 'use strict'; | |
| var locations = []; | |
| var createdEvidence = null; | |
| var retrievedEvidence = null; | |
| var expected = null; | |
| var actual = null; | |
| var factory = null; |
| it('empty filter with facet', function(done) { | |
| var onSucc = function(response, status, xhr) { | |
| expect(xhr.status).toEqual(200); | |
| // docs say evidence and facets are in response object | |
| expect(response.evidence).toBeDefined(); | |
| expect(response.facets).toBeDefined(); | |
| // our options shouldn't return more than 20 things | |
| expect(response.evidence.length).not.toBeGreaterThan(100); | |
| // our options should include faceted responses | |
| expect(response.facets.length).toBeGreaterThan(0); |
| /* global describe it expect belhop */ | |
| describe('belhop', function() { | |
| 'use strict'; | |
| var locations = []; | |
| var createdEvidence = null; | |
| var retrievedEvidence = null; | |
| var expected = null; | |
| var actual = null; | |
| var factory = null; |
| module Oat | |
| module Adapters | |
| class BasicJson < Oat::Adapter | |
| def link(rel, opts = {}) | |
| # no-op to maintain interface compatibility with hypermedia adapters | |
| end | |
| def properties(&block) | |
| data.merge! yield_props(&block) | |
| end |
| { | |
| "completions": [ | |
| { | |
| "type": "namespace_prefix", | |
| "label": "HGNC", | |
| "value": "HGNC:", | |
| "highlight": {}, | |
| "actions": [] | |
| }, | |
| { |
| // Famo.us Flipper example | |
| var Engine = require("famous/core/Engine"); | |
| var Surface = require("famous/core/Surface"); | |
| var Flipper = require("famous/views/Flipper"); | |
| var Modifier = require("famous/core/Modifier"); | |
| var Draggable = require('famous/modifiers/Draggable'); | |
| var mainContext = Engine.createContext(); | |
| mainContext.setPerspective(500); |
| var Engine = require("famous/core/Engine"); | |
| var Surface = require("famous/core/Surface"); | |
| var StateModifier = require("famous/modifiers/StateModifier"); | |
| var Draggable = require("famous/modifiers/Draggable"); | |
| var Transform = require("famous/core/Transform"); | |
| var Transitionable = require("famous/transitions/Transitionable"); | |
| var SnapTransition = require("famous/transitions/SnapTransition"); | |
| Transitionable.registerMethod('snap', SnapTransition); |
| #!/usr/bin/env python2 | |
| # find-kam-edge.py: python2 example of loading kam, resolving kam edge, and | |
| # printing out BEL statement/citation/annotations | |
| # | |
| # usage: find-kam-edge.py <kam name> <source> <rel> <target> | |
| from random import choice | |
| from suds import * | |
| from ws import * | |
| import time |