Skip to content

Instantly share code, notes, and snippets.

@ap29600
ap29600 / font
Last active April 21, 2025 11:31
generate heatmaps from performance data in K
abcdefghijklmnopqrstuvwxyz0123456789.+-_/
a##
#
####
# #
# #
####
b
@mlegls
mlegls / cli.k
Last active January 19, 2023 21:46
\d cli
(あ):{$[1~x;`$'x_y;`$x_y]}
p1:{ /parse 1
ta:"-"~*t:*|x; ha:"-"~*h:*x
d:{[x;h;t;ta]$[ta;(xあh)!1;(xあh)!`$t]}[;h;t;ta]
:$["--"~2#h;d 2;ha;d 1;ha|ta;`!`;(`$t)!`]
}
p:{x,y}/2p1': /parse all
a:{(^:)_(!l)[&^.l:p x]} /args
f:{(p x)_/`,a x} /flags