mirror of
https://github.com/Xevion/Xevion.git
synced 2025-12-08 16:09:10 -06:00
Update declarative README - Rust variant
This commit is contained in:
62
README.md
62
README.md
@@ -7,29 +7,45 @@
|
||||
</samp>
|
||||
</p>
|
||||
|
||||
```python
|
||||
from life.species import Human
|
||||
from skills import python, java, javascript, csharp, html, css, other
|
||||
from datetime import date
|
||||
from random import choices
|
||||
from os import getenv
|
||||
```rust
|
||||
use std::env;
|
||||
use std::collections::HashMap;
|
||||
use rand::seq::SliceRandom;
|
||||
|
||||
class RyanWalters(Human):
|
||||
def __init__(self, username='xevion'):
|
||||
self.name = f'Ryan {0} Walters'.format(choices([getenv('MIDDLE_NAME'), 'C', '']))
|
||||
self.pronouns = ['he' and 'they'],
|
||||
self.description = '''
|
||||
A full-stack software engineer navigating their way through the industry.
|
||||
With an attention to detail, I enjoy building projects that are elegant, robust, and impactful.
|
||||
Although I specialize in Web Development, my skill set is extensive, and I'm confident in my ability to learn anything.
|
||||
'''
|
||||
self.recent_projects = [
|
||||
"https://github.com/acmutsa/Portal",
|
||||
"https://github.com/Xevion/rdap",
|
||||
"https://github.com/Xevion/grain"
|
||||
]
|
||||
self.endpoints = {
|
||||
"discord": ".xevion",
|
||||
"email": "xevion@xevion.dev"
|
||||
use Life::Interests::Technology::{
|
||||
Languages::{Go, Rust},
|
||||
Fields::{GameHacking, WebDevelopment},
|
||||
Infrastructure::{Unraid, Docker},
|
||||
};
|
||||
use Life::Mental::Traits::{Diagnosed::ADHD, Undiagnosed::Autism};
|
||||
use Life::Interests::Arts::{Photography, DigitalArt::AIArt};
|
||||
use Life::Interests::Gaming::Simulation::{Factorio, RimWorld};
|
||||
|
||||
impl Human {
|
||||
fn me(username: &str) -> Human {
|
||||
let middle_name = vec![env::var("MIDDLE_NAME").unwrap_or_default().as_str(), "C", ""].choose(&mut rand::thread_rng()).unwrap_or(&"");
|
||||
let name = format!("Ryan {} Walters", middle_name);
|
||||
|
||||
let endpoints = std::collections::HashMap::from([
|
||||
("discord", ".xevion"),
|
||||
("email", "xevion@xevion.dev"),
|
||||
]);
|
||||
|
||||
Human {
|
||||
name,
|
||||
pronouns: vec!["he", "they"],
|
||||
occupation: Life::Occupations::Student::University.pull(),
|
||||
description: "
|
||||
A full-stack software engineer navigating their way through the industry.
|
||||
With an attention to detail, I enjoy building projects that are elegant, robust, and impactful.
|
||||
Although I specialize in Web Development, my skill set is extensive, and I'm confident in my ability to learn anything.",
|
||||
recent_projects: vec![
|
||||
"https://github.com/acmutsa/Portal",
|
||||
"https://github.com/Xevion/rdap",
|
||||
"https://github.com/Xevion/grain",
|
||||
],
|
||||
endpoints,
|
||||
}
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user