Skip to content
View wesleyel's full-sized avatar
😈
Focusing
😈
Focusing

Organizations

@balamod

Block or report wesleyel

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
wesleyel/README.md
struct AboutMe;

impl AboutMe {
    pub fn name() -> &'static str {
        "Wesley Yang"
    }

    pub fn languages() -> Vec<&'static str> {
        vec![
            "Chinese",
            "English",
        ]
    }

    pub fn coding_languages() -> Vec<&'static str> {
        vec![
            "Rust",
            "C",
            "C++",
            "Python",
            "TypeScript",
        ]
    }

    pub fn tech_stack() -> Vec<&'static str> {
        vec![
            "Linux",
            "Embedded Systems",
            "Next.js",
            "Github CI/CD",
        ]
    }

    pub fn toolset() -> Vec<&'static str> {
        vec![
            "Docker",
            "Git",
            "Nix",
        ]
    }

    pub fn socials() -> std::collections::HashMap<&'static str, &'static str> {
        let mut map = std::collections::HashMap::new();
        map.insert("blog", "https://wesleyel.github.io");
        map.insert("github", "https://github.com/wesleyel");
        map
    }
}

impl std::fmt::Display for AboutMe {
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
        write!(f, "Name: {}\n", AboutMe::name())?;
        write!(f, "Languages: {}\n", AboutMe::languages().join(", "))?;
        write!(f, "Coding Languages: {}\n", AboutMe::coding_languages().join(", "))?;
        write!(f, "Tech Stack: {}\n", AboutMe::tech_stack().join(", "))?;
        write!(f, "Toolset: {}\n", AboutMe::toolset().join(", "))?;
        write!(f, "Socials: {}", AboutMe::socials().iter().map(|(k, v)| format!("{}: {}", k, v)).collect::<Vec<_>>().join(", "))
    }
}

pub fn main() {
    let about_me = AboutMe {};
    println!("{}", about_me);
}

🤹 Recent Activity

⬆️ Pushed 1 commit to wesleyel/learn-nix
⬆️ Pushed 1 commit to wesleyel/learn-nix
⬆️ Pushed 1 commit to wesleyel/learn-nix
⬆️ Pushed 1 commit to wesleyel/learn-nix
⬆️ Pushed 1 commit to wesleyel/learn-nix

🌟 Cool Repos

⭐️ 130 📦 balamod/balamod
⭐️ 28  📦 wesleyel/cloudmark
⭐️ 12  📦 wesleyel/keyle
⭐️ 10  📦 league-fan/league-fan.github.io
⭐️ 9   📦 wesleyel/elevatorController

Pinned Loading

  1. keyle keyle Public

    This package provides a simple way to style keyboard shortcuts in your documentation.

    Typst 12

  2. cloudmark cloudmark Public

    A universal bookmarklet management tool. Created with cloudflare KV.

    TypeScript 29 5

  3. league-fan/league-fan.github.io league-fan/league-fan.github.io Public

    Preview League of Legends Summoner Icons, Emotes, and others.

    TypeScript 10 2

  4. war3parser war3parser Public

    Rust 2