Giter Club home page Giter Club logo

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!["[email protected]", "[email protected]"],
            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;

Spacebody's Projects

bpp icon bpp

Slides of Basic Python Programming

cra-c-slides icon cra-c-slides

This is the slides I used to tech others C programming languages -- by Yilin ZHENG

cs-notes icon cs-notes

:books: Computer Science Learning Notes

dbshark icon dbshark

Database tools collections for course CS 307 Database lab

goreturns icon goreturns

A gofmt/goimports-like tool for Go programmers that fills in Go return statements with zero values to match the func return types

grail icon grail

Automatically exported from code.google.com/p/grail

kubernetes icon kubernetes

Production-Grade Container Scheduling and Management

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.