Hi, I’m Hassan
I’m a lazy-self-taught Software Developer. Spend my free time reading, gaming, blogging, and sleeping.
I need to remove all sub-directory excluding some directories. The solution I found is using find and xargs.
Useful df and du snippets that I frequently used
Simple setup to load .env file with godotenv and envconfig for type safety
ObjectId.isValid is not really good to validate an ObjectId
Last week, I needed to find articles by user in different DB on the same server.