Installing cvxopt linked to Intel MKL via pip
To install cvxopt linked to Intel MKL using pip, set environment variables in the installation commands as follows: sudo CVXOPT_BLAS_LIB_DIR=/opt/intel/mkl/l...
These logs are random snippets of information that have been useful to me in the past. Hopefully they help you too!
To install cvxopt linked to Intel MKL using pip, set environment variables in the installation commands as follows: sudo CVXOPT_BLAS_LIB_DIR=/opt/intel/mkl/l...
Test whether or not sudo is using the environment you expect by creating a small test script with echo $HOME for instance, and then running it as sudo bash t...
To terminate an unresponsive ssh session, press <Return>~., as explained, with more such commands, here
Installing scikit-learn via pip on a machine with no sudo privileges, and a static ATLAS lib can be a nightmare if you do not know what you are doing: the id...
How do you automatically get vim to do PEP8-style indentation for python code? Look up this blog post which references this vim script. It has also been adde...
To learn about the linux filesystem hierarchy, i.e., root directory structure, look here.
In order to recursively set AFS ACL permissions for a directory, you need to manually use find -exec as follows: find <dir> -type d -exec fs sa {} <...
You can find a good reference for git notes here. Also, of course, git help notes. Notes can be used, for instance, to add extra information to a commit with...
In order to generate tag pages in jekyll, look at this.
To save a figure with specific dimensions, look at this page.
Gimp imports multi-page pdfs as one layer-per-page. But it does not re-export multi-layer figures as a multi-page pdf, with one page-per-layer. It just expor...
Note that there are multiple numpy/scipy functions that do regression, fitting, etc. Of these, scipy.stats.linregress fits a line and forces an intercept. Yo...
Nautilus shows hidden files by default when opened from command line. To fix this, go to dconf-editor, and under org->gtk->settings->file-chooser, u...
Remapping PrtSc to Menu requires that you define your own xkb modification. I have added the modified versions of the relevant configuration files to the mis...
How do you make the settings described in the previous log message permanent? The first thing you need to do is to install dconf-editor. Open it up and go to...