Skip to content

Instantly share code, notes, and snippets.

View willingc's full-sized avatar
🐍
Build things for others

Carol Willing willingc

🐍
Build things for others
View GitHub Profile
@willingc
willingc / pil-mac-mavericks
Created April 23, 2014 15:13
Getting PIL to install on Mac OSX 10.9 Mavericks
Install the command line developer tools from Apple's site
https://developer.apple.com/downloads/index.action?name=for%20Xcode%20-
From the command line:
export CFLAGS=-Qunused-arguments
export CPPFLAGS=-Qunused-arguments
sudo pip install PIL --allow-external PIL --allow-unverified PIL
Note: I was unable to execute the final pip command if I was in an activated virtual environment
@willingc
willingc / gist:a06d65f6af7ccc094e2e
Created December 19, 2014 15:40
Update git to 2.2.1 on Mac OS X 10.9.5
See detailed installation instructions here:
https://github.com/git/git/blob/master/INSTALL
Download or clone the source files from http://www.git-scm.com/
(As of 12/18/14, it is important to download the source files since the dmg installer is at a lower release version)
Simple directions
1. cd into the source file directory
2. make
3. make install

Keybase proof

I hereby claim:

  • I am willingc on github.
  • I am willingc (https://keybase.io/willingc) on keybase.
  • I have a public key whose fingerprint is 56CC 9B06 6E99 F8E6 D20C 9B31 9FF7 29FD 89E1 8DD4

To claim this, I am signing this object:

Keybase proof

I hereby claim:

  • I am willingc on github.
  • I am willingc (https://keybase.io/willingc) on keybase.
  • I have a public key whose fingerprint is 60B9 D8D8 AFFE 64BB 9F2C CD13 5FA1 88A8 2AE4 C900

To claim this, I am signing this object:

@willingc
willingc / mytest.ipynb
Created September 25, 2015 02:16
just a test
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@willingc
willingc / checkmypackages.sh
Created December 24, 2015 06:23
Check packages installed for running pymc and jupyter notebook
#!/bin/bash
# checkmypackages.sh
#
# Make sure that to run this script that you have given the script
# permissions suitable for executing
echo "Running checkmypackages.sh"
echo "This script checkmypython.sh gives info about packages that have been"
echo "pip installed on your system."
@willingc
willingc / checkmypython.sh
Last active December 24, 2015 06:24
Check python versions on your system
#!/bin/bash
# checkmypython.sh
#
# Make sure that to run this script that you have given the script
# permissions suitable for executing
echo "Running checkmypython.sh"
echo "This script checkmypython.sh gives info about your Python environment"
@willingc
willingc / docs-requirements.txt
Created December 30, 2015 00:35
Jupyter notebook doc development
jupyter
sphinx_rtd_theme
jinja2
tornado
-e git+https://github.com/ipython/ipython_genutils.git#egg=ipython_genutils
-e git+https://github.com/ipython/traitlets.git#egg=traitlets
-e git+https://github.com/jupyter/jupyter_core.git#egg=jupyter_core
-e git+https://github.com/jupyter/nbformat.git#egg=nbformat
-e git+https://github.com/jupyter/jupyter_client.git#egg=jupyter_client
-e git+https://github.com/ipython/ipython.git#egg=ipython
@willingc
willingc / output.txt
Created December 30, 2015 00:38
Post-pip docs requirements - pip freeze output
alabaster==0.7.7
appnope==0.1.0
Babel==2.1.1
decorator==4.0.6
docutils==0.12
gnureadline==6.3.3
-e git+https://github.com/ipython/ipykernel.git@af8ad50c2bbfcee9e766d7ae53da9f0465222e2e#egg=ipykernel-master
-e git+https://github.com/ipython/ipython.git@35fe1d3ec257ccfc0fef950bba44b19be671e52e#egg=ipython-master
-e git+https://github.com/ipython/ipython_genutils.git@43f04835e9037644ab0aedb1f1b99d5d35794235#egg=ipython_genutils-master
ipywidgets==4.1.1
@willingc
willingc / sphinx-version.py
Created January 5, 2016 00:43
Snippet from minrk to autopopulate version in Sphinx docs' conf.py file
# Project Jupyter uses the following to autopopulate version
_version_py = '../../jupyterhub/version.py'
version_ns = {}
exec(compile(open(_version_py).read(), _version_py, 'exec'), version_ns)
# The short X.Y version.
version = '%i.%i' % version_ns['version_info'][:2]
# The full version, including alpha/beta/rc tags.
release = version_ns['__version__']