- Update HISTORY.md
- Commit the changes:
git add HISTORY.md
git commit -m "Changelog for upcoming release 0.1.1."
- Update version number (can also be minor or major)
bumpversion patch
git add HISTORY.md
git commit -m "Changelog for upcoming release 0.1.1."
bumpversion patch
| # $ brew install pyenv #pay attention to caveats ($ brew info pyenv) | |
| # $ brew install pyenv-virtualenv | |
| # this goes into .zshrc | |
| export PYENV_ROOT=/usr/local/var/pyenv | |
| if which pyenv > /dev/null; then eval "$(pyenv init -)"; fi | |
| if which pyenv-virtualenv-init > /dev/null; then eval "$(pyenv virtualenv-init -)"; fi |
| FROM tacc/tacc-centos7 | |
| RUN yum -y install wget && docker-clean | |
| # install omnipath drivers | |
| RUN yum -y install \ | |
| libibverbs-devel \ | |
| numactl-devel \ | |
| libibmad-devel \ | |
| libibumad-devel \ |
| import numpy as np | |
| import numba | |
| import xarray as xr | |
| @numba.jit(nopython=True) | |
| def lowess_1d(y, x, alpha=2. / 3., it=10): | |
| """lowess(x, y, f=2./3., iter=3) -> yest | |
| Lowess smoother: Robust locally weighted regression. | |
| The lowess function fits a nonparametric regression curve to a scatterplot. | |
| The arrays x and y contain an equal number of elements; each pair |
This is a cheat sheet for how to perform various actions to ZSH, which can be tricky to find on the web as the syntax is not intuitive and it is generally not very well-documented.
| Description | Syntax |
|---|---|
| Get the length of a string | ${#VARNAME} |
| Get a single character | ${VARNAME[index]} |