DevOps Engineer at Smile Ukraine
# %%
"""Creating a class for keeping track of knowledge."""
import json
from dataclasses import asdict, make_dataclass
from rich import print
person = make_dataclass(
"Person",
[
("nick", str),
("name", str),
("pipelines", list[str]),
("web_services", list[str]),
("languages", list[str]),
("databases", list[str]),
("misc", list[str]),
("ongoing", list[str]),
],
namespace={"to_json": lambda self: json.dumps(asdict(self), indent=4)},
)
# %%
# @title Initializing classes and creating lists
if __name__ == "__main__":
pipelines = ['GitLab Ci', 'GitHub Actions', 'AWS CodePipeline', 'Jenkins']
web_services = ['nginx', 'apache', 'varnish', 'fastly', 'elastic', 'solr']
languages = ['YAML', 'Bash', 'Python', 'JS', 'Web']
databases = ['SQLite', 'PostgreSQL', 'Percona', 'DynamoDB', 'Redis']
misc = ['Ansible', 'Linux', 'LXC', 'Docker', 'Terraform', 'AWS']
ongoing = ['LPIC', 'Full Stack Web', 'AWS']
me = person('@Searge', 'Sergij Boremchuk',
pipelines, web_services, languages, databases, misc, ongoing)
print(me.to_json())
# %%Thanks @rednafi for idea of script π
I'm an Early π€
π Morning 2193 commits βββββββββββββββββββββββββ 26.42 %
π Daytime 3547 commits βββββββββββββββββββββββββ 42.74 %
π Evening 2284 commits βββββββββββββββββββββββββ 27.52 %
π Night 275 commits βββββββββββββββββββββββββ 03.31 %
π This Week I Spent My Time On
ποΈ Time Zone: Europe/Kyiv
π¬ Programming Languages:
sh 9 hrs 58 mins βββββββββββββββββββββββββ 46.94 %
YAML 4 hrs 49 mins βββββββββββββββββββββββββ 22.75 %
Markdown 2 hrs 20 mins βββββββββββββββββββββββββ 11.05 %
JSON 49 mins βββββββββββββββββββββββββ 03.92 %
Bash 39 mins βββββββββββββββββββββββββ 03.08 %
π₯ Editors:
VS Code 11 hrs 13 mins βββββββββββββββββββββββββ 52.84 %
Zsh 9 hrs 58 mins βββββββββββββββββββββββββ 46.94 %
Vim 2 mins βββββββββββββββββββββββββ 00.21 %
Sublime Text 0 secs βββββββββββββββββββββββββ 00.01 %
π» Operating System:
Linux 21 hrs 14 mins βββββββββββββββββββββββββ 100.00 %
Last Updated on 28/12/2025 00:08:36 UTC







