This dataset contains a selection of Gilt transaction data
SELECT count(*) FROM gilt_purchase_data
git fetch upstream && git diff remotes/upstream/master master > changes.diff |
#!/bin/bash | |
# grab the virtualenvwrapper settings | |
export WORKON_HOME=$HOME/.virtualenvs | |
export PIP_VIRTUALENV_BASE=$WORKON_HOME | |
export PIP_RESPECT_VIRTUALENV=true | |
# the location of your virtualenv wrapper shell script may differ | |
source /usr/local/share/python/virtualenvwrapper.sh |
--PART 2 | |
-- a. | |
SELECT * FROM tornados | |
SELECT cartodb_id FROM tornados | |
-- b. | |
SELECT * FROM tornados LIMIT 1 | |
SELECT * FROM tornados LIMIT 1 OFFSET 1 | |
SELECT * FROM tornados ORDER BY damage DESC LIMIT 10 | |
-- c. | |
SELECT * FROM tornados WHERE cartodb_id < 30 |
#!/usr/bin/env python | |
# Note, updated version of | |
# https://github.com/ipython/ipython-in-depth/blob/master/tools/nbmerge.py | |
""" | |
usage: | |
python nbmerge.py A.ipynb B.ipynb C.ipynb > merged.ipynb | |
""" | |
import io |
A quick guide on how to setup Node.js development environment.
nvm allows installing several versions of Node.js to the same system. Sometimes applications require a certain versions of Node.js to work. Having the flexibility of using specific versions can help.