Skip to content
View Spacebody's full-sized avatar
😅
Working
😅
Working

Organizations

@SUSTC

Block or report Spacebody

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
Spacebody/README.md

Anurag's GitHub stats

impl Spacebody {
    pub fn introduce() -> Spacebody {
        Spacebody {
            name: "Jerry",
            sex: "Male",
            location: Location {
                city: "Hangzhou",
                country: "China",
            },
            profession: "BackEnd",
            emails: vec!["510662916@qq.com", "jerryzyl18@gmail.com"],
            blog: "https://blog.yilin.dev",
            skills: vec!["Spring/SpringBoot", "Microservices", "Docker"],
            languages: vec!["Java", "C/C++", "Rust"],
            hobbies: vec!["Reading", "Photography"],
            status: vec![Status::BusyForWork, Status::EnjoyHolidays, Status::SeekTrueLove].choose(&mut rand::thread_rng()).unwrap().clone(),
        }
    }
}

#[derive(Debug)]
pub struct Spacebody {
    name: &'static str,
    sex: &'static str,
    location: Location,
    profession: &'static str,
    emails: Vec<&'static str>,
    blog: &'static str,
    skills: Vec<&'static str>,
    languages: Vec<&'static str>,
    hobbies: Vec<&'static str>,
    status: Status,
}

#[derive(Debug, Copy, Clone)]
enum Status {
    BusyForWork, 
    EnjoyHolidays,
    SeekTrueLove,
}

#[derive(Debug)]
struct Location {
    city: &'static str,
    country: &'static str
}

use rand::seq::SliceRandom;

Popular repositories Loading

  1. LibrarySystem2015 LibrarySystem2015 Public

    2015级java期末项目代码————图书馆管理系统

    Java 18 4

  2. SUSTech-Defense-Slides SUSTech-Defense-Slides Public

    Beamer theme for defense slide

    TeX 18 1

  3. sustcthesis sustcthesis Public

    Forked from SUSTC/sustcthesis

    graduation thesis latex template for sustcer

    TeX 16 5

  4. CS303-Artificial-Intelligence CS303-Artificial-Intelligence Public

    Course codes for CS303 Artificial Intelligence in SUSTech, fall 2017

    Python 11 8

  5. CS405-Machine-Learning CS405-Machine-Learning Public

    The source code of CS405 Machine Learning in SUSTech, Fall 2018

    Jupyter Notebook 7 2

  6. Spacebody.github.io Spacebody.github.io Public

    My personal blog site.

    HTML 2