serhii.net

In the middle of the desert you can say anything you want

29 Sep 2020

Day 638

i3 disable changing workspace via mouse wheel

bar {
    wheel_up_cmd nop
    wheel_down_cmd exec ~/.i3/scripts/custom_wheel_down
}

1 is an example. Disabled it in config, not the i3 statusbars own configs.

Intellij idea debugging step out

“Step out” (<Shift-F8>) skips to the first line executed after returning from the current method.

Intellij idea debugging / run code fragment

<Shift-Return> changes the window from one line to multi and back.

tee vs less with UTF-16 / UTF-16LE encoding + reading them in vim

If a file is UTF-16 encoded, tee works much better than less.

To read UTF-16LE in vim, the command is: :e ++enc=utf-16le

Todo diensttagebuch

In my text version of this, I need a nice way of interlinking parts of the text. Ideally in a way that adding text doesn’t break it, and in a way that it’s still text-safe.

Nel mezzo del deserto posso dire tutto quello che voglio.