Monthly Archives: July 2021

How to add SEO Meta Title & Description in your Website

SEO Meta Title and Description are basics and MUST HAVE settings for your website.   For adding those you must put below between¬† <header> </header> tags in your HTML page like the codes I put for my website:   <head> <title>Tips for Programming, Sysadmin, GIS, SEO | Full Stack Logs </title> <meta name=”description” content=”Full Stack […]

Reactjs and axios example: submit async post API request

In the example below we show how to call Post API using Axios asynchronously in React functional component.   We utilise “useState” for creating a state variable pass its value to the post request:   import React, { useState } from “react”; import axios from “axios”; const PostCreate = () => { const [title, setTitle] […]

Create HTTP Get and HTTP Post Server using Nodejs and express

For creating Http Get or Http Post Server using Nodejs (Not consuming Get or Post) Follow instructions below: First Create a Nodejs project by running:   npm init -y   Then install express and body-parser dependencies by running   npm i express body-parser   Now create and edit the index.js file and add below code […]

Install R Shiny Server in Ubuntu behind Nginx Proxy

For installing and serving R Shiny Server behind Nginx reverse proxy we first install it by: sudo apt-get install r-base sudo su – \ -c “R -e \”install.packages(‘shiny’, repos=’https://cran.rstudio.com/’)\”” sudo apt-get install gdebi-core sudo gdebi shiny-server-1.5.16.958-amd64.deb Before installing some R Shiney packages we should install: sudo apt-get install libssl-dev libcurl4-openssl-dev Then we can install R […]