Skip to content

Instantly share code, notes, and snippets.

@ahmadia
ahmadia / test.ipynb
Created February 21, 2014 18:03
test.ipynb
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
"""
An IPython extension for specifying requirements
"""
import os
from subprocess import check_call
from IPython.core.magic import magics_class, cell_magic, Magics
@magics_class
class ThisWorks(Magics):
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
# This profile file controls your <#> (HashDist) build environment.
# In the future, we'll provide better incorporation of
# automatic environment detection. For now, have a look
# at the YAML files in the top-level directory and choose
# the most *specific* file that matches your environment.
extends:
- name: hashstack
urls: ['https://github.com/hashdist/hashstack.git']
extends:
- name: hashstack
urls: ['https://github.com/hashdist/hashstack.git']
key: 'git:5cbda58b1700734851e1a949a47f8c31eda94133'
file: linux.yaml
packages:
blas:
use: openblas
extends:
- name: hashstack
urls: ['https://github.com/hashdist/hashstack.git']
key: 'git:9df492a2bf18bd1290a2c104583bd0ec42ee5613'
file: linux.yaml
parameters:
HOST_MPICC: /usr/bin/mpicc
HOST_MPICXX: /usr/bin/mpic++
HOST_MPIF77: /usr/bin/mpif77
@ahmadia
ahmadia / elemental.ipynb
Created June 12, 2014 15:38
Elemental vis hacking
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Unpacking sources files:tsn5somjsq3sgedz4fykrebxvdzcp3jw
Unpacking sources tar.gz:y2rxb2ktezyban674mxy4zxtttosqvl4
running [u'/bin/bash', '_hashdist/build.sh']
environment:
{'ARTIFACT': u'/Users/aron/.hashdist/bld/git/hsoeebq4xek7',
'BASH': u'/bin/bash',
'BUILD': u'/Users/aron/.hashdist/tmp/git-hsoeebq4xek7',
u'CURL_DIR': u'/Users/aron/.hashdist/bld/curl/wanputtlgx4h',
u'CURL_ID': u'curl/wanputtlgx4hduzxdehrwgcvdvemv524',
u'EXPAT_DIR': u'/Users/aron/.hashdist/bld/expat/7h4uoi6hlawg',
@ahmadia
ahmadia / HMDA.ipynb
Created June 25, 2014 05:30
Playing with LeafletWidget and the HMDA dataset
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
extends:
- name: hashstack
urls: ['https://github.com/hashdist/hashstack.git']
key: 'git:e4990ab2945f65a7dc0e1727929934415df2ace9'
file: linux.yaml
packages:
blas:
use: host-blas
cmake: