<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"><channel><title>Leo&apos;s dev blog – stories, insights, and ideas</title><description>A personal space on the cloud where I document my programming journey, sharing lessons, insights, and resources for fellow developers.</description><link>https://www.leohuynh.dev</link><language>en-us</language><item><title>Passkeys: what they are, how they work, and why you should use them</title><link>https://www.leohuynh.dev/blog/passkeys-how-they-work-and-why-you-should-use-them</link><guid isPermaLink="true">https://www.leohuynh.dev/blog/passkeys-how-they-work-and-why-you-should-use-them</guid><description>A passkey is passwordless login: the website keeps a lock (public key), your device keeps the key (private key). The mechanism explained simply, and why you should turn it on.</description><pubDate>Fri, 17 Jul 2026 00:00:00 GMT</pubDate><category>passkey</category><category>webauthn</category><category>security</category><category>authentication</category></item><item><title>Git worktree: one repo, many working directories</title><link>https://www.leohuynh.dev/blog/git-worktree-one-repo-many-working-directories</link><guid isPermaLink="true">https://www.leohuynh.dev/blog/git-worktree-one-repo-many-working-directories</guid><description>How git worktree lets you check out multiple branches at the same time — and why it became essential the day I wanted several AI coding agents working on one repo in parallel.</description><pubDate>Wed, 15 Jul 2026 00:00:00 GMT</pubDate><category>git</category><category>git-worktree</category><category>git-workflows</category><category>ai-agents</category></item><item><title>Building a Smooth Blurry Loading Effect for Images in Shopify Hydrogen</title><link>https://www.leohuynh.dev/blog/blurry-loading-effect-for-shopify-hydrogen-images</link><guid isPermaLink="true">https://www.leohuynh.dev/blog/blurry-loading-effect-for-shopify-hydrogen-images</guid><description>Learn how to create a beautiful blurry loading effect for images in Shopify Hydrogen that enhances user experience while images load.</description><pubDate>Wed, 09 Jul 2025 00:00:00 GMT</pubDate><category>shopify</category><category>hydrogen</category><category>react</category><category>typescript</category><category>image-optimization</category><category>ui-ux</category></item><item><title>Crawling Goodreads books data in Node.js</title><link>https://www.leohuynh.dev/blog/crawling-goodreads-books-data</link><guid isPermaLink="true">https://www.leohuynh.dev/blog/crawling-goodreads-books-data</guid><description>Learn how to extract, crawl, and convert your Goodreads books data using Node.js. This guide covers both the RSS feed and CSV export methods.</description><pubDate>Fri, 27 Jun 2025 00:00:00 GMT</pubDate><category>goodreads</category><category>goodreads-api</category><category>crawling</category><category>rss</category><category>rss-parser</category><category>csv</category><category>csv-parser</category></item><item><title>How (and why) to parse a function from a string in JavaScript/TypeScript</title><link>https://www.leohuynh.dev/gists/parse-function-from-string</link><guid isPermaLink="true">https://www.leohuynh.dev/gists/parse-function-from-string</guid><description>Safely send JavaScript functions from your server to your client by serializing them as strings, then parsing them back into callable functions on the client side.</description><pubDate>Fri, 13 Jun 2025 00:00:00 GMT</pubDate><category>typescript</category><category>parsing</category><category>function</category><category>deserialization</category></item><item><title>Enhance Github Copilot code generation with custom instructions</title><link>https://www.leohuynh.dev/blog/github-copilot-instructions</link><guid isPermaLink="true">https://www.leohuynh.dev/blog/github-copilot-instructions</guid><description>How I use GitHub Copilot in VS Code, along with my own custom instructions, to boost productivity, keep my code consistent, and make writing (and coding) more fun!</description><pubDate>Wed, 11 Jun 2025 00:00:00 GMT</pubDate><category>github</category><category>copilot</category><category>instructions</category></item><item><title>How to disable popup showing accented characters when press and hold a key on macOS</title><link>https://www.leohuynh.dev/gists/macos-disable-characters-popup-when-press-and-hold-keys</link><guid isPermaLink="true">https://www.leohuynh.dev/gists/macos-disable-characters-popup-when-press-and-hold-keys</guid><description>How to disable popup showing accented characters when press and hold a key on macOS.</description><pubDate>Wed, 07 May 2025 00:00:00 GMT</pubDate><category>macos</category><category>bash</category></item><item><title>Shopify Hydrogen Codegen Configs</title><link>https://www.leohuynh.dev/gists/shopify-hydrogen-codegen-configs</link><guid isPermaLink="true">https://www.leohuynh.dev/gists/shopify-hydrogen-codegen-configs</guid><description>How to configure Shopify Hydrogen Codegen to automatically generate types for your GraphQL queries.</description><pubDate>Mon, 17 Mar 2025 00:00:00 GMT</pubDate><category>shopify</category><category>hydrogen</category><category>codegen</category><category>graphql</category><category>types</category></item><item><title>Shopify Hydrogen: build a fully functional price range filter component</title><link>https://www.leohuynh.dev/blog/build-a-price-range-filter-component-in-shopify-hydrogen</link><guid isPermaLink="true">https://www.leohuynh.dev/blog/build-a-price-range-filter-component-in-shopify-hydrogen</guid><description>A detailed guide on how to build a fully functional price range filter component for collection pages in Shopify Hydrogen.</description><pubDate>Thu, 13 Mar 2025 00:00:00 GMT</pubDate><category>shopify</category><category>hydrogen</category><category>price-range-filter</category><category>remix</category><category>radix-ui</category></item><item><title>Macos command to zip files and directories into a single file.</title><link>https://www.leohuynh.dev/gists/macos-zip-cli</link><guid isPermaLink="true">https://www.leohuynh.dev/gists/macos-zip-cli</guid><description>Macos command to zip files and directories into a single file.</description><pubDate>Tue, 11 Mar 2025 00:00:00 GMT</pubDate><category>macos</category><category>bash</category><category>zip</category></item><item><title>Relative time-ago parsing in TypeScript</title><link>https://www.leohuynh.dev/gists/relative-time-ago-parsing</link><guid isPermaLink="true">https://www.leohuynh.dev/gists/relative-time-ago-parsing</guid><description>A simple utility function to parse relative time-ago into human-readable format.</description><pubDate>Tue, 11 Mar 2025 00:00:00 GMT</pubDate><category>typescript</category><category>time</category><category>date</category><category>relative-time-ago</category></item><item><title>Minimal setup list for web developers on a fresh macOS install</title><link>https://www.leohuynh.dev/blog/dev-setup-minimal-list-for-web-dev-on-a-fresh-macos-install</link><guid isPermaLink="true">https://www.leohuynh.dev/blog/dev-setup-minimal-list-for-web-dev-on-a-fresh-macos-install</guid><description>Having a new Mac device is always exciting for every developer, but it can also be challenging, especially when it comes to setting up a new dev environment. Here is a list of the minimal setup you need to get started with web development on a fresh macOS install.</description><pubDate>Tue, 22 Oct 2024 00:00:00 GMT</pubDate><category>dev-setup</category><category>macos</category><category>fresh-install</category><category>minimal-list</category></item><item><title>Enhance Github security by connecting using Secure Shell Protocol (SSH)</title><link>https://www.leohuynh.dev/gists/connecting-to-github-using-ssh</link><guid isPermaLink="true">https://www.leohuynh.dev/gists/connecting-to-github-using-ssh</guid><description>Using the SSH protocol, you can connect and authenticate to remote Github servers and services without supplying your username and personal access token at each visit.</description><pubDate>Mon, 14 Oct 2024 00:00:00 GMT</pubDate><category>github</category><category>ssh</category><category>security</category></item><item><title>How to create an image with blurry loading effect in NextJS</title><link>https://www.leohuynh.dev/blog/how-to-create-an-image-with-blurry-loading-effect-in-nextjs</link><guid isPermaLink="true">https://www.leohuynh.dev/blog/how-to-create-an-image-with-blurry-loading-effect-in-nextjs</guid><description>NextJS has provided a built-in image component that has many useful features, we can leverage them with some custom styles to create a beautiful image with a blurry loading effect.</description><pubDate>Sat, 12 Oct 2024 00:00:00 GMT</pubDate><category>nextjs</category><category>image</category><category>blur</category><category>loading</category></item><item><title>Pnpm aliases</title><link>https://www.leohuynh.dev/gists/pnpm-aliases</link><guid isPermaLink="true">https://www.leohuynh.dev/gists/pnpm-aliases</guid><description>How to install and update pnpm, create a shell alias for it, and upgrade project dependencies efficiently.</description><pubDate>Fri, 11 Oct 2024 00:00:00 GMT</pubDate><category>pnpm</category><category>aliases</category><category>.zprofile</category><category>.bash_profile</category></item><item><title>VSCode settings and keyboard shortcuts</title><link>https://www.leohuynh.dev/gists/vscode-settings</link><guid isPermaLink="true">https://www.leohuynh.dev/gists/vscode-settings</guid><description>My personal VSCode configurations, settings, and key bindings that I use across all my devices.</description><pubDate>Fri, 11 Oct 2024 00:00:00 GMT</pubDate><category>vscode</category><category>settings</category><category>keybindings</category></item><item><title>How to get your Namecheap private email to work with Vercel DNS</title><link>https://www.leohuynh.dev/blog/how-to-setup-namecheap-private-email-to-work-with-vercel-dns</link><guid isPermaLink="true">https://www.leohuynh.dev/blog/how-to-setup-namecheap-private-email-to-work-with-vercel-dns</guid><description>A step by step guide on how to get your Namecheap private email to work with Vercel DNS.</description><pubDate>Tue, 08 Oct 2024 00:00:00 GMT</pubDate><category>private-email</category><category>namecheap</category><category>vercel</category><category>dns</category></item><item><title>On Tailwind CSS arbitrary values</title><link>https://www.leohuynh.dev/blog/on-tailwind-css-arbitrary-values</link><guid isPermaLink="true">https://www.leohuynh.dev/blog/on-tailwind-css-arbitrary-values</guid><description>How to use arbitrary values in Tailwind CSS to create custom styles for your components. Some nice tips to make your Tailwind CSS workflow more efficient.</description><pubDate>Fri, 04 Oct 2024 00:00:00 GMT</pubDate><category>tailwind-css</category><category>arbitrary-values</category><category>custom-styles</category></item><item><title>Common npm commands to use locally</title><link>https://www.leohuynh.dev/gists/npm-commands</link><guid isPermaLink="true">https://www.leohuynh.dev/gists/npm-commands</guid><description>Essential npm commands for local development, covering package installation, version control, and script management.</description><pubDate>Tue, 26 Sep 2023 00:00:00 GMT</pubDate><category>npm</category><category>commands</category><category>npx</category><category>link</category><category>unlink</category></item><item><title>Does JavaScript Promise.all() run in parallel or sequential?</title><link>https://www.leohuynh.dev/blog/does-promise-all-run-in-parallel-or-sequential</link><guid isPermaLink="true">https://www.leohuynh.dev/blog/does-promise-all-run-in-parallel-or-sequential</guid><description>JavaScript is a single-threaded programming language, so it can&apos;t run multiple things at the same time, Promise.all() actually runs promises concurrently, not in parallel!. Let&apos;s dive in to see how it works.</description><pubDate>Mon, 04 Sep 2023 00:00:00 GMT</pubDate><category>javascript</category><category>promise</category><category>parallel</category><category>sequential</category><category>concurrently</category></item><item><title>Simple way to handle route submission in a Remix app</title><link>https://www.leohuynh.dev/gists/remixing-remix-submission</link><guid isPermaLink="true">https://www.leohuynh.dev/gists/remixing-remix-submission</guid><description>Create a custom hook to manage in-route form submissions in a Remix app.</description><pubDate>Mon, 04 Sep 2023 00:00:00 GMT</pubDate><category>remix</category><category>remix-utils</category><category>submission</category><category>hooks</category></item><item><title>Verifying Github webhooks requests in Node.js</title><link>https://www.leohuynh.dev/gists/verify-github-webhooks-requests</link><guid isPermaLink="true">https://www.leohuynh.dev/gists/verify-github-webhooks-requests</guid><description>Verify and process incoming GitHub webhooks. How to set up listeners, validate requests, and handle Github&apos;s webhook events.</description><pubDate>Sun, 09 Jul 2023 00:00:00 GMT</pubDate><category>github</category><category>webhook</category><category>github-api</category><category>verify-webhook-signature</category><category>remix</category></item><item><title>How to work with Spotify&apos;s API to display currently playing track on a website?</title><link>https://www.leohuynh.dev/gists/using-spotify-api-to-display-currently-playing-track</link><guid isPermaLink="true">https://www.leohuynh.dev/gists/using-spotify-api-to-display-currently-playing-track</guid><description>Retrieve a Spotify access token to display the currently playing track on your website or application.</description><pubDate>Thu, 06 Apr 2023 00:00:00 GMT</pubDate><category>spotify</category><category>nowplaying</category><category>spotify-api</category><category>nextjs</category></item><item><title>Eliminating Render Blocking CSS and measuring page rendering time with Performance API</title><link>https://www.leohuynh.dev/blog/render-blocking-css-and-chrome-performance-api</link><guid isPermaLink="true">https://www.leohuynh.dev/blog/render-blocking-css-and-chrome-performance-api</guid><description>Learn how to improve your website&apos;s performance and enhance user experience by avoiding render blocking CSS. Using the Chrome Performance API to measure and optimize page rendering time.</description><pubDate>Sat, 11 Mar 2023 00:00:00 GMT</pubDate><category>render-blocking-resources</category><category>render-blocking-css</category><category>performance</category><category>chrome-performance-api</category></item><item><title>Migrate your Shopify store assets to a new store using File API</title><link>https://www.leohuynh.dev/blog/migrate-shopify-store-files-to-new-store-using-file-api</link><guid isPermaLink="true">https://www.leohuynh.dev/blog/migrate-shopify-store-files-to-new-store-using-file-api</guid><description>Learn how to migrate your assets from an old Shopify store to a new one in a few simple steps. This guide will show you how to retrieve and download your images using GraphQL and Node.js, and upload them to your new store with ease.</description><pubDate>Sat, 25 Feb 2023 00:00:00 GMT</pubDate><category>shopify</category><category>assets</category><category>file-api</category><category>migration</category><category>graphql</category><category>nodejs</category></item><item><title>String casing utilities in JavaScript</title><link>https://www.leohuynh.dev/gists/casing-utils</link><guid isPermaLink="true">https://www.leohuynh.dev/gists/casing-utils</guid><description>A various ready-to-use string casing utilities in Typescript.</description><pubDate>Tue, 21 Feb 2023 00:00:00 GMT</pubDate><category>javascript</category><category>typescript</category><category>string</category><category>casing</category><category>utilities</category></item><item><title>Introduction to Committing with Conventional Commit</title><link>https://www.leohuynh.dev/blog/introduction-to-committing-with-conventional-commit</link><guid isPermaLink="true">https://www.leohuynh.dev/blog/introduction-to-committing-with-conventional-commit</guid><description>Conventional commit is a specific form of committing which gives software developers a uniform system for organizing and describing their changes, making it easier to keep track of updates</description><pubDate>Sun, 01 Jan 2023 00:00:00 GMT</pubDate><category>commit</category><category>git</category><category>conventional-commit</category></item><item><title>Better responsive images with srcset and sizes attributes</title><link>https://www.leohuynh.dev/blog/better-responsive-image-with-srcset-and-sizes-attributes</link><guid isPermaLink="true">https://www.leohuynh.dev/blog/better-responsive-image-with-srcset-and-sizes-attributes</guid><description>A guide to using the srcset and sizes attributes to create responsive images</description><pubDate>Tue, 25 Oct 2022 00:00:00 GMT</pubDate><category>responsive</category><category>image</category><category>srcset</category><category>sizes</category><category>html</category><category>attributes</category></item><item><title>How to safely rename a case sensitive file/directory in a git repo?</title><link>https://www.leohuynh.dev/gists/rename-a-case-sensitive-file-in-a-git-repo</link><guid isPermaLink="true">https://www.leohuynh.dev/gists/rename-a-case-sensitive-file-in-a-git-repo</guid><description>Safely rename case-sensitive files or directories in a Git repository to avoid conflicts or case inconsistencies.</description><pubDate>Tue, 11 Oct 2022 00:00:00 GMT</pubDate><category>git</category><category>rename</category><category>case-sensitive</category></item><item><title>Remove all falsy values from an object and its nested children</title><link>https://www.leohuynh.dev/gists/remove-falsy-values-from-an-object</link><guid isPermaLink="true">https://www.leohuynh.dev/gists/remove-falsy-values-from-an-object</guid><description>Recursively removes all falsy values (null, undefined, 0, false) from an object and its nested properties.</description><pubDate>Wed, 21 Sep 2022 00:00:00 GMT</pubDate><category>javascript</category><category>utils</category><category>object</category></item><item><title>How to create an HTTPS server in localhost?</title><link>https://www.leohuynh.dev/blog/use-https-in-local-development</link><guid isPermaLink="true">https://www.leohuynh.dev/blog/use-https-in-local-development</guid><description>The simplest way to set up an HTTPS server in Nodejs application when developing locally</description><pubDate>Sat, 05 Mar 2022 00:00:00 GMT</pubDate><category>https</category><category>localhost</category><category>nodejs</category><category>open-ssl</category><category>443</category><category>mac-os</category><category>koajs</category></item><item><title>A custom hooks to use an async effect</title><link>https://www.leohuynh.dev/gists/use-async</link><guid isPermaLink="true">https://www.leohuynh.dev/gists/use-async</guid><description>Build a custom React hook to use asynchronous effects inside functional components.</description><pubDate>Tue, 22 Feb 2022 00:00:00 GMT</pubDate><category>react</category><category>hooks</category><category>async</category><category>effect</category></item><item><title>Validate if a string is a valid color</title><link>https://www.leohuynh.dev/gists/color-validator</link><guid isPermaLink="true">https://www.leohuynh.dev/gists/color-validator</guid><description>Validate strings to ensure they represent valid colors in various formats (hex, RGB, and named colors).</description><pubDate>Tue, 12 Oct 2021 00:00:00 GMT</pubDate><category>typescript</category><category>color</category><category>validator</category></item><item><title>Mastering Section Rendering APIs in Shopify Online Store 2.0</title><link>https://www.leohuynh.dev/blog/shopify-section-rendering-apis-notes</link><guid isPermaLink="true">https://www.leohuynh.dev/blog/shopify-section-rendering-apis-notes</guid><description>Learn how to leverage Section Rendering APIs to improve your Shopify store&apos;s performance and create dynamic, context-specific sections. Discover tips for querying dynamic section markup, including product and collection context</description><pubDate>Thu, 23 Sep 2021 00:00:00 GMT</pubDate><category>shopify</category><category>section</category><category>section-rendering-apis</category><category>key-notes</category></item><item><title>Find which process is running on a certain port and kill it</title><link>https://www.leohuynh.dev/gists/find-and-kill-process-on-given-port-in-macos</link><guid isPermaLink="true">https://www.leohuynh.dev/gists/find-and-kill-process-on-given-port-in-macos</guid><description>Identify and terminate processes running on a specific port in your dev environment.</description><pubDate>Thu, 09 Sep 2021 00:00:00 GMT</pubDate><category>bash</category><category>macos</category><category>kill</category><category>process</category><category>port</category></item><item><title>Markdown Code block&apos;s basic and advanced syntaxes</title><link>https://www.leohuynh.dev/gists/markdown-code-block-syntax</link><guid isPermaLink="true">https://www.leohuynh.dev/gists/markdown-code-block-syntax</guid><description>A detailed overview of Markdown code block syntaxes, covering both basic and advanced use cases.</description><pubDate>Thu, 09 Sep 2021 00:00:00 GMT</pubDate><category>markdown</category><category>code-block</category><category>syntax</category></item><item><title>Simple Event-Emitter/PubSub pattern</title><link>https://www.leohuynh.dev/gists/event-emitter</link><guid isPermaLink="true">https://www.leohuynh.dev/gists/event-emitter</guid><description>A lightweight pub/sub mechanism to handle custom events without adding a full-blown library.</description><pubDate>Mon, 06 Sep 2021 00:00:00 GMT</pubDate><category>javascript</category><category>pattern</category><category>event-emitter</category><category>pubsub</category></item><item><title>Embedding scripts in web pages made easy with Github and jsDelivr</title><link>https://www.leohuynh.dev/blog/embed-script-using-github-and-jsdelivr</link><guid isPermaLink="true">https://www.leohuynh.dev/blog/embed-script-using-github-and-jsdelivr</guid><description>Learn how to embed scripts and styles in your web pages without the need to modify your site&apos;s existing code. Use Github to host your script and style files, and jsDelivr as a CDN to deliver them to your web page.</description><pubDate>Sun, 05 Sep 2021 00:00:00 GMT</pubDate><category>tutorial</category><category>sharing</category><category>embed</category><category>github</category><category>jsdelivr</category></item><item><title>Adding/substracting days in Shopify&apos;s Liquid template language</title><link>https://www.leohuynh.dev/gists/manipulating-dates-in-shopify-liquid</link><guid isPermaLink="true">https://www.leohuynh.dev/gists/manipulating-dates-in-shopify-liquid</guid><description>How to manipulate dates (adding, subtracting, and formatting, etc) in Shopify&apos;s Liquid template language.</description><pubDate>Sun, 29 Aug 2021 00:00:00 GMT</pubDate><category>liquid</category><category>shopify</category><category>date</category></item><item><title>Read all file names in a directory</title><link>https://www.leohuynh.dev/gists/read-all-file-names-inside-a-folder</link><guid isPermaLink="true">https://www.leohuynh.dev/gists/read-all-file-names-inside-a-folder</guid><description>A quick utility to read all file names in a directory using Node.js.</description><pubDate>Sat, 28 Aug 2021 00:00:00 GMT</pubDate><category>bash</category><category>shell</category><category>script</category></item><item><title>Replace all VNese letters with the corresponding English accents</title><link>https://www.leohuynh.dev/gists/vnese-to-plain-english</link><guid isPermaLink="true">https://www.leohuynh.dev/gists/vnese-to-plain-english</guid><description>Convert Vietnamese text to plain English by replacing accented characters with their equivalents.</description><pubDate>Sat, 28 Aug 2021 00:00:00 GMT</pubDate><category>javascript</category><category>regex</category><category>replace</category></item><item><title>Ignore all files in a directory except a specific file</title><link>https://www.leohuynh.dev/gists/gitignore-ignore-directory-keep-1-file</link><guid isPermaLink="true">https://www.leohuynh.dev/gists/gitignore-ignore-directory-keep-1-file</guid><description>How to ignore all files in a directory except for a specific one.</description><pubDate>Fri, 27 Aug 2021 00:00:00 GMT</pubDate><category>git</category><category>gitignore</category></item><item><title>Synchronize React component state with local storage</title><link>https://www.leohuynh.dev/gists/sync-react-component-state-with-local-storage</link><guid isPermaLink="true">https://www.leohuynh.dev/gists/sync-react-component-state-with-local-storage</guid><description>Utilize a custom hook that syncs state with local storage, allowing for persistent state between sessions.</description><pubDate>Fri, 27 Aug 2021 00:00:00 GMT</pubDate><category>react</category><category>state</category><category>hooks</category><category>local-storage</category></item><item><title>Prevent layout shift when toggling scrollbar on Window</title><link>https://www.leohuynh.dev/blog/prevent-layout-shift-while-show-hide-scrollbar-on-window</link><guid isPermaLink="true">https://www.leohuynh.dev/blog/prevent-layout-shift-while-show-hide-scrollbar-on-window</guid><description>When toggling the scrollbar on the Window, the layout shifts. This is because the scrollbar is added to the Window. How to prevent this with CSS?</description><pubDate>Mon, 16 Aug 2021 00:00:00 GMT</pubDate><category>css</category><category>tricks</category><category>layout-shift</category><category>scrollbar</category><category>window</category></item><item><title>Key notes while working with git</title><link>https://www.leohuynh.dev/blog/key-notes-while-working-with-git</link><guid isPermaLink="true">https://www.leohuynh.dev/blog/key-notes-while-working-with-git</guid><description>Key notes to save plenty of time while working with git for command-line-developer</description><pubDate>Thu, 12 Aug 2021 00:00:00 GMT</pubDate><category>git</category><category>git-notes</category><category>git-alias</category><category>git-workflows</category></item><item><title>Drag and Drop API keynotes</title><link>https://www.leohuynh.dev/blog/drag-n-drop-api-keynotes</link><guid isPermaLink="true">https://www.leohuynh.dev/blog/drag-n-drop-api-keynotes</guid><description>Some keynotes to keep in mind when working with Drag and Drop APIs in Javascript</description><pubDate>Sun, 25 Oct 2020 00:00:00 GMT</pubDate><category>drag-and-drop</category><category>dnd</category><category>keynotes</category><category>api</category><category>javascript</category></item><item><title>Tricky use case of Array.prototype.map in JS</title><link>https://www.leohuynh.dev/blog/tricky-use-case-of-array-map-in-js</link><guid isPermaLink="true">https://www.leohuynh.dev/blog/tricky-use-case-of-array-map-in-js</guid><description>If you are familiar with functional programming, Array.prototype.map must be a function that you work with every day. We encountered a tricky use case of it at Cốc Cốc recently, it took me a while to figure out, and here&apos;s the answer...</description><pubDate>Tue, 22 Sep 2020 00:00:00 GMT</pubDate><category>javascript</category><category>array</category><category>map</category><category>functional-programming</category><category>use-cases</category></item><item><title>When to use Function Declaration vs Function Expression in JavaScript?</title><link>https://www.leohuynh.dev/blog/function-declaration-vs-function-expression-in-js</link><guid isPermaLink="true">https://www.leohuynh.dev/blog/function-declaration-vs-function-expression-in-js</guid><description>Learn about the differences between Function Declaration and Function Expression in JavaScript, including their definitions, hoisting behavior, and when to use each method.</description><pubDate>Thu, 17 Sep 2020 00:00:00 GMT</pubDate><category>javascript</category><category>function</category><category>function-declaration</category><category>function-expression</category><category>anonymous-function</category><category>arrow-function</category><category>es5</category><category>es6</category></item><item><title>Integrating Tailwind CSS into a React Application</title><link>https://www.leohuynh.dev/blog/integrate-tailwind-css-with-react-application</link><guid isPermaLink="true">https://www.leohuynh.dev/blog/integrate-tailwind-css-with-react-application</guid><description>Tailwind CSS is a low-level CSS framework that’s highly customizable. Unlike other frameworks that focus on pre-designed components like buttons, cards, or modals, which are easy to start with but hard to customize later, Tailwind lets you build your own designs from scratch using utility classes...</description><pubDate>Mon, 31 Aug 2020 00:00:00 GMT</pubDate><category>tailwind-css</category><category>react</category><category>postcss</category><category>integration</category></item><item><title>Simplify your Node.js project with module aliases</title><link>https://www.leohuynh.dev/blog/set-up-path-aliases-in-nodejs</link><guid isPermaLink="true">https://www.leohuynh.dev/blog/set-up-path-aliases-in-nodejs</guid><description>Tired of dealing with complex file paths in your Node.js project? Learn how to set up module aliases using TypeScript and module-alias package to simplify your imports and improve your development experience.</description><pubDate>Thu, 27 Aug 2020 00:00:00 GMT</pubDate><category>nodejs</category><category>typescript</category><category>javascript</category><category>alias</category><category>path-aliases</category><category>tsconfig</category></item><item><title>How to make HTTP requests in Node.js without installing external libraries</title><link>https://www.leohuynh.dev/blog/nodejs-fetch-json-with-https</link><guid isPermaLink="true">https://www.leohuynh.dev/blog/nodejs-fetch-json-with-https</guid><description>Learn how to make HTTP requests in Node.js without adding unnecessary dependencies to your project using the built-in https module. Follow these simple steps to easily fetch JSON data from external APIs and servers.</description><pubDate>Tue, 18 Aug 2020 00:00:00 GMT</pubDate><category>nodejs</category><category>request</category><category>json</category><category>https</category><category>built-in-module</category></item><item><title>[Part 2] How should developers look for a new job - Interview, negotiate, and find a good company</title><link>https://www.leohuynh.dev/blog/how-should-developers-looking-for-a-job-part-2</link><guid isPermaLink="true">https://www.leohuynh.dev/blog/how-should-developers-looking-for-a-job-part-2</guid><description>What’s the dev interview process like? How do you negotiate a good salary and find the right company to grow your career...</description><pubDate>Fri, 31 Jul 2020 00:00:00 GMT</pubDate><category>job</category><category>interview</category><category>offer</category><category>salary</category><category>company</category></item><item><title>[Part 1] How should developers look for a new job - Building a profile</title><link>https://www.leohuynh.dev/blog/how-should-developers-looking-for-a-job-part-1</link><guid isPermaLink="true">https://www.leohuynh.dev/blog/how-should-developers-looking-for-a-job-part-1</guid><description>The demand for IT recruitment is very high. As a software engineer, what should you prepare to get a good job and always be sought after by recruiters...</description><pubDate>Tue, 28 Jul 2020 00:00:00 GMT</pubDate><category>job</category><category>cv</category><category>linkedin</category></item><item><title>[Part 2] Deploy and configure your website on Namecheap in the simplest way</title><link>https://www.leohuynh.dev/blog/deploy-and-config-website-on-namecheap-part-2</link><guid isPermaLink="true">https://www.leohuynh.dev/blog/deploy-and-config-website-on-namecheap-part-2</guid><description>In the previous part, I guided you through buying and connecting your domain to hosting, and activating the SSL Certificate. In this part, I’ll show you how to push your code to the server to get your website live...</description><pubDate>Sat, 25 Apr 2020 00:00:00 GMT</pubDate><category>deployment</category><category>domain</category><category>hosting</category><category>dns</category><category>namecheap</category></item><item><title>[Part 1] Deploy and configure your website on Namecheap in the simplest way</title><link>https://www.leohuynh.dev/blog/deploy-and-config-website-on-name-cheap-part-1</link><guid isPermaLink="true">https://www.leohuynh.dev/blog/deploy-and-config-website-on-name-cheap-part-1</guid><description>I’ve always wanted to have my own personal site, but due to lack of time, I only got to work on it recently during my stay-at-home time...</description><pubDate>Thu, 23 Apr 2020 00:00:00 GMT</pubDate><category>deployment</category><category>domain</category><category>hosting</category><category>dns</category><category>namecheap</category></item></channel></rss>