Skip to content

Instantly share code, notes, and snippets.

View DmytroLisitsyn's full-sized avatar

Dmytro Lisitsyn DmytroLisitsyn

View GitHub Profile
//
// Serafim
//
// Copyright (C) 2020 Dmytro Lisitsyn
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
// copies of the Software, and to permit persons to whom the Software is
@DmytroLisitsyn
DmytroLisitsyn / kassandra.py
Last active February 13, 2024 11:57
Kassandra - localization constants generator
#!/usr/bin/python
import sys
import re
import os.path
def main():
strings_file = None
dict_file = None
output_file = None
@DmytroLisitsyn
DmytroLisitsyn / gwyneira.sh
Last active February 13, 2024 11:57
Gwyneira - asset constants generator
#!/bin/bash
set -e
CATALOGS=$@
ASSETS=()
MAKE_SPACING() {
local DEPTH=$1
local STEP=" "
@DmytroLisitsyn
DmytroLisitsyn / kassandra.sh (Outdated)
Last active July 26, 2022 09:05
Localization constants generator.
#!/bin/bash
#
# Copyright (C) 2019 MadAppGang Pty Ltd
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
# copies of the Software, and to permit persons to whom the Software is
# furnished to do so, subject to the following conditions:
@DmytroLisitsyn
DmytroLisitsyn / country_dial_info.json
Last active December 16, 2024 13:59 — forked from Goles/CountryCodes.json
A JSON dataset of entities containing country name, code, dial (phone) code and flag emoji icon.
[{"name":"Afghanistan","flag":"🇦🇫","code":"AF","dial_code":"+93"},{"name":"Åland Islands","flag":"🇦🇽","code":"AX","dial_code":"+358"},{"name":"Albania","flag":"🇦🇱","code":"AL","dial_code":"+355"},{"name":"Algeria","flag":"🇩🇿","code":"DZ","dial_code":"+213"},{"name":"American Samoa","flag":"🇦🇸","code":"AS","dial_code":"+1684"},{"name":"Andorra","flag":"🇦🇩","code":"AD","dial_code":"+376"},{"name":"Angola","flag":"🇦🇴","code":"AO","dial_code":"+244"},{"name":"Anguilla","flag":"🇦🇮","code":"AI","dial_code":"+1264"},{"name":"Antarctica","flag":"🇦🇶","code":"AQ","dial_code":"+672"},{"name":"Antigua and Barbuda","flag":"🇦🇬","code":"AG","dial_code":"+1268"},{"name":"Argentina","flag":"🇦🇷","code":"AR","dial_code":"+54"},{"name":"Armenia","flag":"🇦🇲","code":"AM","dial_code":"+374"},{"name":"Aruba","flag":"🇦🇼","code":"AW","dial_code":"+297"},{"name":"Australia","flag":"🇦🇺","code":"AU","dial_code":"+61"},{"name":"Austria","flag":"🇦🇹","code":"AT","dial_code":"+43"},{"name":"Azerbaijan","flag":"🇦🇿","code":"AZ","dial_code":"+9