The world is moving fast but the need for energy and fuels is one of the common threads throughout the course of history which is related to almost everything that human does or wishes to do. Energy, in its many useful forms, is a basic element that influences and limits our standard of living and technological progress. Energy is the capacity to make something happen. Without energy, life would cease to exist. Energy is the support system for all of us. It is used to cook food, make humans, animals and plants live and grow, power buildings; in fact, every ... Read More
JSON can be abbreviated as JavaScript Object Notation. Json means a script of a text file in a programming language to transfer and store the data. Json supported by the python programming language using a built-in package named json. The Json text is given in the quoted string format which contains in the key and value within the curly braces{}. This looks like a dictionary format in python programming language. For using this json package in the python programming language we have to import the json package in python script. In the Json package we have so ... Read More
JSON can be abbreviated as JavaScript Object Notation. Json means a script of a text file in a programming language to transfer and store the data. Json supported by the python programming language using a built-in package named json. The Json text is given in the quoted string format which contains in the key and value within the curly braces{}. This looks like a dictionary format in python programming language. For using the json package in the python programming language we have to import the json package in python script. In the Json package we have ... Read More
We are currently coding of python C methods are being used. The base of all the libraries such as Numpy, Opencv, pytorch etc are built with the C and C++ i.e. these libraries internally call the Compiled C code where code will be executed in the machine and the result will be return in python wrapper. Why are we using the C methods in python? The reason why we are using the C method in python is the performance. The python performance will be decreased because of the dynamic typing. It has to reduce the type of operands to ... Read More
Django is one of the frameworks used along with python to create the web pages in an efficient manner. It is also called as the framework included with batteries why because by default the Django framework gives the admin interface and database interface like SQLite 3 etc. It also provides us the default readymade components namely user authentication handling like sign in, signup and sign out. It provides the management panel for our website, forms, uploading the files etc. Why are we using the Django framework? Django is known for its scalability and comprehensive documentation. This framework is used by ... Read More
OOPs is abbreviated as object oriented programming language. It helps us to deal with the real time entities with inheritance, polymorphism, encapsulation etc. By using the oops concept we can make the code and functions work together in a better way. Group of objects is called a class. The class contains the blueprint, which takes as the reference to create the object. This contains attributes and methods in a logical entity. Now let’s see why we have to split the code into multiple classes. If we create the entire code in the single class, it will be easy to write ... Read More
There are different modules or packages in the python classes. When we use their names as it is in the code it will be somewhat clumsy and not good to see. So, we need to organize the python classes in modules and packages. Modules are the group of functions, classes or any block of code kept in a single file. The file extension of the methods will be .py. If the python code is with 300-400 lines of code, then it can be made as a module for better understandability. The module name can be available as ... Read More
In today's world of internet security, enabling HTTPS on your website is crucial to ensure the privacy and safety of your users' data. One way to achieve this is by using Varnish Cache and Hitch, a lightweight TLS proxy, to offload SSL/TLS processing from Varnish. In this article, we will guide you through the process of enabling HTTPS for Varnish Cache using Hitch on CentOS/RHEL 8. Prerequisites Before we begin, ensure that you have the following − A CentOS/RHEL 8 server Root access to the server Varnish Cache and Hitch installed A valid SSL/TLS certificate and private key ... Read More
HTTP/2 is the latest version of the HTTP protocol, which is designed to improve website performance and security. Nginx is a popular web server that supports HTTP/2. If you're using Nginx and want to enable HTTP/2 for your website, this article will guide you through the process. Step 1: Check Nginx Version Before enabling HTTP/2, you should check the version of Nginx installed on your system. To do this, run the following command − nginx -v This command will display the version of Nginx installed on your system. If you have a version of Nginx that is 1.9.5 or ... Read More
HTTP/2.0 is the latest version of the HTTP protocol that offers significant performance improvements over its predecessor, HTTP/1.1. Enabling HTTP/2.0 on your Apache web server can enhance the speed and responsiveness of your website, resulting in a better user experience for your visitors. In this article, we will guide you through the steps to enable HTTP/2.0 on Apache on Ubuntu. Step 1: Check Apache Version Before enabling HTTP/2.0, it is essential to ensure that your Apache version is compatible with HTTP/2.0. To check your Apache version, run the following command in your terminal − apache2 -v The output will ... Read More
Data Structure
Networking
RDBMS
Operating System
Java
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP