Sam NguAdonisJS Lucid: Connecting to CockroachDBCockroachDB is great. But it was not officially supported by Lucid. So I was thinking of using the postgres driver, and it should just…1 min read·Feb 9, 2024----
Sam NguMeeting Sucks. Say no to Toxic, Unproductive MeetingsMany of us attend meetings. Bad meetings. We all have had toxic, unproductive meetings that interrupted our day.·4 min read·Jan 13, 2023----
Sam NguWTF are Cookies? Why do we need to accept them everywhere?Cookies are everywhere on the internet. Although they can’t be eaten or baked, they are one of the core pillars in building the foundation…6 min read·Jan 11, 2023----
Sam NguSetting up Nginx and PHP-fpm in Laravel SailBut Laravel Sail is meant for development right? Why bother with Nginx?·4 min read·May 9, 2022----
Sam NguJavaScript Tips: Different ways of getting Object PropertiesDynamically getting properties from JavaScript object using the square bracket not1 min read·Feb 1, 2022----
Sam NguSolved — Rxjs TypeError: Cannot destructure property ‘__extends’ of tslib.jsMy solution to TypeError: Cannot destructure property ‘__extends’ of ‘tslib js WEBPACK IMPORTED MODULE 0 default.a’.3 min read·Jan 10, 2022----
Sam NguSigns that You're Working Too Much and When You Need to Take a BreakDo you find yourself taking work home with you or consistently not getting enough sleep and/or exercise?·5 min read·Dec 8, 2021----
Sam NguLaravel Service Provider in Simple EnglishI would admit, Service Provider was one of the most confusing topics in Laravel. Let’s end this misery once and for all.4 min read·Nov 29, 2021--3--3
Sam NguClick to Copy to Clipboard? Copy and Paste with JavaScriptThose “Click to Copy” buttons are voodoo magic, don’t you think so?5 min read·Sep 8, 2021----
Sam NguCallback in JavaScript | How does it work behind the scenes?In short, Callback is a function that is passed to another function, and they exist everywhere in JavaScript.4 min read·Sep 1, 2021----