Skip to content

Instantly share code, notes, and snippets.

View rimas-kudelis's full-sized avatar

Rimas Kudelis rimas-kudelis

View GitHub Profile
@rimas-kudelis
rimas-kudelis / Converter.php
Last active December 29, 2017 13:17
Arabic to Roman numerals converter
<?php
namespace App;
/**
* Converts positive decimal numbers to Roman numerals.
* Note: M (1000) is the largest Roman numeral supported by this function.
*/
class Converter
{
[
{
"name": "LST 1582 klaviatūra"
},
[
{
"a": 7
},
"⎋ Gr",
{
@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",
[
{
"name": "LST 1205-92 klaviatūra"
},
[
{
"f": 5
},
"~\n`",
"!\n1",
[
{
"name": "LST 1092-89 klaviatūra"
},
[
{
"f": 5
},
"+\n;",
"1\n!",
@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.
<?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;
[
{
"name": "IBM klaviatūra"
},
[
{
"t": "#000000\n\n\n#737373",
"f": 5
},
"~\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": "LEKP klaviatūra"
},
[
{
"f": 5
},
"~\n`\n\n´",
"#\n/\n\n|",