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
layout = list( | |
scene=list( | |
xaxis=list(title="sepal length [cm]"), | |
yaxis=list(title="sepal width [cm]"), | |
zaxis=list(title="petal length [cm]") | |
), | |
title="Iris dataset" | |
) | |
data = list( |
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
var RxScript = document.createElement('script'); RxScript.src = "https://unpkg.com/@reactivex/rxjs/dist/global/Rx.js"; document.getElementsByTagName('head')[0].appendChild(RxScript); |
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
ಠ_ಠ | |
¯\_(ツ)_/¯ |
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
{ | |
"name": "nteract", | |
"version": "0.0.4", | |
"dependencies": { | |
"abab": { | |
"version": "1.0.3", | |
"from": "abab@>=1.0.0 <2.0.0", | |
"resolved": "https://registry.npmjs.org/abab/-/abab-1.0.3.tgz" | |
}, | |
"abbrev": { |
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
c = get_config() | |
c.NotebookApp.ip='*' | |
c.NotebookApp.port = 8888 | |
c.NotebookApp.open_browser = False | |
# Allow any set of ports, used below with localhost | |
port_digits = '(?::\d{1,5})?' | |
pat = '^(?:' + '|'.join([ | |
# Allow localhost on all ports to use, regardless of HTTP vs HTTPS |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
function Console() { | |
} | |
Console.prototype.log = function() { | |
print(...arguments); | |
} | |
Console.prototype.error = function() { | |
print(...arguments); | |
} |
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
const completeRequest = createMessage(sessionID, 'complete_request'); | |
completeRequest.content = { | |
code: linePartial, | |
cursor_pos: linePartial.length, | |
}; | |
shell.filter(isChildMessage.bind(completeRequest)) | |
.filter(msg => msg.header.msg_type === 'complete_reply') | |
.subscribe(whatever...) |
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
function store(action) { | |
return makeReducerStream(action) | |
.scan((state, reducer) => reducer(state), initialState) | |
.shareReplay(1); | |
} |
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
/* | |
* Retrieves kernel info, given a connection file | |
* | |
* node index.js /Users/rgbkrk/Library/Jupyter/runtime/kernel-24468.json | |
* | |
*/ | |
const enchant = require('enchannel-zmq-backend'); | |
const uuid = require('uuid'); |