Skip to content

Instantly share code, notes, and snippets.

View deepcharles's full-sized avatar

Charles Truong deepcharles

View GitHub Profile
@yatsu
yatsu / numpy-openblas-macos-pip.sh
Created April 5, 2020 10:31
Install numpy with enabling openblas using pip on macOS
# Setup HomeBrew: https://brew.sh/
brew install openblas
pip download --no-binary :all: --no-deps numpy
unzip numpy-1.18.2.zip # (you may have newer version)
cd numpy-1.18.2
cat > site.cfg <<EOF
[openblas]
libraries = openblas
library_dirs = $(brew --prefix openblas)/lib
@Imxset21
Imxset21 / lapack_cholesky.c
Last active September 1, 2021 12:14
C89 Cholesky decomposition using LAPACK
/**
@file lapack_cholesky.c
@author Pedro Rittner
@date November 25, 2014
@brief Small example for how to perform a Cholesky decomposition using LAPACK
A small example performing a Cholesky decomposition using LAPACK's C API.
This is meant to demystify the API somewhat and to make it clearer what
is happening in terms of the function call/arguments/etc.
@krebernisak
krebernisak / git log between tags
Created September 25, 2013 10:04
All commits between two tags/commits
git log [TAG1]..[TAG2] --oneline