Last active
March 3, 2018 19:05
-
-
Save asford/0c681808143af0d324f965e6b9660383 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
README.md |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Layout configuration for conda environments. | |
# Specify environment name with `layout conda <envname>` | |
# or | |
# Detect name from environment.yml with `layout conda` | |
layout_conda() { | |
if [ -n "$1" ]; then | |
source activate $1; | |
elif (grep -q name: environment.yml); then | |
source activate `grep name: environment.yml | sed -e 's/name: //'` | |
else | |
(>&2 echo No environment specified); | |
exit 1; | |
fi; | |
} | |
layout conda |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Created by https://www.gitignore.io/api/python,jupyternotebook | |
### JupyterNotebook ### | |
.ipynb_checkpoints | |
*/.ipynb_checkpoints/* | |
# Remove previous ipynb_checkpoints | |
# git rm -r .ipynb_checkpoints/ | |
# | |
### Python ### | |
# Byte-compiled / optimized / DLL files | |
__pycache__/ | |
*.py[cod] | |
*$py.class | |
# C extensions | |
*.so | |
# Distribution / packaging | |
.Python | |
build/ | |
develop-eggs/ | |
dist/ | |
downloads/ | |
eggs/ | |
.eggs/ | |
lib/ | |
lib64/ | |
parts/ | |
sdist/ | |
var/ | |
wheels/ | |
*.egg-info/ | |
.installed.cfg | |
*.egg | |
# PyInstaller | |
# Usually these files are written by a python script from a template | |
# before PyInstaller builds the exe, so as to inject date/other infos into it. | |
*.manifest | |
*.spec | |
# Installer logs | |
pip-log.txt | |
pip-delete-this-directory.txt | |
# Unit test / coverage reports | |
htmlcov/ | |
.tox/ | |
.coverage | |
.coverage.* | |
.cache | |
.pytest_cache/ | |
nosetests.xml | |
coverage.xml | |
*.cover | |
.hypothesis/ | |
# Translations | |
*.mo | |
*.pot | |
# Flask stuff: | |
instance/ | |
.webassets-cache | |
# Scrapy stuff: | |
.scrapy | |
# Sphinx documentation | |
docs/_build/ | |
# PyBuilder | |
target/ | |
# Jupyter Notebook | |
# pyenv | |
.python-version | |
# celery beat schedule file | |
celerybeat-schedule.* | |
# SageMath parsed files | |
*.sage.py | |
# Environments | |
.env | |
.venv | |
env/ | |
venv/ | |
ENV/ | |
env.bak/ | |
venv.bak/ | |
# Spyder project settings | |
.spyderproject | |
.spyproject | |
# Rope project settings | |
.ropeproject | |
# mkdocs documentation | |
/site | |
# mypy | |
.mypy_cache/ | |
# End of https://www.gitignore.io/api/python,jupyternotebook |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: sparse_mult | |
dependencies: | |
- python=3.5 | |
- ipython | |
- ipykernel | |
- numpy | |
- scipy |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment