Skip to content

searge/Searge

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hi, I'm Searge Vulcan salute

DevOps Engineer at Smile Ukraine

Stand With Ukraine @Searge@hachyderm.io

# %%
"""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 😉

Statistics

Skyline for 2021

Visitors

I'm an Early 🐤

🌞 Morning                2188 commits        ███████░░░░░░░░░░░░░░░░░░   26.23 % 
🌆 Daytime                3606 commits        ███████████░░░░░░░░░░░░░░   43.23 % 
🌃 Evening                2279 commits        ███████░░░░░░░░░░░░░░░░░░   27.32 % 
🌙 Night                  269 commits         █░░░░░░░░░░░░░░░░░░░░░░░░   03.22 % 

📊 This Week I Spent My Time On

🕑︎ Time Zone: Europe/Kyiv

💬 Programming Languages: 
sh                       13 hrs 32 mins      ████████████░░░░░░░░░░░░░   46.01 % 
Markdown                 5 hrs 24 mins       █████░░░░░░░░░░░░░░░░░░░░   18.38 % 
YAML                     4 hrs 30 mins       ████░░░░░░░░░░░░░░░░░░░░░   15.34 % 
Terraform                2 hrs 14 mins       ██░░░░░░░░░░░░░░░░░░░░░░░   07.63 % 
JSON                     54 mins             █░░░░░░░░░░░░░░░░░░░░░░░░   03.09 % 

🔥 Editors: 
VS Code                  14 hrs 30 mins      ████████████░░░░░░░░░░░░░   49.28 % 
Zsh                      13 hrs 32 mins      ████████████░░░░░░░░░░░░░   46.01 % 
Obsidian                 1 hr 10 mins        █░░░░░░░░░░░░░░░░░░░░░░░░   03.99 % 
Vim                      12 mins             ░░░░░░░░░░░░░░░░░░░░░░░░░   00.72 % 

💻 Operating System: 
Linux                    29 hrs 25 mins      █████████████████████████   100.00 % 

Last Updated on 25/01/2026 00:09:59 UTC

footer

About

About me

Resources

License

Stars

Watchers

Forks

Contributors 4

  •  
  •  
  •  
  •