![]() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php declare(strict_types = 1); | |
| function testPerformance($name, Closure $closure, $runs = 1000000) | |
| { | |
| $start = microtime(true); | |
| for (; $runs > 0; $runs--) | |
| { | |
| $closure(); | |
| } | |
| $end = microtime(true); |
Remap systemwide Caps + HJKL to arrow keys for Ubuntu 18.04 LTS (Bionic Beaver).
In file /usr/share/X11/xkb/symbols/us append in xkb_symbols "basic" scope before the closing bracket:
//hjkl
key <AC06> { [ h, H, Left ] };
key <AC07> { [ j, J, Down ] };
key <AC08> { [ k, K, Up ] };
key <AC09> { [ l, L, Right ] };
key { [ ISO_Level3_Shift ] }; OlderNewer
