Skip to content

Instantly share code, notes, and snippets.

@blink1073
blink1073 / Backup Notes.md
Last active October 4, 2019 21:05
Jupyter Enterprise JEP (Draft)

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.

@blink1073
blink1073 / keybase.json
Created August 14, 2019 15:02
keybase.md
### Keybase proof
I hereby claim:
* I am blink1073 on github.
* I am blink1073 (https://keybase.io/blink1073) on keybase.
* I have a public key ASCDyw9ILX4MYwb0QEz0FoJCY3PcM49VZGetMmdcf3RsOAo
To claim this, I am signing this object:
@blink1073
blink1073 / plotting.ipynb
Created May 3, 2019 11:41
Octave Kernel Plotting
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@blink1073
blink1073 / winpexpect.py
Created November 23, 2017 11:32
winpexpect
import os
import sys
import time
import errno
import signal
from winpty import PtyProcess
from .exceptions import ExceptionPexpect, EOF, TIMEOUT
from .spawnbase import SpawnBase
@blink1073
blink1073 / setup_hooks.py
Created November 16, 2017 11:58
setup.py hooks
from setuptools.command.develop import develop
from setuptools.command.install import install
class PostDevelopCommand(develop):
"""Post-installation for development mode."""
def run(self):
fetch_yarn()
develop.run(self)
@blink1073
blink1073 / index.js
Created November 6, 2017 17:03
es6 module with es5 target
import * as path from 'path';
function foo() {
return import('leaflet').then(function (mod) {
console.log(mod);
});
}
;
console.log(path);
console.log(foo);
@blink1073
blink1073 / errors.txt
Created October 30, 2017 17:30
Vega offline install
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
blink1073 / index.ts
Last active October 27, 2017 18:36
GeoJSON renderer using require.ensure
// Copyright (c) Jupyter Development Team.
// Distributed under the terms of the Modified BSD License.
import {
Widget
} from '@phosphor/widgets';
import {
IRenderMime
} from '@jupyterlab/rendermime-interfaces';
@blink1073
blink1073 / perf_test.ipynb
Last active October 4, 2017 14:43
Perf Test for String Operations
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@blink1073
blink1073 / notes.md
Created May 8, 2017 15:57
JupyterLab Config Notes

Notebook:

Config - creates it in USER as needed unless otherwise configured

NbExtensions - installs in system unless given --user or --sys-prefix

ServerExtensions - installs in user unless given --sys-prefix

Config and data default to user then sys-prefix, then system