BLAS:
$ sudo update-alternatives --config libblas.so.3
LAPACK:
$ sudo update-alternatives --config liblapack.so.3
On ubuntu one must use openblas with standard lapack for numpy to work.
to install openblas
$ sudo apt-get install libopenblas-base
Note that the number of threads used by openblas can be set manually by:
$ export OPENBLAS_NUM_THREADS=1
In order to allow certificate based connexion to a ssh server
$ ssh-copy-id -i ~/.ssh/id_rsa.pub login@server
Simple examples for ssh config file
Host github.com
Hostname ssh.github.com
Port 443
Host other_pc
Hostname 192.168.0.something
User username
Host cproxy
Hostame 192.168.0.something
User username
ProxyCommand ssh [email protected] -W %h:%p
Host cproxy_other
Hostame 192.168.0.something
ProxyJump other_pc
Copy all file in a folder to an aws s3 folder
$ ls * |xargs -n 1 -I {} aws s3 cp {} "s3://URL"
$ convert -delay 20 *.png movie.mp4
$ v4l2-ctl --set-ctrl=focus_auto=0
Think about descativating nginx so that the temporary server works and install the wawesome certbot
$ sudo certbot certonly --rsa-key-size 2048 --standalone --agree-tos --no-eff-email --email [email protected] -d your.server.com
keys will be stored for use in apache/nginx in /etc/letsencrypt/live/your.server.com/fullchain.pem