Skip to content

Instantly share code, notes, and snippets.

View richardsalex's full-sized avatar

Alex Richards richardsalex

View GitHub Profile
@richardsalex
richardsalex / nicar16_win_python.md
Last active March 4, 2016 14:12
NICAR16 Windows lab computers and Python

NICAR16 Windows lab computers and Python

For those of you who typically do all your Python dev work on a Mac or Linux and are now faced with teaching eager NICAR16 attendees on a Windows computer, fear not. We've taken steps this year to provide Python virtual environments for each scheduled class that work fine with both the standard Windows command prompt or Windows PowerShell.

Where the environments are

The path to the Python virtual environments on the lab computers:

C:\venvs\
@richardsalex
richardsalex / nicar16_handson_info.md
Created March 3, 2016 19:59
NICAR16 Hands-on Teacher Information

#NICAR16 Hands-on Teacher Information

First, thank you so much for sharing your time and expertise. This conference wouldn't be possible without your commitment to teach. We truly appreciate your help!

Hands-on rooms

Unless specifically noted as having registration required, all hands-on classes are first-come, first-served. Each hands-on room is equipped with 24 student computers (except for Mattie Silks, which has 30) and one for the presenter. IRE staff will limit attendance if the room becomes too crowded; this is at the hotel's request to comply with local fire code. For the same reason, the rooms will already be set with the maximum number of chairs allowed.

Please attend a hands-on meeting in Denver

@richardsalex
richardsalex / python_env.md
Created August 5, 2016 16:08
Quick install guide for Python via Homebrew on OS X

Installing Python and Jupyter Notebooks on OS X

For the most part, everything will be done using OS X's Terminal.

We need to install the following (in this order) to get up and running:

  1. Homebrew (a package manager for OS X)
  2. Python (via Homebrew)
  3. Virtualenv (via Python's pip)
  4. Virtualenvwrapper (also via Python's pip)
@richardsalex
richardsalex / virtualenv_fix.md
Last active October 18, 2016 16:04
Fix stale virtualenv symlinks after Homebrew Python upgrade

From a comment by user laymonk...

The simple fix involves just cd'ing into the virtualenv, and deleting all the stale links to the upgraded python by running: find . -type l -delete

(return to home dir)

.. and then re-installing your virtualenv: mkvirtualenv venv-name

http://azaleasays.com/2014/08/25/homebrew-warnings-about-unbrewed-dylibs-installed-by-r/