Skip to content

Instantly share code, notes, and snippets.

blink1073 / start_jupyter_server.js
Last active Apr 25, 2020
Start a JupyterLab Server in Node
View start_jupyter_server.js
const child = require('child_process').spawn('jupyter-notebook', ['--no-browser']);
const PageConfig = require('@jupyterlab/coreutils').PageConfig;
const PromiseDelegate = require('@lumino/coreutils').PromiseDelegate;
const delegate = new PromiseDelegate();
async function main() {
blink1073 / index.ts
Last active Nov 2, 2019
property inspector
View index.ts
import {
JupyterFrontEnd, JupyterFrontEndPlugin, ILabShell
} from '@jupyterlab/application';
import {
MainAreaWidget, ReactWidget
} from '@jupyterlab/apputils';
import {
blink1073 / Backup
Last active Oct 4, 2019
Jupyter Enterprise JEP (Draft)
View Backup

When submitting an enhancement proposal, individuals will include the following information in their submission.

The problem that this enhancement addresses. If possible include code or anecdotes to describe this problem to readers.

A brief (1-2 sentences) overview of the enhancement you are proposing. If possible include hypothetical code sample to describe how the solution would work to readers.

A detailed explanation covering relevant algorithms, data structures, an API spec, and any other relevant technical information
A list of pros that this implementation has over other potential implementations.
A list of cons that this implementation has.
View keybase.json
### Keybase proof
I hereby claim:
* I am blink1073 on github.
* I am blink1073 ( on keybase.
* I have a public key ASCDyw9ILX4MYwb0QEz0FoJCY3PcM49VZGetMmdcf3RsOAo
To claim this, I am signing this object:
blink1073 / plotting.ipynb
Created May 3, 2019
Octave Kernel Plotting
View plotting.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
import os
import sys
import time
import errno
import signal
from winpty import PtyProcess
from .exceptions import ExceptionPexpect, EOF, TIMEOUT
from .spawnbase import SpawnBase
from setuptools.command.develop import develop
from setuptools.command.install import install
class PostDevelopCommand(develop):
"""Post-installation for development mode."""
def run(self):
blink1073 / index.js
Created Nov 6, 2017
es6 module with es5 target
View index.js
import * as path from 'path';
function foo() {
return import('leaflet').then(function (mod) {
blink1073 / errors.txt
Created Oct 30, 2017
Vega offline install
View errors.txt
0 info it worked if it ends with ok
1 verbose cli [ '/Users/ssilvester/anaconda/bin/node',
1 verbose cli '/Users/ssilvester/anaconda/bin/npm',
1 verbose cli 'install' ]
2 info using npm@5.5.1
3 info using node@v6.10.2
4 verbose npm-session 04f734b5bfb8fe65
5 silly install runPreinstallTopLevelLifecycles
6 silly preinstall @jupyterlab/application-top@0.11.1
7 info lifecycle @jupyterlab/application-top@0.11.1~preinstall: @jupyterlab/application-top@0.11.1
blink1073 / index.ts
Last active Oct 27, 2017
GeoJSON renderer using require.ensure
View index.ts
// Copyright (c) Jupyter Development Team.
// Distributed under the terms of the Modified BSD License.
import {
} from '@phosphor/widgets';
import {
} from '@jupyterlab/rendermime-interfaces';
You can’t perform that action at this time.