Posts
All the articles I've posted.
How to list recently switched branches in git
Posted on:May 20, 2024 at 05:22 AMlist recently switched brances in git
Copy file from another branch using git checkout
Posted on:May 10, 2024 at 03:22 PMcopy file contents using git
Chrome DevTools Network Tab Filter Cheat Sheet
Posted on:April 22, 2024 at 02:01 AMChrome network tab cheat sheet for quick reference
Printing Page on Chrome Desktop and Android
Posted on:March 20, 2023 at 12:58 PMUse window.print API to print a document on Chrome Desktop and Android, and the differences in the sequence of printing events.
Git Command Reference
Posted on:February 14, 2023 at 01:22 PMreference of commonly used git commands including log, diff, stash, and branching operations.
Custom hook for data fetching
Posted on:November 1, 2022 at 02:25 PMUsing custom hook for data fetching
Adapter Design Pattern
Posted on:September 23, 2022 at 03:22 PMThe adapter pattern is a design pattern used to bridge two incompatible interfaces, allowing an existing class interface to be used as another. This article provides an example of using the adapter pattern.
Identifying cycle in directed graph
Posted on:June 21, 2022 at 04:06 AMIdentifying cycle in directed graph with BFS and DFS
Find neighbours in 2D grid
Posted on:June 6, 2022 at 04:06 AMFinding all the four neighbours and extending it to eight neighbours
Representing 2D array as 1D array
Posted on:January 6, 2022 at 04:06 AMRepresenting 2D array as 1D array