Skip to content
View mat-ale's full-sized avatar
๐Ÿ’ญ
I may be slow to respond.
๐Ÿ’ญ
I may be slow to respond.

Block or report mat-ale

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Please don't include any personal information such as legal names or email addresses. Maximum 100 characters, markdown supported. This note will be visible to only you.
Report abuse

Contact GitHub support about this userโ€™s behavior. Learn more about reporting abuse.

Report abuse
mat-ale/README.md

About me

import com.google.common.collect.ImmutableMap;
import lombok.extern.slf4j.Slf4j;

import java.util.List;
import java.util.Map;

@Slf4j
public class AboutMe {

    public record Mat(Attributes attributes) {

        Mat() {
            this(new Attributes());
        }

        public List<String> getHobbies() {
            return attributes.hobbies();
        }

        public Map<String, Object> getLife() {
            return attributes.life();
        }

        public Map<String, Object> getCoding() {
            return attributes.coding();
        }

        public void displayInfo() {
            log.info("Hobbies: {}", String.join(", ", getHobbies()));
            log.info("Life: {}", getLife());
            log.info("Coding: {}", getCoding());
        }
    }

    public record Attributes(
            List<String> hobbies,
            Map<String, Object> life,
            Map<String, Object> coding) {

        public Attributes() {
            this(
                    List.of(
                            "๐ŸŽน Playing the piano",
                            "๐ŸŽง Listening to music",
                            "๐Ÿ’ป Coding",
                            "๐ŸŽฌ Watching movies",
                            "๐Ÿ“บ Watching TV series",
                            "๐Ÿ‹๏ธโ€โ™‚๏ธ Working out",
                            "๐Ÿฅพ Hiking",
                            "๐Ÿƒ Running",
                            "๐Ÿ€ Playing basketball",
                            "โœˆ๏ธ Traveling"
                    ),
                    ImmutableMap.of(
                            "Languages", List.of("๐Ÿ‡ฎ๐Ÿ‡น Italian", "๐Ÿ‡ฌ๐Ÿ‡ง English"),
                            "Age", 30 + (int) (Math.random() * 6)
                    ),
                    ImmutableMap.of(
                            "Languages", ImmutableMap.of(
                                    "Expert", List.of("Java"),
                                    "Intermediate", List.of("JavaScript", "TypeScript", "Vue.js"),
                                    "Learning", List.of("Node.js", "Python")),
                            "Specialities", List.of(
                                    "๐Ÿ–ฅ Back end",
                                    "๐Ÿ“š Full stack",
                                    "๐Ÿณ Docker Compose stacks",
                                    "๐Ÿ“ฑ Hybrid web apps"
                            ),
                            "IDEs", List.of("๐Ÿ’ก IntelliJ IDEA", "๐Ÿ“˜ VS Codium"),
                            "PCs", ImmutableMap.of(
                                    "Linux", ImmutableMap.of(
                                            "Processor", "๐Ÿ–ฅ AMD Ryzen 5",
                                            "RAM", "๐Ÿง  64 GB",
                                            "GPU", "๐ŸŽฎ NVIDIA GeForce RTX 4060 Ti"),
                                    "Trashed (Windows)", ImmutableMap.of(
                                            "Processor", "๐Ÿ–ฅ Intel i7",
                                            "RAM", "๐Ÿง  16 GB",
                                            "GPU", "๐ŸŽฎ MSI R6870 Hawk")
                            )
                    )
            );
        }
    }

    public static void main(final String[] args) {
        final Mat mat = new Mat();
        mat.displayInfo();
    }
}

Popular repositories Loading

  1. syncope-cas-saml2-auth syncope-cas-saml2-auth Public

    SAML2 Authentication with Syncope as SP and CAS as IdP

    JavaScript 1

  2. syncope syncope Public

    Forked from apache/syncope

    Mirror of Apache Syncope

    Java

  3. apache-knox-filter apache-knox-filter Public

    Java

  4. mat-ale mat-ale Public