All Posts
Config SSH and User in a DigitalOcean Droplet
Posted on November 11, 2020Setup SSH and User in Server Create ssh in the local machine It will generate an .pub(public) and a private key files Create an ubuntu user Give super user access to the user Change it to the new user…
Read full postPSQL commands that every developer should know!
Posted on October 01, 2020In this tutorial, we will be listing out some basic psql commands that will help to query data from PostgreSWL database server. 1. Connecting to PostgerSQL database The following command is used to…
Read full postReact Hooks useContext() example
Posted on May 04, 2020In this tutorial we will be setting up a basic react application with two pages sharing a common context. 1. Setup A Basic React Project we will be creating a basic react app bootstraped with create…
Read full postAdd OpenSSL to Express App
Posted on May 03, 2020Steps to generate a self-signed certificate using OpenSSL and integrate to your existing Express.js app 1. Generate Key & Certificate Your system might already have openssl installed. If not, just…
Read full postDeploy Node.js App To Digital Ocean
Posted on May 02, 2020Node.js Deployment Steps to deploy a Node.js app to DigitalOcean using PM2, NGINX as a reverse proxy and an SSL from LetsEncrypt 1. Sign up for Digital Ocean If you use the referal link below, you get…
Read full postHex Color to rgba
Posted on January 21, 2020Hex to RGBA color in JS Let's create a function in JS to convert the Hex Color Code to RGBA with Opacity. HexToRgba.js
Read full postHello World!
Posted on December 31, 20194nnt4 created Syntax.Rocks as a place where developers could collaborate with one another to horn their skills in their domain. From basics of coding with different languages to deep concepts in…
Read full postMarkdown Guide
Posted on December 31, 2019What is Markdown ? Markdown is a way to style text on the web. You control the display of the document; formatting words as bold or italic, adding images, and creating lists are just a few of the…
Read full post