Skip to content

Instantly share code, notes, and snippets.

View brian-xu-vlt's full-sized avatar
👨‍💻
Focusing

Brian Valette brian-xu-vlt

👨‍💻
Focusing
  • Paris
View GitHub Profile
@brian-xu-vlt
brian-xu-vlt / blog.md
Created November 29, 2023 15:37
blog

From Coffee to Code: a year in life of a junior software engineer at Inato

Hey👋 I am Brian, and I've been working as a Product Engineer at Inato since July 2022, when I landed my first job ever in the tech industry! This followed a bold career switch that began in the summer of 2019, after 12 years in the specialty coffee industry.

The switch to software engineering came naturally to me: growing up in the 90s, my father worked as a programmer for an aerospace engine manufacturer. This meant that I started interacting with computers from a very young age, which was not so common for my generation. (yes, I am a pre-internet human) By the age of 10, I could write a bit of code. However, I suffered from the typical bias view on programming: since I wasn't very good at math in middle and high school, I was convinced it was not meant for me. Instead, it became a great interest that I pursued on the side.

Fast forward to 2007, when I lande

@brian-xu-vlt
brian-xu-vlt / article.md
Last active November 12, 2023 07:31
article

From Coffee to Code

Hey! I'm Brian, and I've been working as a Product Engineer at Inato since July 2022, when I landed my first job ever in the tech industry! This followed a daring career switch that began in the summer of 2019, after 12 years in the specialty coffee industry.

The switch to software engineering came naturally to me. Growing up in the 90s, my father worked as a programmer for an aerospace engine manufacturer. This meant that I started interacting with computers from a very young age, which was not so common for my generation. By the age of 10, I could write a bit of code. However, since I wasn't very good at math in middle and high school, I suffered from the bias that programming wasn't a career for me to excel in. Instead, it became a great interest that I pursued on the side.

Fast forward to 2007, when I landed in Toronto, Canada. I stepped into the first decent coffee shop of my life. Coming from Paris and its culture of Cafés, the place but not much the produc

@brian-xu-vlt
brian-xu-vlt / db.sh
Last active May 4, 2023 12:57
dbsync/dbrestor
alias dbsync-clean-local='rm ~/CODE/dbsync/local-*.pgdump'
alias dbsync-clean-prod='rm ~/CODE/dbsync/production-*.pgdump'
alias dbsync-clean='dbsync-clean-local; dbsync-clean-prod'
alias dbsync-local-to-local='z infra && myke marketplace-local/db_dump && cp /tmp/marketplace-local.pgdump ~/CODE/dbsync/local-$(date +%F_%H-%M-%S).pgdump ; cd -'
alias dbsync-prod-to-local='z infra && myke marketplace-production/db_dump && cp /tmp/marketplace-production.pgdump ~/CODE/dbsync/production-$(date +%F_%H-%M-%S).pgdump ; cd -'
alias dbrestore-local-to-local='z infra && myke marketplace-local/db_restore_from_dump --PGDUMP_PATH=$(ls /Users/brian/CODE/dbsync/local* | sort | tail -1) ; cd -'
alias dbrestore-prod-to-local='z infra && myke marketplace-local/db_restore_from_dump --PGDUMP_PATH=$(ls /Users/brian/CODE/dbsync/production* | sort | tail -1) ; cd -'