Skip to content

Instantly share code, notes, and snippets.

View rimas-kudelis's full-sized avatar

Rimas Kudelis rimas-kudelis

View GitHub Profile
macOS only comes with one keyboard layout for Lithuanian, and that layout is very subpar. It employs dead key mechanism for entering digits and other commonly used ASCII characters like !@#$%.
The default Lithuanian layout in both Windows and Linux moved away from the dead key approach decades ago, instead employing the “third level”, accessible via AltGr key. While macOS does not spot an AltGr key, it uses the Option key for pretty much the same function (entering less often used characters).
While this can be worked around by using custom XML-based keyboard layouts (I know of at least three freely distributed layouts which use Option instead of a dead key, while maintaining the rest of the base layout virtually unchanged), macOS no longer considers such layouts as equal to the factory ones. For example, it’s not possible for a user to use such layout as their only layout, nor is it possible to use it in the login screen when a Mac is booted from an off state.
This problem hits iOS and IPadOS users even w
@rimas-kudelis
rimas-kudelis / Klaviat_ra-_Ratis__.kbd.json
Last active May 9, 2024 10:57
Klaviatūra „Ratisė“
[
{
"name": "Klaviatūra „Ratisė“"
},
[
{
"f": 5
},
"§\n+\n´\n`",
"¤\n!\n¡\n’",
[
{
"name": "LEKP klaviatūra"
},
[
{
"f": 5
},
"~\n`\n\n´",
"#\n/\n\n|",
@rimas-kudelis
rimas-kudelis / LST-1582-klaviat_ra-_suma_inta_.kbd.json
Last active May 9, 2024 10:58
LST 1582 klaviatūra (sumažinta)
[
{
"name": "LST 1582 klaviatūra (sumažinta)"
},
[
{
"f": 5
},
"~\n`\n\n´",
"1\n!\n\n@",
[
{
"name": "IBM klaviatūra"
},
[
{
"t": "#000000\n\n\n#737373",
"f": 5
},
"~\n`\n\n´",
<?php
declare(strict_types=1);
namespace App\Security\Authenticator;
use App\Exception\UserAuthenticationException;
use App\Repository\CustomerRepository;
use Psr\Log\LoggerInterface;
use Sylius\Component\User\Model\UserInterface as SyliusUserInterface;
@rimas-kudelis
rimas-kudelis / lp2gh-issues.py
Last active March 17, 2020 08:16 — forked from fperez/lp2gh-issues.py
Conversion from Launchpad bugs to GitHub ones
#!/usr/bin/env python
"""Launchpad to github bug migration script.
There's a ton of code from Hydrazine copied here:
https://launchpad.net/hydrazine
Note: if subsequent runs of the script are failing due to cached credentials,
you can recursively remove `~/.cache/launchpadlib/` and `~/.cache/hydrazine/`
before re-running the script.
[
{
"name": "LST 1092-89 klaviatūra"
},
[
{
"f": 5
},
"+\n;",
"1\n!",
[
{
"name": "LST 1205-92 klaviatūra"
},
[
{
"f": 5
},
"~\n`",
"!\n1",
@rimas-kudelis
rimas-kudelis / Skaitmen_-eil_s-klaviat_ra.kbd.json
Last active May 9, 2024 10:58
Skaitmenų eilės klaviatūra
[
{
"name": "Skaitmenų eilės klaviatūra"
},
[
{
"f": 5
},
"~\n`\n\n´",
"Ą\n\n!\n1",