72 Views
After creating a Python App on your local machine you need to deploy your app on the server so that app can be accessed from anywhere. On your local environment, you run your app by using python or a python3 prompt like below. python myapp.py The app will stop after you close the terminal. ...
Sheetal Kumar
Mar 05, 2019
44 Views
Linux server is very efficient to manage files and processes. Sometimes you need to take backup of files or need to download code to modify locally. In linux server to download files either you use ftp or scp. SCP stands for Secure copy protocol, that is a means of securely transferring ...
Sheetal Kumar
Mar 05, 2019
52 Views
Linux server provides a terminal to manage the server. Sometimes you need to upload file or folder or directory on the Linux Server. Using your terminal, you can upload files and folder directly to your server by SCP command. Here we are providing the way to upload file on Linux Server using SCP. The ...
Sheetal Kumar
Mar 05, 2019
123 Views
Google Cloud Platform is a suite of public cloud computing services offered by Google. On google cloud, you can create a server instance and host different project or website there. After creating an instance you can connect Linux instance only from their web-based SSH panel. If you want to connect ...
Sheetal Kumar
Feb 27, 2019
78 Views
Nowadays Node.js is being more popular to develop the backend for websites and API. If you are developing your first project on Node.js then you must have the question in your mind that How will I listen to request in the node, How will I manage routes in the node, How will I manage files or how to ...
Sheetal Kumar
Feb 26, 2019
78 Views
To add a PHP website in Nginx Server you need to install php-fpm on your server. Here we are providing step by step guide to add and configure PHP website on nginx server. Step 1. If you have not installed php-fpm then install it by following command in your Linux machine. sudo apt-get update sudo ...
Sheetal Kumar
Feb 26, 2019
107 Views
Like Html and CSS you can create rounded corner background for layout and button in android. The way of creating a rounded corner in Android is a bit different than Html and CSS. To create a rounded corner in android you just need to create an XML file in the drawable directory. You can also set ...
Sheetal Kumar
Feb 21, 2019
134 Views
In most of the places in UI you need to display date and time in your format weather API is providing date and time in MySql Format that is YYYY-MM-DD H:M. To convert this I have created a function that can be used easily in javascript without and dependency. function formatDateMysql(mysqldate) ...
Sheetal Kumar
Jan 15, 2019
190 Views
In Javascript sometimes you need a Random Integer. Here is the best way to get Random Integer number in Javascript.   function getRandomInt(min, max) { min = Math.ceil(min); max = Math.floor(max); return Math.floor(Math.random() * (max - min + 1)) + min; } Test the function: console.log("Random ...
Sheetal Kumar
Jan 07, 2019
153 Views
When you work in JavaScript then this keyword changes the context or scope based on how it is used. So here are some examples of how to use this keyword in JavaScript. function func_1() { console.log(this); } // calling a function func_1(); // this pointing to window // as object method var ...
Sheetal Kumar
Dec 04, 2018
133 Views
When you use loop having an iteration variable like "i" and changing the value of "i" then all the closure access same variable and the variable value changed. Here you will face the problem that all the closure will take the last value of "i". For eg. var funcs ...
Sheetal Kumar
Nov 30, 2018
1416 Views
When you are working client side (Browser) then sometimes you change the content of browser or view, and then you need to update the URL of the browser so that when user refreshes or reload the page then the same thing can be visible.  window.history have different functions to update or switch ...
Sheetal Kumar
Oct 15, 2018
394 Views
Patterns:- All languages have patterns. In javascript pattern are long-lasting and durable  or a collection a pattern that is used to solve the problem in software design .It includes function pattern, jquery pattern, design patterns, object creation pattern etc.... Some of the pattern in javscript ...
Anamika Gupta
May 22, 2018
645 Views
Class in javascript Classes are the function which is used to define expression and declarations. Basically  the Java script is a classless language, it supports the object.In the javascript class work in the same way like other language that's why classes are called syntactic sugar . class ...
Anamika Gupta
May 18, 2018
44 Views
Linux server is very efficient to manage files and processes. Sometimes you need to take backup of files or need to download code to modify locally. In linux server to download files either you use ftp or scp. SCP stands for Secure copy protocol, that is a means of securely transferring ...
Sheetal Kumar
Mar 05, 2019
52 Views
Linux server provides a terminal to manage the server. Sometimes you need to upload file or folder or directory on the Linux Server. Using your terminal, you can upload files and folder directly to your server by SCP command. Here we are providing the way to upload file on Linux Server using SCP. The ...
Sheetal Kumar
Mar 05, 2019
123 Views
Google Cloud Platform is a suite of public cloud computing services offered by Google. On google cloud, you can create a server instance and host different project or website there. After creating an instance you can connect Linux instance only from their web-based SSH panel. If you want to connect ...
Sheetal Kumar
Feb 27, 2019
78 Views
To add a PHP website in Nginx Server you need to install php-fpm on your server. Here we are providing step by step guide to add and configure PHP website on nginx server. Step 1. If you have not installed php-fpm then install it by following command in your Linux machine. sudo apt-get update sudo ...
Sheetal Kumar
Feb 26, 2019
162 Views
Proxy means substitue. A proxy is the agency, function, which acts as  a substitue for another. It acts as the intermediary between your computer and the internet. The Proxy server present in the machine in the form of firewall server, and it's present on independent server, which is used to ...
Anamika Gupta
Oct 05, 2018
481 Views
Ubuntu is a Linux Operating System so you need to have Root privilege to get the process information. netstat command is used to show the ports and processes in Linux.  netstat -nlp command is used to show the processes using network. netstat -nlp Now filter the process ...
Sheetal Kumar
Sep 04, 2018