#[derive(Debug)]
struct ReadMe {
name: &'static str,
blog: &'static str,
email: &'static str,
}
const ME: ReadMe = ReadMe {
name: "Erzbir",
blog: "https://erzbir.com",
email: "erzbir@mail.com",
};
pub trait Expertise {
fn rust(&self) -> &str { "Rust is my new language" }
fn java(&self) -> &str { "Java is my main language" }
fn python(&self) -> &str { "I use python in ai or scripts" }
fn csharp(&self) -> &str { "C# for Unity3D" }
fn javascript(&self) -> &str { "JavaScript for frontend" }
fn typescript(&self) -> &str { "TypeScript for frontend" }
}
pub trait Hobby {
fn ocg(&self) -> &str { "OCG is my favorite game" }
fn irish_flute(&self) -> &str { "I have been learning flute since 2017" }
fn mtb(&self) -> &str { "Mountain biking!" }
}
impl Expertise for ReadMe {}
impl Hobby for ReadMe {}
fn main() {
let expertises = 'Expertises: {
[
ME.rust(),
ME.java(),
ME.python(),
ME.csharp(),
ME.javascript(),
ME.typescript(),
]
};
let hobbies = 'Hobbies: {
[
ME.ocg(),
ME.irish_flute(),
ME.mtb(),
]
};
println!("{:#?}", ME);
println!("{:#?}", expertises);
println!("{:#?}", hobbies);
}
Console Print
ReadMe {
name: "Erzbir",
blog: "https://erzbir.com",
email: "erzbir@mail.com",
}
[
"Rust is my new language",
"Java is my main language",
"I use python in ai or scripts",
"C# for Unity3D",
"JavaScript for frontend",
"TypeScript for frontend",
]
[
"OCG is my favorite game",
"I have been learning flute since 2017",
"Mountain biking!",
]
๐ Wakatime Stats
๐ฑ My GitHub Data
๐ฆ 116.2 kB Used in GitHub's Storage
๐ 113 Contributions in the Year 2024
๐ซ Not Opted to Hire
๐ 33 Public Repositories
๐ 7 Private Repositories
I'm a Night ๐ฆ
๐ Morning 204 commits โโโโโโโโโโโโโโโโโโโโโโโโโ 17.04 %
๐ Daytime 326 commits โโโโโโโโโโโโโโโโโโโโโโโโโ 27.23 %
๐ Evening 361 commits โโโโโโโโโโโโโโโโโโโโโโโโโ 30.16 %
๐ Night 306 commits โโโโโโโโโโโโโโโโโโโโโโโโโ 25.56 %
๐ I'm Most Productive on Tuesday
Monday 181 commits โโโโโโโโโโโโโโโโโโโโโโโโโ 15.12 %
Tuesday 289 commits โโโโโโโโโโโโโโโโโโโโโโโโโ 24.14 %
Wednesday 160 commits โโโโโโโโโโโโโโโโโโโโโโโโโ 13.37 %
Thursday 211 commits โโโโโโโโโโโโโโโโโโโโโโโโโ 17.63 %
Friday 80 commits โโโโโโโโโโโโโโโโโโโโโโโโโ 06.68 %
Saturday 153 commits โโโโโโโโโโโโโโโโโโโโโโโโโ 12.78 %
Sunday 123 commits โโโโโโโโโโโโโโโโโโโโโโโโโ 10.28 %
๐ This Week I Spent My Time On
๐๏ธ Time Zone: Asia/Shanghai
๐ฌ Programming Languages:
Java 10 hrs 51 mins โโโโโโโโโโโโโโโโโโโโโโโโโ 69.32 %
XML 2 hrs 52 mins โโโโโโโโโโโโโโโโโโโโโโโโโ 18.33 %
Kotlin 34 mins โโโโโโโโโโโโโโโโโโโโโโโโโ 03.68 %
HTTP Request 22 mins โโโโโโโโโโโโโโโโโโโโโโโโโ 02.43 %
YAML 19 mins โโโโโโโโโโโโโโโโโโโโโโโโโ 02.04 %
๐ฅ Editors:
Intellijidea 15 hrs 35 mins โโโโโโโโโโโโโโโโโโโโโโโโโ 99.56 %
RustRover 4 mins โโโโโโโโโโโโโโโโโโโโโโโโโ 00.44 %
๐ฑโ๐ป Projects:
student-sys 13 hrs 52 mins โโโโโโโโโโโโโโโโโโโโโโโโโ 88.58 %
StudentSys 32 mins โโโโโโโโโโโโโโโโโโโโโโโโโ 03.49 %
sigma2-main 29 mins โโโโโโโโโโโโโโโโโโโโโโโโโ 03.13 %
accountbook 9 mins โโโโโโโโโโโโโโโโโโโโโโโโโ 00.97 %
hotel 8 mins โโโโโโโโโโโโโโโโโโโโโโโโโ 00.94 %
๐ป Operating System:
Mac 15 hrs 39 mins โโโโโโโโโโโโโโโโโโโโโโโโโ 100.00 %
I Mostly Code in Java
Java 12 repos โโโโโโโโโโโโโโโโโโโโโโโโโ 54.55 %
HTML 2 repos โโโโโโโโโโโโโโโโโโโโโโโโโ 09.09 %
Rust 2 repos โโโโโโโโโโโโโโโโโโโโโโโโโ 09.09 %
C# 1 repo โโโโโโโโโโโโโโโโโโโโโโโโโ 04.55 %
C 1 repo โโโโโโโโโโโโโโโโโโโโโโโโโ 04.55 %
Timeline
Last Updated on 31/05/2024 18:37:18 UTC