Skip to content

Instantly share code, notes, and snippets.

Greg Werner jgwerner

Block or report user

Report or block jgwerner

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile

Parameter and Label Values

The list below confirms the sections and fields used for the Contacts form.

Generally speaking, the form is organized by company and contact. Company information is present because the search is a business contact and therefore is associated with a company.


For now, we are using InsideView's catalogue data. If one of the parameters from the form corresponds to an InsideView field which uses reference data, then the link to the reference data will be included with the Label.

jgwerner /
Last active Oct 16, 2018
Cup of Data Registration and Activation Endpoints w/ Examples

Cup of Data Registration and Activation Endpoints w/ Examples

Registration Endpoint

Create new local user

Register a new user with local authentication settings (user id and password).


View index.html
<!-- For more examples: -->
<svg class="liquid-button"
# Based in large part from
set -e
print_help() {
echo "Usage: bash OPTION"
echo -e "\nOPTIONS:"
jgwerner /
Last active Aug 8, 2017
simple script to launch notebook with new 3Blades project/server
First login:
- Login with UI
- Backend signal identifies new user
- Script creates a new project
- Script creates a new server
- Script start the new server
- Script downloads course files
View end_to_end_notebook.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
jgwerner /
Created Jun 20, 2017
Standard data science workflow

Data Science Workflow

Define the Problem

  • What is the problem? Provide formal and informal definitions.
  • Why does the problem need to be solved? Motivation, benefits, how it will be used.
  • How would I solve the problem? Describe how the problem would be solved manually to flush domain knowledge.

Prepare Data

jgwerner /
Created May 19, 2017
Jupyter Notebook config enabled for IFrames.
from jupyter_core.paths import jupyter_data_dir
import subprocess
import os
import errno
import stat
c = get_config()
c.NotebookApp.ip = '*'
c.NotebookApp.port = 8888
c.NotebookApp.open_browser = False
jgwerner /
Created May 18, 2017
Custom 3Blades Jupyter Notebook setup.

Add custom Jupyter Notebook to 3Blades

  1. Clone base notebook repo and cd into base-notebook:

    git clone cd base-notebook

  2. Add custom config to to allow iFrame using custom URL:

View swagger.json
{"swagger": "2.0", "info": {"title": "3blades API", "version": ""}, "consumes": ["application/json"], "produces": ["application/json"], "paths": {"/actions/": {"get": {"operationId": "actions_list", "responses": {"200": {"description": "Action list", "schema": {"type": "array", "items": {"$ref": "#/definitions/Action"}}}}, "parameters": [{"name": "limit", "required": false, "in": "query", "description": "", "type": "string"}, {"name": "offset", "required": false, "in": "query", "description": "", "type": "string"}, {"name": "state", "required": false, "in": "query", "description": "", "type": "string"}, {"name": "start_date", "required": false, "in": "query", "description": "", "type": "string"}, {"name": "end_date", "required": false, "in": "query", "description": "", "type": "string"}, {"name": "ordering", "required": false, "in": "query", "description": "", "type": "string"}], "tags": ["actions"]}}, "/actions/{id}/cancel/": {"post": {"operationId": "actions_cancel_create", "responses": {"201": {"descriptio
You can’t perform that action at this time.