Hi, I’m Hassan

I’m a lazy-self-taught Software Developer. Spend my free time reading, gaming, blogging, and sleeping.

Validate MongoDB Objectid.isValid vs Regex

ObjectId.isValid is not really good to validate an ObjectId

2022-10-29 · 2 min · 242 words

MongoDB: Subquery to Another DB in The Same Server

Last week, I needed to find articles by user in different DB on the same server.

2022-08-27 · 1 min · 150 words

Load Neovim With Custom Config Dir

I was refactoring my Neovim config but I don’t want to overwrite the current config yet. So I’m looking for the solution to load config from a custom directory

2022-07-31 · 1 min · 87 words


Tak ada yang sempurna di dunia ini, yang ada hanya rokok “Sampoerna”. (A. Hassan 2022)

2022-07-15 · 1 min · 15 words

My Mac Setup

I got Macbook Air M1 this month. So I set it up for personal project development. This is my current setup.

2022-06-15 · updated on 2022-06-25 · 4 min · 744 words