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