Jun's Blog

Output, activities, memo and etc.

Entries from 2021-06-27 to 1 day

How to debug C code in Ruby (ruby/ruby).

This article is to debug the C source code running a specific unit test in Ruby itself (ruby/ruby). First you can set your preferred compiler flags like this. Build $ autoconf $ optflags=-O0 debugflags="-g3 -ggdb3 -gdwarf-4" \ ./configure …

i3: Set up Czech input environment 3

Last time I shared the top of Czech input environment here. I see the Czech UCW keyborad is the best choice so far. $ vi .config/i3/config ... exec --no-startup-id "setxkbmap -layout us,cz -variant ,ucw -option grp:caps_switch" ... $ setxk…