Skip to content

Instantly share code, notes, and snippets.

View jdfreder's full-sized avatar

Jonathan Frederic jdfreder

View GitHub Profile
@jdfreder
jdfreder / logramp
Created February 5, 2015 00:27
For Jason Goad
# -*- coding: utf-8 -*-
import sys
sys.path.append("../lib")
import cflib.crtp
import logging
import time
from threading import Timer
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@jdfreder
jdfreder / Untitled3.ipynb
Created August 25, 2014 20:03
cssstyletest
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@jdfreder
jdfreder / modal.py
Last active August 29, 2015 14:03
Example of a modal dialog using widgets
from IPython.html.widgets import ContainerWidget, HTMLWidget, ButtonWidget
from IPython.display import display
fade = ContainerWidget()
dialog = ContainerWidget()
fade.children = [dialog]
content = ContainerWidget()
dialog.children = [content]
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.