post preview

Custom react hooks using useEffect

Hooks can be used to easily abstract functionality and provide great behavior using just functional components.

post preview

How to generate ssh key using putty-tools

install putty tools: sudo apt-get install putty-tools generate key : puttygen -t rsa -b 2048 -C "user@host" -o keyfile.ppk generate pem from key puttygen keyfile.ppk -O private-openssh -o keyfile.pem the the pub from key: puttygen -L keyfile.ppk >

post preview

Using Set in JavaScript

Set lets you store unique object references or primitive values. Let's start with an example const numbers = new Set([1,2,3,3]);

post preview

Pure functions

You can say about a function that is pure when for the same arguments it returns the same result every time.

Page 2 Of 9

Get The Best Of Dev Posts Delivered To Your Inbox

Subscribe to our newsletter and stay updated.