{{ message }}

Instantly share code, notes, and snippets.

Damian Avila damianavila

Created Aug 14, 2019
Test jupyter_logging extension
View Dockerfile
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
 FROM jupyter/scipy-notebook:2ce7c06a61a1 # Add jupyter_logging RUN conda install -c damianavila82 jupyter_logging --no-deps # And config the extension with the proper keys COPY jupyter_logging.json /opt/conda/etc/jupyter/jupyter_notebook_config.d/jupyter_logging.json
Created Apr 10, 2015
Talk about Python tools for Data Science (spanish)
View data_science_con_python.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Created Jan 28, 2015
help reveal from cdn
View gist:ba1da8e71630a4c971fc
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
 ipython nbconvert test_slides.ipynb --to slides --post serve --reveal-prefix "http://cdn.jsdelivr.net/reveal.js/2.6.2"
Last active Aug 29, 2015
Temporary fix for mathjax problem with slides in the IPython 2.x series.
View fixed_mathjax.tpl
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
 {%- macro mathjax() -%}
Last active Aug 29, 2015
more poster nikipy
View fixme.py
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
 # -*- coding: utf-8 -*- #---------------------------------------------------------------------------- # Copyright (c) 2013 - Damián Avila # # Distributed under the terms of the Modified BSD License. # # A little snippet to fix @media print issue printing slides from IPython #-----------------------------------------------------------------------------
Last active Aug 29, 2015
A new bridge to share your content with the world: NikIPy.
View nikipy.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Created Mar 18, 2014
Just a simple template to avoid starting with a blank page ;-)
View bokeh_template.py
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
 """A one-line description. A longer description that spans multiple lines. Explain the purpose of the file and provide a short list of the key classes/functions it contains. This is the docstring shown when some does 'import foo;foo?' in IPython, so it should be reasonably useful and informative. """ #----------------------------------------------------------------------------- # Copyright (c) 2012 - 2014, Continuum Analytics, Inc. All rights reserved. #
Created Oct 21, 2013 — forked from cowlicks/serve_slides.py
View serve_slides.py
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
 #!/usr/bin/env python """A script to generate and serve the slides from a ipython notebook that auto updates the slides. It would be nice to include something like this in IPython. Usage: >>> python serve_slides.py presentation.ipynb """ import sys
Created Sep 14, 2013 — forked from jlesquembre/postmkvirtualenv
View postmkvirtualenv
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
 #!/bin/bash # This hook is run after a new virtualenv is activated. # ~/.virtualenvs/postmkvirtualenv libs=( PyQt4 sip.so ) python_version=python$(python -c "import sys; print (str(sys.version_info[0])+'.'+str(sys.version_info[1]))") var=($(which -a \$python_version) ) get_python_lib_cmd="from distutils.sysconfig import get_python_lib; print (get_python_lib())"
Last active Dec 21, 2015
Example ipynb to test LIVE reveal extension.
View test_slides.ipynb