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 2046 commits βββββββββββββββββββββββββ 25.97 %
π Daytime 3441 commits βββββββββββββββββββββββββ 43.68 %
π Evening 2117 commits βββββββββββββββββββββββββ 26.88 %
π Night 273 commits βββββββββββββββββββββββββ 03.47 %
π This Week I Spent My Time On
ποΈ Time Zone: Europe/Kyiv
π¬ Programming Languages:
sh 11 hrs 23 mins βββββββββββββββββββββββββ 42.50 %
YAML 6 hrs 45 mins βββββββββββββββββββββββββ 25.21 %
Markdown 4 hrs 43 mins βββββββββββββββββββββββββ 17.61 %
Terraform 1 hr 12 mins βββββββββββββββββββββββββ 04.52 %
Python 44 mins βββββββββββββββββββββββββ 02.77 %
π₯ Editors:
VS Code 14 hrs 58 mins βββββββββββββββββββββββββ 55.86 %
Zsh 11 hrs 23 mins βββββββββββββββββββββββββ 42.50 %
Obsidian 23 mins βββββββββββββββββββββββββ 01.49 %
Vim 2 mins βββββββββββββββββββββββββ 00.15 %
π» Operating System:
Linux 26 hrs 47 mins βββββββββββββββββββββββββ 100.00 %
Last Updated on 27/07/2025 00:08:11 UTC