Open in app

Sign In

Write

Sign In

Deepak Rai
Deepak Rai

12 Followers

Home

About

May 12, 2022

Architecting Cloud Security

There are 5 very important cloud security strategies which everyone should follow if they are using cloud service for their applications Understanding the principle of shared responsibility It is not alone that cloud provides responsibility to keep your infrastructure secure. It is both responsibility, i.e. you and the cloud provider…

Cloud

2 min read

Cloud

2 min read


Apr 2, 2022

HTTP 1 vs HTTP 1.1 vs HTTP 2 vs HTTP 3

HTTP 1 The Hypertext Transfer Protocol, or HTTP, is an application protocol that has been the de facto standard for communication on the World Wide Web. In 1996, HTTP/1.0 was formally introduced and acknowledged. HTTP 1.0 was meant to utilize a new connection of TCP for each request, each appeal…

Http 3

4 min read

Http 3

4 min read


Oct 13, 2021

Secure your NodeJs Applications

Helmet for adding headers Setting HTTP headers with Helmet.Helmet injects the following headers into our request, with appropriate defaults: 2. XSS(Cross-site Scripting) XSS attacks are client-side injection attacks where malicious scripts are injected into websites. XSS vulnerabilities are very dangerous, as they can compromise trusted websites. To prevent cross-site scripting…

Nodejs

3 min read

Secure your NodeJs Applications
Secure your NodeJs Applications
Nodejs

3 min read


Oct 13, 2021

Content Script — Google Chrome Extension

What is Content Script Content scripts are files that run in the context of web pages. By using the standard Document Object Model (DOM), they are able to read details of the web pages the browser visits, make changes to them, and pass information to their parent extension. Usage of…

Chrome Extension

2 min read

Content Script — Google Chrome Extension
Content Script — Google Chrome Extension
Chrome Extension

2 min read


Oct 9, 2021

Getting Started with Three.js

Creating HTML skeleton <!DOCTYPE html> <html lang=”en” > <head> <meta charset=”UTF-8"> <title>Three.js</title> <link rel=”stylesheet” href=”./style.css”> </head> <body> <script src=’https://cdnjs.cloudflare.com/ajax/libs/three.js/105/three.min.js'></script> <script src=”./script.js”></script> </body> </html> Rendering and viewing a 3D object I’ll first show you how this looks in code and then I’ll explain what’s happening:

Threejs

3 min read

Threejs

3 min read


Oct 9, 2021

GPU Programming in Javascript

What is GPU programming Have you heard of Javascript when you hear the words GPU programming. There is a library to do anything and that includes GPU Programming in Javascript. Would like to clear one thing here for complex GPU programming, please don’t use Javascript, would rather suggest to go…

Java Script

2 min read

Java Script

2 min read


Oct 3, 2021

Cronjob For Databse Backup and Application Files Backup

We will discuss about writing cronjob for taking application folder backup as well as taking backup of database files/data. We have used shell script to automate the whole process. Taking Application Folder Backup Below are the command which will take folder backup TIME=`date +%b-%d-%Y` FILENAME=backup-$TIME.tar.gz SRCDIR=/var/www/html/sourceDirName DESDIR=/var/app_data_backup/DestinationDirName tar -cpzf $DESDIR/$FILENAME…

Cronjob

2 min read

Cronjob

2 min read


Oct 2, 2021

Drag and Drop on Canvas

This article will help you to implement drag and drop features on canvas element. First of all we need one canvas element <canvas id=”deepCan” width=”400" height=”300"> Drag and drop is handled in three phases: Detect a mousedown event over a shape, which begins the operation function doMouseDown(e){ if (e.pageX <…

Java Script

1 min read

Java Script

1 min read


Oct 2, 2021

Creating Pie Chart Using Canvas

This article will help you to create pie chart using canvas.We need first one canvas element. <canvas width=”800" height=”550" id=”canvasDeep” > We will capture canvas element and get the context using javascript var can = document.getElementById(‘canvasDeep’); var ctx = can.getContext(‘2d’); Next we need data to create our pie chart. var colors = [“maroon”, “blue”, “yellow”, “navy”, “aqua”, “purple”,”red”,”maroon”, “blue”, “yellow”, “navy”, “aqua”]; var names=[“JAN”,”FEB”,”MAR”,”APR”,”MAY”,”JUNE”,”JULY”,”AUG”,”SEPT”,”OCT”,”NOV”,”DEC”];

Java Script

1 min read

Java Script

1 min read


Sep 30, 2021

Javascript Design Pattern — Part 3

In this article we will talk about Structural design pattern. I will try to explain below pattern under this. Adapter Pattern Facade Pattern Proxy Pattern Adapter Pattern We use the adapter pattern when two classes or more do essentially the same job, but have different names for their methods. In order…

Javascript Design Pattern

4 min read

Javascript Design Pattern

4 min read

Deepak Rai

Deepak Rai

12 Followers
Following
  • Wojciech Trawiński

    Wojciech Trawiński

  • Max Koretskyi

    Max Koretskyi

  • Victor Savkin

    Victor Savkin

  • Anil Dash

    Anil Dash

  • Markus Hanslik

    Markus Hanslik

Help

Status

Writers

Blog

Careers

Privacy

Terms

About

Text to speech