Skip to content

Instantly share code, notes, and snippets.

Chris Calloway cbcunc

Block or report user

Report or block cbcunc

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
View custom-worker-template.yaml
metadata:
spec:
restartPolicy: Never
volumes:
- flexVolume:
driver: informaticslab/pysssix-flex-volume
options:
readonly: "true"
name: s3
containers:
@cbcunc
cbcunc / gist:3be54ec00e78e657a0df65e65bfb6d92
Created Jul 13, 2017
Kludges to deploy a Jupyter Dashboards Bundle to Jupyter Dashboards Server
View gist:3be54ec00e78e657a0df65e65bfb6d92
> jupyter kernelgateway
edit kernel name in index.ipynb of bundle with the output of :
> jupyter kernelspec list
run server and gateway in same env and same dir as unzipped bundle
> jupyter —help # for commands
View gist:3fa77e204ec9bbed8a323a2f80832ca2
conda create -c conda-forge -n rsmbund jupyter
source activate rsmbund
conda install -y -c conda-forge/label/rc -c conda-forge h5py
conda install -y -c conda-forge/label/rc -c conda-forge libpng
conda install -y -c conda-forge/label/rc -c conda-forge matplotlib
conda install -c conda-forge/label/rc -c conda-forge ipywidgets
conda install -y -c conda-forge/label/rc -c conda-forge basemap
conda install -y -c conda-forge/label/rc -c conda-forge basemap-data-hires
conda install -y -c conda-forge/label/rc -c conda-forge owslib
pip install ipympl
@cbcunc
cbcunc / gist:d9e4a6c6a36018923a655f49dd2f12f0
Last active Jul 14, 2017
Creating a Jupyter Dashbord Bundle Publisher
View gist:d9e4a6c6a36018923a655f49dd2f12f0
conda create -c conda-forge -n rsmbund jupyter
source activate rsmbund
conda install -y -c conda-forge/label/rc -c conda-forge h5py
conda install -y -c conda-forge/label/rc -c conda-forge libpng
conda install -y -c conda-forge/label/rc -c conda-forge matplotlib
conda install -c conda-forge/label/rc -c conda-forge ipywidgets
conda install -y -c conda-forge/label/rc -c conda-forge basemap
conda install -y -c conda-forge/label/rc -c conda-forge basemap-data-hires
conda install -y -c conda-forge/label/rc -c conda-forge owslib
pip install ipympl
View environment.yml for exporting notebook bundle
name: rsmdash
channels: !!python/tuple
- defaults
dependencies:
- conda-forge/label/rc::matplotlib=2.0.0rc1=np111py35_1
- conda-forge::backports.shutil_get_terminal_size=1.0.0=py35_0
- conda-forge::basemap=1.0.8.dev0=np111py35_3
- conda-forge::basemap-data-hires=1.0.8.dev0=2
- conda-forge::ca-certificates=2016.9.26=0
- conda-forge::cairo=1.14.6=0
View folium test.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View with-ipympl.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View no-ipympl.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
You can’t perform that action at this time.