Smelly Code

Hi, I am Hitesh.


How to "require" with aliases ๐Ÿ”

May 08, 2021 โˆ™ 2 min ๐Ÿ‘“

An tutorial to setup aliased for a NodeJs applications.

A bit about Binary Heap ๐ŸŒณ

June 20, 2020 โˆ™ 7 min ๐Ÿ‘“

An overview of binary heap with words, code and diagrams.

JavaScript and Bit-hacks ๐Ÿง™๐Ÿปโ€โ™‚๏ธ

May 01, 2020 โˆ™ 13 min ๐Ÿ‘“

An overview of bitwise operators in JavaScript with bit-hacks.

Building an Accordion with React Hooks.

February 26, 2020 โˆ™ 7 min ๐Ÿ‘“

A tutorial to build a reusable accordion component with React Hooks.

Variable Scope in Catch Block ~ JavaScript

August 02, 2019 โˆ™ 3 min ๐Ÿ‘“

A quick write up about variable scope in catch block.

Component Glossary ๐Ÿ“–

June 25, 2019 โˆ™ 9 min ๐Ÿ‘“

Explanation of various types of components with words and code.

CSRF in Action ๐ŸŽญ

June 10, 2019 โˆ™ 7 min ๐Ÿ‘“

Demonstration of Cross Site Request Forgery(CSRF) with a simple todo app.

NodeJs with(out) Express ~ Part 1

May 27, 2019 โˆ™ 7 min ๐Ÿ‘“

Peeling the layers of abstraction wrt NodeJs and Express.

React starter kit for Chrome Extensions with Live Reloading ๐Ÿค“

May 07, 2019 โˆ™ 5 min ๐Ÿ‘“

I didn't find a react starter kit for chrome extensions which provides live reloading. So I created one ๐Ÿ™‚.

JS one-liners ๐Ÿ˜ป

March 01, 2019 โˆ™ 4 min ๐Ÿ‘“

Collection of JS one-liners.

Data Structures with Iterable Protocol

January 26, 2019 โˆ™ 8 min ๐Ÿ‘“

Iterating data structures with for-of loop and spreading them with spread operator(โ€ฆ).

Level up your Regex Game ๐Ÿš€

October 13, 2018 โˆ™ 11 min ๐Ÿ‘“


A Bit about Binary Tree ๐ŸŒณ

August 18, 2018 โˆ™ 13 min ๐Ÿ‘“

Explanation of Binary Tree with simple words and code.

A Gentle Introduction to Trees ๐ŸŒณ

July 14, 2018 โˆ™ 6 min ๐Ÿ‘“

An overview of the tree data structure.

Demystifying Interpolation formula for Interpolation Search

January 19, 2018 โˆ™ 4 min ๐Ÿ‘“

A quick explanation of interpolation formula used in Interpolation Search.

Binging Binary Search ๐Ÿ”Ž

January 09, 2018 โˆ™ 8 min ๐Ÿ‘“

An overview of Binary Search.

An Ode to Asymptotic Notations

August 26, 2017 โˆ™ 12 min ๐Ÿ‘“

Aymptotic notations are fancy ways/classes of speaking about algorithms. I'll do my best to explain them in simple words.

Salient Notes from โ€œThe Monk Who Sold His FERRARIโ€

August 05, 2017 โˆ™ 10 min ๐Ÿ‘“

Keynotes I captured while reading the book.

Insertion Sort with Callback.

May 16, 2017 โˆ™ 1 min ๐Ÿ‘“

Implementation of insertion sort using with callback.

Angular => extend, copy & merge

February 11, 2017 โˆ™ 4 min ๐Ÿ‘“

An overview of angular's copy, merge and extend api.