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

Code Time

I'm an Early 🐤

🌞 Morning                2111 commits        ███████░░░░░░░░░░░░░░░░░░   26.40 % 
🌆 Daytime                3420 commits        ███████████░░░░░░░░░░░░░░   42.77 % 
🌃 Evening                2197 commits        ███████░░░░░░░░░░░░░░░░░░   27.47 % 
🌙 Night                  269 commits         █░░░░░░░░░░░░░░░░░░░░░░░░   03.36 % 

📊 This Week I Spent My Time On

🕑︎ Time Zone: Europe/Kyiv

💬 Programming Languages: 
sh                       8 hrs 26 mins       ██████████████████░░░░░░░   71.57 % 
Markdown                 1 hr 57 mins        ████░░░░░░░░░░░░░░░░░░░░░   16.66 % 
YAML                     1 hr 2 mins         ██░░░░░░░░░░░░░░░░░░░░░░░   08.83 % 
JSON                     18 mins             █░░░░░░░░░░░░░░░░░░░░░░░░   02.66 % 
Git Config               1 min               ░░░░░░░░░░░░░░░░░░░░░░░░░   00.18 % 

🔥 Editors: 
Zsh                      8 hrs 26 mins       ██████████████████░░░░░░░   71.57 % 
VS Code                  3 hrs 19 mins       ███████░░░░░░░░░░░░░░░░░░   28.24 % 
Vim                      1 min               ░░░░░░░░░░░░░░░░░░░░░░░░░   00.20 % 

💻 Operating System: 
Linux                    11 hrs 47 mins      █████████████████████████   100.00 % 

Last Updated on 30/11/2025 00:08:30 UTC

footer

About

About me

Resources

License

Stars

Watchers

Forks

Contributors 4

  •  
  •  
  •  
  •