Skip to content

Instantly share code, notes, and snippets.

View phaustin's full-sized avatar

Philip Austin phaustin

  • University of British Columbia
  • Vancouver, BC Canada
View GitHub Profile
@phaustin
phaustin / Readme_emacs.org
Last active April 14, 2016 18:40
Readme_emacs.org

bzr get http://bzr.xsteve.at/dvc/ run autoconf to generate configure ~/elisp/dvc/++build phil@tern% ../configure –with-emacs=/home/phil/usr_owl/bin/emacs –with-lispdir=/home/phil/usr_owl/share/emacs/dvc –infodir=/home/phil/usr_owl/share/emacs/info

@phaustin
phaustin / Readme_conda.org
Last active February 21, 2016 19:44
Readme_conda.org
@phaustin
phaustin / Readme_vapor.org
Last active December 6, 2015 21:18
Readme_vapor.org

vdfcreate -dimension 120x100x60 -numts 30 -level 3 -vars3d qv -extents 0:0:0:6:5:3 test.vdf

raw2vdf -varname qv -ts 0 test.vdf QV_0000032400.bin

. /Applications/VAPOR/VAPOR.app/Contents/MacOS/vapor-setup.sh

vdfcreate -xcoords xvals.txt -ycoords yvals.txt -zcoords zvals.txt -gridtype stretched -dimension 100x110x112 -vars3d TABS -numts 1 giga.vdf raw2vdf -varname TABS -ts 0 giga.vdf TABS.bin

@phaustin
phaustin / sitedir.py
Created May 2, 2015 19:53
sitedir.py
import os,site
home_dir=os.getenv('HOME')
site.addsitedir('%s/repos' % home_dir)
@phaustin
phaustin / openpyxl.py
Last active August 29, 2015 14:21
openpyxl items
http://openpyxl.readthedocs.org/en/latest/api/openpyxl.worksheet.html#openpyxl.worksheet.worksheet.Worksheet.get_named_range
out=wb.get_named_ranges()
In [15]: out[0]
Out[15]: <NamedRange "<Worksheet "Sessions Times">!$B$4:$B$55">
In [21]: out[0].destinations
Out[21]: [(<Worksheet "Sessions Times">, '$B$4:$B$55')]
In [17]: out[0].name
Out[17]: 'session_ids'
@phaustin
phaustin / Readme_jupyter.org
Last active April 17, 2016 21:44
Readme_jupyter.org

edit-emacs is checked into branch work on

~/repos/IPython-notebook-extensions/nbextensions/usability

and install in

@phaustin
phaustin / Readme_globus.org
Last active November 14, 2015 17:04
Readme_globus.org
@phaustin
phaustin / Readme_install.org
Last active March 19, 2016 16:25
Readme_install.org

Installing netcdf, hdf5, openmpi on newroc

newroc source austinp install

openmpi

newroc ifort

@phaustin
phaustin / Readme_mail.org
Last active March 5, 2016 21:10
Readme_mail.org

rsync –progress –stats -az Users/phil/maildir phil@192.168.1.3:/shares/phil.

rsync –progress –stats -az Users/phil/maildir /Volumes/transcend

building mu4e with homebrew

a new file