Skip to content

Instantly share code, notes, and snippets.

View amirsani's full-sized avatar

Amir Sani, PhD amirsani

View GitHub Profile
### Keybase proof
I hereby claim:
* I am amirsani on github.
* I am amirsani (https://keybase.io/amirsani) on keybase.
* I have a public key ASBAZOwTq1Gg8jVs71eejg7EucihUl_RENSdoTRixZQIKAo
To claim this, I am signing this object:
# based on http://osdf.github.io/blog/numpyscipy-with-openblas-for-ubuntu-1204-second-try.html
# do a fresh install of 12.04.3 LTS, then in a temp dir:
# OS
sudo apt-get install build-essential gfortran
sudo apt-get install git curl vim
# Python
sudo apt-get install python-dev python-pip
@amirsani
amirsani / validate_json.sh
Created May 22, 2017 09:43 — forked from kamiller/validate_json.sh
validate json with python via bash script
echo '{"foo":"bar"}' | python -m json.tool >> /dev/null && exit 0 || echo "NOT valid JSON"; exit 1
@amirsani
amirsani / 0_reuse_code.js
Created March 26, 2017 22:01
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
map(function, list_of_data)