Adding gifts routing and updating my now page
This commit is contained in:
parent
1aeb0cc940
commit
f55e3753ce
2 changed files with 31 additions and 30 deletions
|
|
@ -16,7 +16,7 @@ use crate::database::{
|
||||||
use super::{
|
use super::{
|
||||||
blog, garden,
|
blog, garden,
|
||||||
templates::{
|
templates::{
|
||||||
AboutTemplate, AiTemplate, BlogrollTemplate, ContactTemplate, HomeTemplate, HtmlTemplate, InterestsTemplate, LinksPageTemplate, NowTemplate, UsesTemplate
|
AboutTemplate, AiTemplate, BlogrollTemplate, ContactTemplate, GiftsTemplate, HomeTemplate, HtmlTemplate, InterestsTemplate, LinksPageTemplate, NowTemplate, UsesTemplate
|
||||||
},
|
},
|
||||||
AppState,
|
AppState,
|
||||||
};
|
};
|
||||||
|
|
@ -40,6 +40,7 @@ pub fn get_router(pool: PgPool) -> Router {
|
||||||
.route("/blogroll", get(blogroll))
|
.route("/blogroll", get(blogroll))
|
||||||
.route("/links", get(links))
|
.route("/links", get(links))
|
||||||
.route("/interests", get(interests))
|
.route("/interests", get(interests))
|
||||||
|
.route("/gifts", get(gifts))
|
||||||
.route(
|
.route(
|
||||||
"/robots.txt",
|
"/robots.txt",
|
||||||
get(|| async { Redirect::permanent("/assets/robots.txt") }),
|
get(|| async { Redirect::permanent("/assets/robots.txt") }),
|
||||||
|
|
@ -75,6 +76,10 @@ async fn interests() -> impl IntoResponse {
|
||||||
HtmlTemplate(InterestsTemplate {})
|
HtmlTemplate(InterestsTemplate {})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
async fn gifts() -> impl IntoResponse {
|
||||||
|
HtmlTemplate(GiftsTemplate {})
|
||||||
|
}
|
||||||
|
|
||||||
async fn blogroll(state: Extension<AppState>) -> impl IntoResponse {
|
async fn blogroll(state: Extension<AppState>) -> impl IntoResponse {
|
||||||
let blogroll_page = BlogrollTemplate {
|
let blogroll_page = BlogrollTemplate {
|
||||||
blogs: match get_links_as_list(&state.db, LinkType::BLOG).await {
|
blogs: match get_links_as_list(&state.db, LinkType::BLOG).await {
|
||||||
|
|
|
||||||
|
|
@ -3,68 +3,57 @@
|
||||||
|
|
||||||
{% block content %}
|
{% block content %}
|
||||||
<p>
|
<p>
|
||||||
Last updated: 2024-08-08
|
Last updated: 2024-09-07
|
||||||
</p>
|
</p>
|
||||||
<h2>Work</h2>
|
<h2>Work</h2>
|
||||||
<p>
|
<p>
|
||||||
Still in Toronto, still working in software at Amazon.
|
Still in Toronto, still working in software at Amazon.
|
||||||
My team writes tools to help automate and test new machine setups.
|
My team writes tools to help automate and test new machine setups.
|
||||||
Just got a promotion from L4 (entry level software engineer) to L5 (regular software engineer).
|
Working on fixing up and expanding a tool that I wrote earlier in the year that didn't quite make it into production.
|
||||||
Was not something that I chased but there is an "up or out" when in the L4 position so it is really nice to have that worry off my mind.
|
After the meeting showing the tool the team it was for had a couple more features they wanted added before it was deployed.
|
||||||
|
The configurations had changed before I got those done and some parts had to be redesigned/rebuild.
|
||||||
|
Making it more adaptable to keep this drift from happening in the future.
|
||||||
</p>
|
</p>
|
||||||
<h2>Life</h2>
|
<h2>Life</h2>
|
||||||
<p>
|
<p>
|
||||||
I am engaged and living with the most wonderful woman I have ever met.
|
I am engaged and living with the most wonderful woman I have ever met.
|
||||||
Planning our wedding (slowly bit by bit) for next spring.
|
We have booked a venue and a date!!
|
||||||
|
So excited and frees us up to start booking a lot of other stuff.
|
||||||
|
Found a wonderful venue that incorporates a lot of nature and is comfortably in our budget.
|
||||||
</p>
|
</p>
|
||||||
<p>
|
<p>
|
||||||
Actually planning for the long term financially now that I am lucky enough to have a job that leaves me with money to save and invest after the bills are payed.
|
Actually planning for the long term financially now that I am lucky enough to have a job that leaves me with money to save and invest after the bills are payed.
|
||||||
It still feels new to have that cushion and to plan long term, definitely enjoying it.
|
It still feels new to have that cushion and to plan long term, definitely enjoying it.
|
||||||
</p>
|
</p>
|
||||||
<p>
|
|
||||||
Got covid for the second time just this week.
|
|
||||||
Not great but much lighter then the last time that I got it.
|
|
||||||
</p>
|
|
||||||
<h2>Brazilian Jiu-Jitsu</h2>
|
<h2>Brazilian Jiu-Jitsu</h2>
|
||||||
<p>
|
<p>
|
||||||
Got my blue belt just before the new year.
|
Got my blue belt just before the new year.
|
||||||
Still training as much as I can.
|
|
||||||
The team here at GB Toronto has become an external family.
|
The team here at GB Toronto has become an external family.
|
||||||
I am so grateful for the community.
|
I am so grateful for the community.
|
||||||
</p>
|
</p>
|
||||||
<p>
|
<p>
|
||||||
Competiton is this Saturday.
|
Competiton coming up on September 14th.
|
||||||
I have made the weight, however they opened the weigh in on Friday evening which is unusual.
|
Not may of us from the school are going to compete but there are some members coming out to support.
|
||||||
Means that I can cut water weight aggressively and re-hydrate before the first match so I don't feel terrible.
|
Pulled back on training a bit after the last competition to make sure I had some balance in my life.
|
||||||
So putting a little of it back on.
|
I want this training to be sustainable for the long term.
|
||||||
</p>
|
Just competing in Gi this time as opposed to both Gi and No-Gi.
|
||||||
<p>
|
|
||||||
We have a lot of people from the school going.
|
|
||||||
It is going to be a very fun day.
|
|
||||||
</p>
|
</p>
|
||||||
<h2>Learning</h2>
|
<h2>Learning</h2>
|
||||||
<p>
|
<p>
|
||||||
I am working to learn Japanese and Portuguese on Duolingo.
|
I am working to learn japanese and portuguese on Duolingo.
|
||||||
I love the program and it is 100% worth paying for, but the fact that even when paying it keeps asking for ratings, putting widgets on my home screen, or turning on notifications bothers me.
|
I love the program and it is 100% worth paying for, but the fact that even when paying it keeps asking for ratings, putting widgets on my home screen, or turning on notifications bothers me.
|
||||||
You already have my money now please don't bother me.
|
You already have my money now please don't bother me.
|
||||||
Finding the lessons really helpful.
|
Finding the lessons really helpful.
|
||||||
</p>
|
</p>
|
||||||
<p>
|
<p>
|
||||||
I started studying for the CompTIA ITF+ certification test but that has fallen off in the last little bit.
|
Had not realized how much the anki flash cards that I have been making alongside the course were until I got out of sync.
|
||||||
I have been learning hardware and networking playing with my home network and a small homelab consisting of my NAS and a few raspberry pis.
|
Did make the time to make new cards for a few weeks and was wondering why I was having such a hard time remembering the new japanese words.
|
||||||
Just not very stoked on going for certifications and much prefer to learn this stuff by just playing around with it than reading textbooks and doing practice questions.
|
I didn't have flashcards for them.
|
||||||
|
So updated them all today and am now back on track.
|
||||||
</p>
|
</p>
|
||||||
<h2>Tinkering</h2>
|
<h2>Tinkering</h2>
|
||||||
<p>
|
|
||||||
Have just finished setting up some self hosted software.
|
|
||||||
Firefly for budgeting and personal finance.
|
|
||||||
Pihole for local network addblocking and as a DNS server.
|
|
||||||
Syncthing to keep all my devices synchronized.
|
|
||||||
Slowly working to have more and more of my digital life hosted myself, and it feels good to have control over these things even though it is more work.
|
|
||||||
</p>
|
|
||||||
<p>
|
<p>
|
||||||
This website is the main thing that I have been working with.
|
This website is the main thing that I have been working with.
|
||||||
I rebuilt it using HTMX and a Rust backend.
|
|
||||||
Added a <a href="/uses">uses page</a> recently with just a list of the common things that I use every day.
|
Added a <a href="/uses">uses page</a> recently with just a list of the common things that I use every day.
|
||||||
Going to add links and other curated stuff next.
|
Going to add links and other curated stuff next.
|
||||||
I love these pages on other personal websites and want to contribute to that.
|
I love these pages on other personal websites and want to contribute to that.
|
||||||
|
|
@ -79,6 +68,13 @@
|
||||||
<p>
|
<p>
|
||||||
Set up my own code forge to be able to share my code without having to post it to github.
|
Set up my own code forge to be able to share my code without having to post it to github.
|
||||||
Can see it <a href="https://code.achubb.com">here</a>.
|
Can see it <a href="https://code.achubb.com">here</a>.
|
||||||
|
</p>
|
||||||
|
<p>
|
||||||
|
I dove hard down the custom keyboard rabbit hole this past week.
|
||||||
|
Going to be making a second one for myself to keep at work, and making one for each of my brothers.
|
||||||
|
Can (and have somewhat been) getting lost in the minutiae of layouts, switches, design.
|
||||||
|
It has been a lot of fun (and I apologise to my fiance for the constant clicking as I test out different switches).
|
||||||
|
</p>
|
||||||
<p>
|
<p>
|
||||||
Awstin
|
Awstin
|
||||||
</p>
|
</p>
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue