Thursday, June 07, 2018

Cmake: compile using clang instead of gcc

export CC=/usr/bin/clang
export CXX=/usr/bin/clang++
cmake ..

Thursday, May 31, 2018

ssh config

Example
# contents of $HOME/.ssh/config
Host dev
HostName dev.example.com
Port 22000
User fooey

From: https://nerderati.com/2011/03/17/simplify-your-life-with-an-ssh-config-file/

Monday, May 28, 2018

i3: add rofi key $mod+d

Edit .config/i3/config:
bindsym $mod+d exec "rofi -combi-modi window,drun -show combi"

Tuesday, May 15, 2018

Sunday, May 13, 2018

Arch: List of recently installed and upgraded packages

cat /var/log/pacman.log | grep -i upgraded cat /var/log/pacman.log | grep -i installed

Monday, April 30, 2018

Tilix: Arch config settings file location

The config parameters are stored in dconf. Install `dconf-editor` from aur to edit them
yaourt -S dconf-editor
In the dconf-editor search for "Tilix" to find its settings, or go to /com/gexperts/Tilix

Sunday, April 29, 2018

Start MATLAB in Linux termianal

alias mat="/opt/MATLAB/R2016a/bin/matlab -softwareopengl -nodesktop -nosplash"