Thursday, April 22, 2021

What is Patmos in the Book of Revelation?

 Patmos is mentioned in the Book of Revelation, the last book of the Christian Bible. 

Patmos, an Aegean island in the north of Greece’s Dodecanese island group, is a significant Christian pilgrimage site. Its Cave of the Apocalypse is where John of Patmos (St. John the Theologian) is said to have written the Book of Revelations.


source:https://en.wikipedia.org/wiki/Patmos

What are the seven Spirits which are before the throne of God? - Revelation 1

I was curious to find out the meaning of "the seven Spirits, which are before the throne of God" which reading the Bible today.

Here's something that I found. Please feel free to add:

 The seven gifts of the Holy Spirit are wisdom, understanding, counsel, fortitude, knowledge, piety, and fear of the Lord

Wednesday, April 21, 2021

How to add google analytics code to blogger blog?

Go to Design mode. Click Theme.

Click Customize drop down > Click Edit as HTML
under head paste your google code from analytics. Steps to get google analytics code is below.

In google analytics go to ADMIN

Then create account and add blog.

If you have already have one, Click Account Management. Close the Popup that comes up.

Look for "Tracking Info" under property>

Click "Tracking Code" under it.

Copy the code under Global site tag.

Paste it now in the section under head.


https://www.youtube.com/watch?v=N3jGnYbkr50

What is Ram Navami

 What is Ram Navami?

It is a sprint Hindu festival that celebrates the birthday of Hindu God Lord Rama.

Ram was born to King Dasharath and Queen Kaushalya in Ayodhya in the Tretha Yug.

Ram is considered the the seventh incarnation of Vishnu.

It is celebrated as ninth day of Chaitra Navratri.

Tuesday, April 20, 2021

How to create a HTTP server, listener and response with NodeJS at runtime?

Pre-requisute: Install nodejs, visual studio code and the http modul

Descrption: The use of createServer from http module - will help create an object that servers as a webserver running on localhost:8080

const {createServer} =require('http');
cons server=createServer((request,response))=>{
    response.writeHead(200,{'Content-Type':'application/json'});
    response.write(JSON.stringify({a:1,b:2,c:3}));
    return response.end();
});

server.listen(8080);

What does this mean?

This means, you can technically launch a webserver on the fly and create a response work temporarily and shut it down. 

I am assuming its a good strategy to not have a webserver always running, but that question is for another day.

Cheers

Credits : https://www.youtube.com/watch?v=TrofE5tDRag