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 1933 commits βββββββββββββββββββββββββ 26.16 %
π Daytime 3142 commits βββββββββββββββββββββββββ 42.53 %
π Evening 2043 commits βββββββββββββββββββββββββ 27.65 %
π Night 270 commits βββββββββββββββββββββββββ 03.65 %
π This Week I Spent My Time On
ποΈ Time Zone: Europe/Kyiv
π¬ Programming Languages:
sh 15 hrs 37 mins βββββββββββββββββββββββββ 42.03 %
YAML 9 hrs 40 mins βββββββββββββββββββββββββ 26.04 %
Go 4 hrs 55 mins βββββββββββββββββββββββββ 13.26 %
Markdown 2 hrs 45 mins βββββββββββββββββββββββββ 07.44 %
Bash 50 mins βββββββββββββββββββββββββ 02.25 %
π₯ Editors:
VS Code 20 hrs 11 mins βββββββββββββββββββββββββ 54.30 %
Zsh 15 hrs 37 mins βββββββββββββββββββββββββ 42.03 %
Cursor 38 mins βββββββββββββββββββββββββ 01.71 %
Obsidian 33 mins βββββββββββββββββββββββββ 01.50 %
Sublime Text 8 mins βββββββββββββββββββββββββ 00.40 %
π» Operating System:
Linux 37 hrs 10 mins βββββββββββββββββββββββββ 100.00 %
Last Updated on 29/06/2025 00:07:50 UTC