Skip to content

Instantly share code, notes, and snippets.

@jakirkham
jakirkham / numpy_float32_traceback_example.ipynb
Last active September 21, 2015 12:52
Demonstrates how `numpy.float32` is rejected as a range argument.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@jakirkham
jakirkham / nanshe_estimate_f0_1d_array.ipynb
Last active October 16, 2015 16:27
Example of using `nanshe`'s `estimate_f0` with a 1D array
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@jakirkham
jakirkham / requirements.txt
Created October 16, 2015 19:06
Reproduction of runipy issue 36 in a docker ubuntu:12.04 container.
BeautifulSoup==3.2.1
Jinja2==2.7.3
Mako==0.9.1
MarkupSafe==0.18
Pillow==2.3.0
Pygments==1.6
argparse==1.2.1
configglue==1.1.2
dnspython==1.11.1
feedparser==5.1.3
@jakirkham
jakirkham / ipcluster_config.py
Last active October 21, 2015 16:23
iPython Profiles (sge)
import os
c = get_config()
c.IPClusterStart.controller_launcher_class = "SGE"
c.IPClusterEngines.engine_launcher_class = "SGE"
c.IPClusterEngines.n = int(os.environ["CORES"]) - 1
@jakirkham
jakirkham / ipcluster_ipcontroller.err
Created October 21, 2015 16:53
iPython cluster startup ipcluster vs ipcontroller/ipengine
2015-10-21 16:17:22.983 [IPControllerApp] Using existing profile dir: u'/root/.ipython/profile_sge'
/opt/conda/lib/python2.7/site-packages/ipyparallel/controller/hub.py:261: UserWarning: get_default_value is deprecated: use the .default_value attribute
scheme = TaskScheduler.scheme_name.get_default_value()
/opt/conda/lib/python2.7/site-packages/ipyparallel/apps/ipcontrollerapp.py:406: UserWarning: get_default_value is deprecated: use the .default_value attribute
scheme = TaskScheduler.scheme_name.get_default_value()
2015-10-21 16:17:23.261 [scheduler] Scheduler started [leastload]
@jakirkham
jakirkham / Notebook_Matplotlib_Interactive.ipynb
Last active October 31, 2015 20:07
Using `%matplotlib inline`
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@jakirkham
jakirkham / Neuron_Viewer.ipynb
Last active November 12, 2015 23:47
Neuron viewer (matplotlib, nanshe)
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@jakirkham
jakirkham / ubuntu_conda_build.log
Created November 14, 2015 19:30
jakirkham/ubuntu_conda build time
$ time docker build --rm -t jakirkham/ubuntu_conda .
Sending build context to Docker daemon 18.94 kB
Step 0 : FROM ubuntu:12.04
12.04: Pulling from library/ubuntu
e31e0d7aee0f: Pull complete
5bc08cfeaf2b: Pull complete
259b021ba9cd: Pull complete
04c3793b1229: Pull complete
library/ubuntu:12.04: The image you are pulling has been verified. Important: image verification is a tech preview feature and should not be relied on to provide security.
Digest: sha256:f41afd7e2c72502f3f9194b1a84abb8fc6148c6565ab8c38900d009ba80c2ef7
@jakirkham
jakirkham / mpl_hist_nb_bug.ipynb
Created November 25, 2015 17:12
Demonstrates issue displaying an array and its histogram
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@jakirkham
jakirkham / syrk_profiling.ipynb
Last active January 19, 2016 12:36
OpenBLAS syrk profiling
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.