Skip to content

Burial0268/Burial0268

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

24 Commits
ย 
ย 

Repository files navigation

// hi, I'm Burial0268 ๐Ÿ‘‹

mod humans {
    pub struct Introduction {
        pub info_list: Vec<&'static str>,
        pub projects: std::collections::HashMap<&'static str, &'static str>,
        pub tech_stack: std::collections::HashMap<&'static str, &'static str>,
        pub position: &'static str,
        pub goals: Vec<&'static str>,
    }

    pub struct About {
        pub intro: Introduction,
    }

    impl About {
        pub fn bootstrap(&self) {
            println!("[Log/Boot] Starting introduction... done");
            println!("[Log]      Initialize the introduction process... done");

            println!(
r#"
      ___           ___           ___       ___       ___     
     /\__\         /\  \         /\__\     /\__\     /\  \    
    /:/  /        /::\  \       /:/  /    /:/  /    /::\  \   
   /:/__/        /:/\:\  \     /:/  /    /:/  /    /:/\:\  \  
  /::\  \ ___   /::\~\:\  \   /:/  /    /:/  /    /:/  \:\  \ 
 /:/\:\  /\__\ /:/\:\ \:\__\ /:/__/    /:/__/    /:/__/ \:\__\
 \/__\:\/:/  / \:\~\:\ \/__/ \:\  \    \:\  \    \:\  \ /:/  /
      \::/  /   \:\ \:\__\    \:\  \    \:\  \    \:\  /:/  / 
      /:/  /     \:\ \/__/     \:\  \    \:\  \    \:\/:/  /  
     /:/  /       \:\__\        \:\__\    \:\__\    \::/  /   
     \/__/         \/__/         \/__/     \/__/     \/__/    
"#);
        }

        pub fn dump(&self) {
            println!("\nMy common info: {:#?}", self.intro.info_list);
            println!("My project info: {:#?}", self.intro.projects);
            println!("Tech stack: {:#?}", self.intro.tech_stack);
            println!("My position: {}", self.intro.position);
            println!("My goals: {:#?}", self.intro.goals);
        }
    }
}

fn main() {
    use std::collections::HashMap;
    use humans::{About, Introduction};

    let intro = Introduction {
        info_list: vec![
            "๐Ÿ”ญ Currently working on GBCLstudio",
            "๐ŸŒฑ A completely stupid student",
            "๐ŸŽฎ Minecraft fan + retro tech & SBCs lover",
            "๐ŸŽต EDM addicted, rhythm game enjoyer (sub Porter Robinson!)",
        ],
        projects: HashMap::from([
            ("FoF-Upload-Qcloud", "https://github.com/GBCLStudio/FoF-Upload-Qcloud"),
            ("Flarum-UserIP", "https://github.com/GBCLStudio/userip"),
        ]),
        tech_stack: HashMap::from([
            ("Backend", "PHP(8.x), Laravel, Flarum, TypeScript, Rust"),
            ("Frontend", "React, Vue, Vanilla JS, Mithril, Astro"),
            ("Other", "CDN, VPS, DNS, WAF, Tauri"),
        ]),
        position: "China Mainland",
        goals: vec![
            "Keep Alive๐Ÿ˜‡",
            "Study Rust",
            "Finish endless examination",
            "To contribute to open source.",
        ],
    };

    let me = About { intro };
    me.bootstrap();
    me.dump();
}

About

Burial0268

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors