jemnotesversion 2 / featuring matlab or see all/search

Jan 29
I use this constantly to disable beeps produced by X. They usually come through loud and painful through my headphones. Even matlab’s massive gui produces beeps that are fixed by this. Just type this in any terminal.
xset b off
Jan 12
In matlab, deal can be used for multiple simultaneous assignment. For example, from matlab’s help,
% Same as a = x, b = y, c = z:
[a, b, c] = deal(x, y, z);