Skip to content

Instantly share code, notes, and snippets.

View fperez's full-sized avatar

Fernando Perez fperez

View GitHub Profile
@fperez
fperez / Light data with Google Science Journal.ipynb
Last active February 25, 2019 13:18
Real-world data in a few minutes with Google Science Journal
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@fperez
fperez / LogisticRegressionPart2.ipynb
Created November 8, 2018 16:50
LogisticRegression notebook from Data100 - test for load/kernel creation time on JupyterLab. On my system (2017 13" MBP) this nb takes 14s to open and 15s *extra* to get a kernel with JLab 0.35.4, and 4s total in Classic (no extra time for kernel)
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@fperez
fperez / NewCodeCellWidget.ipynb
Created January 29, 2016 04:21
Automatic creation of new code cells via widgets.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@fperez
fperez / LongRunningJobs.ipynb
Created December 30, 2014 17:48
Interactive feedback for long-running jobs in IPython
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@fperez
fperez / TestingDashboard.ipynb
Created January 12, 2015 02:17
Testing Dashboard to pull data from a Google form into Pandas and do simple analytics of human-driven tests
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@fperez
fperez / sprt-nbsp.ipynb
Created March 16, 2017 07:09
sprt test - adding an nbsp in the gap0 paragraph in 2nd cell
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@fperez
fperez / lp2gh-issues.py
Created February 20, 2011 01:14
Conversion from Launchpad bugs to GitHub ones
#!/usr/bin/env python
"""Launchpad to github bug migration script.
There's a ton of code from Hydrazine copied here:
https://launchpad.net/hydrazine
WARNING: this code was written for the Github issues v2 API, and has *not* been ported to v3. If anyone finds it useful and ports it, please drop me a pull request.
Usage
-----
@fperez
fperez / contour_overlap.py
Created March 9, 2011 20:23
Matplotlib contours with overlap control
"""Contours with overlap control.
This script generates widely spaced black contours, with a gray patch in a
subregion where more finely-spaced colored contours are visible. The gray
patch covers the black contours.
"""
import numpy as np
import matplotlib.mlab as mlab
from matplotlib.patches import Rectangle
@fperez
fperez / .bash_utils
Created November 13, 2012 02:53
Bash config
# -*- sh -*-
# Utilities for bash config files
# Contact: Fernando Perez <fperez@fperez.org>
#-----------------------------------------------------------------------------
# Useful constants
# For os, user or processor dependent config
@fperez
fperez / .bash_utils
Created May 17, 2012 05:39
Bash configuration utilities for easy layered PYTHONPATH management
# -*- sh -*-
# Utilities for bash config files
# Contact: Fernando Perez <fernando.perez@colorado.edu>
#-----------------------------------------------------------------------------
# Useful constants
# For os, user or processor dependent config