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                1573 commits        ██████░░░░░░░░░░░░░░░░░░░   24.58 % 
🌆 Daytime                2770 commits        ███████████░░░░░░░░░░░░░░   43.28 % 
🌃 Evening                1816 commits        ███████░░░░░░░░░░░░░░░░░░   28.38 % 
🌙 Night                  241 commits         █░░░░░░░░░░░░░░░░░░░░░░░░   03.77 % 

📅 I'm Most Productive on Sunday

Monday                   948 commits         ████░░░░░░░░░░░░░░░░░░░░░   14.81 % 
Tuesday                  894 commits         ███░░░░░░░░░░░░░░░░░░░░░░   13.97 % 
Wednesday                792 commits         ███░░░░░░░░░░░░░░░░░░░░░░   12.38 % 
Thursday                 843 commits         ███░░░░░░░░░░░░░░░░░░░░░░   13.17 % 
Friday                   833 commits         ███░░░░░░░░░░░░░░░░░░░░░░   13.02 % 
Saturday                 1019 commits        ████░░░░░░░░░░░░░░░░░░░░░   15.92 % 
Sunday                   1071 commits        ████░░░░░░░░░░░░░░░░░░░░░   16.73 % 

📊 This Week I Spent My Time On

🕑︎ Time Zone: Europe/Kyiv

💬 Programming Languages: 
sh                       10 hrs 54 mins      █████████████████░░░░░░░░   67.15 % 
YAML                     3 hrs 32 mins       █████░░░░░░░░░░░░░░░░░░░░   21.84 % 
Markdown                 1 hr 17 mins        ██░░░░░░░░░░░░░░░░░░░░░░░   07.92 % 
Other                    14 mins             ░░░░░░░░░░░░░░░░░░░░░░░░░   01.45 % 
Diff                     9 mins              ░░░░░░░░░░░░░░░░░░░░░░░░░   01.00 % 

🔥 Editors: 
Zsh                      10 hrs 54 mins      █████████████████░░░░░░░░   67.15 % 
VS Code                  4 hrs 17 mins       ███████░░░░░░░░░░░░░░░░░░   26.48 % 
Obsidian                 56 mins             █░░░░░░░░░░░░░░░░░░░░░░░░   05.79 % 
Vim                      5 mins              ░░░░░░░░░░░░░░░░░░░░░░░░░   00.58 % 

💻 Operating System: 
Linux                    16 hrs 14 mins      █████████████████████████   100.00 % 

Last Updated on 10/07/2024 00:44:04 UTC

footer