If you are using git for your projects, you need to run some git commands such as clone, pull or push. So, let’s say that you want to clone one git project and if it is asking your username and password, you can create a SSH Public Key for your pc, after that you can paste it your github account so that you will never need to specify username and password.
You can follow below screenshot to create a SSH Public Key. After you create it, copy created SSH Public Key from terminal and paste it to GitHub SSH Keygen window like below.
Follow below screenshots to add your SSH Public Key in your GitHub account.
You can find some good sample usages in this code such as Promise, Async/Await, spread/rest of array.
I have created a demo project for log handler and TryCatch wrapper (http://kenanhancer.com/2018/06/26/c-trycatchwrapper-and-logging/_.
I need a logger which can write to console and file at the same time. So, I created this demo which creates logger pipeline dynamicly. When code runs, it will write message in console and FileLog.log file at the same time.
It is a very simple example to show how to handle long-running requests in Node.js with RabbitMQ.
You need to have a RabbitMQ docker in development machine.
Install RabbitMQ with Docker
I implemented ES6 syntax for below example.