Upload and display image using Python Flask

Introduction In this tutorial I will show you how to upload image and display on the web page once it is uploaded successfully. I have seen few tutorials on file uploads using Python Flask API but here I will show you how to allow users upload image file and display it on the browser once uploaded successfully. Related Posts: Upload…

Angular Star Rating Example

In this tutorial we will see how to create simple Angular star rating example. We post blogs, articles, news, etc. on web sites and we sometime expect people to rate our blogs, articles, news, etc. to find out the corresponding gap or issues with our write up. It helps us improve the quality of the blogs or articles. This example…

Sparse Matrix Using C Program

Sparse Matrix In this example you will see how to represent sparse matrix using C programming language. A sparse matrix is one where most of its elements are zero (0). For example, the following image represents a sparse matrix:

Evaluation Of Polynomial Expression Using C Program

Polynomial Expression Here you will see how to evaluate a polynomial using C program. The evaluation means what would be the final result of the polynomial expression. A Polynomial is a mathematical expression involving a sum of powers in one or more variables multiplied by coefficients.

How to Solve Josephus Problem using Pointer in C program

Introduction You will see how to solve Josephus problem using pointer in C program. So, I am going to use C program as well as pointer to solve Josephus problem. The Josephus problem (or Josephus permutation) is a theoretical problem related to a certain counting-out game. The problem is described as below. People are standing in a circle waiting to…

Fibonacci Series using Python

Introduction In this example we will see how to build fibonacci series using Python programming language. We will create both recursive and non-recursive function in Python programming language to build the fibonacci series. In mathematics, the Fibonacci numbers, commonly denoted Fₙ, form a sequence, called the Fibonacci sequence, such that each number is the sum of the two preceding ones,…

jQuery AJAX based Voting or Rating System using Flask and MySQL

Introduction In this post we will see how to create voting or rating system using Flask, MySQL and AJAX. We post tutorials, articles or blogs either on our own blog site or as a guest user to other sites. Sometimes we need to let user rate on our tutorials or articles or blogs so that we know how much that…

How to get ServletContext and ServletConfig object in a Spring Bean

Introduction ServletConfig is used by only single servlet to get configuration information, whereas ServletContext is used by multiple objects to get configuration information. ServletConfig object is one per servlet class and destroyed once the servlet execution is completed. ServletConfig object gets created during initialization process of the servlet and this object is public to a particular servlet only.

How to create Jenkins Pipeline for Java Project

Introduction Jenkins Pipeline (or simply “Pipeline”) is a suite of plugins which supports implementing and integrating continuous delivery pipelines into Jenkins. A continuous delivery pipeline is an automated expression of your process for getting software from version control right through to your users and customers. Jenkins Pipeline provides an extensible set of tools for modeling simple-to-complex delivery pipelines “as code”….

Consume JAX WS SOAP Web Service That Requires Authentication Using Python

Auth SOAP Service In this tutorial I will see how to consume or call JAX WS based SOAP web service that requires authentication. I will use Python program to consume the SOAP service. In my other example I had shown how to call SOAP webservice using Python but that service did not require any authentication. I am going to use…