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.