How To Create Borders In Excel File Using Python

Borders in Excel File In this example I am going to show you how to create borders in excel file. I will create two sheets in the same excel file. In one sheet I will show how to create borders around rows and columns without writing any text. In the other sheet I will show you how to create borders…

Update Password In Git Client

Git Password Update Here I am going to show you how to update password in Git client. You may need to update password in your Git client while accessing Git repository for several reasons. For example, your organization allow access to different systems using SSO (Single Sign On). So while you update password upon expiration, your updated password reflects across…

PCF (Pivotal Cloud Foundry) App Manifest File

Manifest File A manifest file contains metadata for a group of accompanying files which are part of coherent unit. For example, the files of a computer program may have a manifest describing the name, version number, license and the constituent files of the program. Manifests provide consistency and reproducibility, and can help you automate deploying apps. The manifest file can…

Python Add Images To PDF Documents

PDF In this example I am going to show you how to add images to PDF documents or files. you may need to add or include images into pdf files along with text information. There are a number of advantages while using pdf as a document for various purposes, such as: PDF format reports allows professionals to edit, share, collaborate…

How To Read YAML File Into JenkinsFile

JenkinsFile In this tutorial I am going to show you how to read YAML/YML config file in JenkinsFile. The JenkinsFIle is used for Jenkins pipeline which is used to perform many steps such as, building, testing, deploying a job through Jenkins. The yaml/yml config file can be a PCF manifest file or any other config file and you need to…

HTML Table Conditional Cell Color

Introduction In this example I am going to show you how to color HTML table’s cells based on condition. The condition may be a value range, for example, HTML table cells (<td/>) have certain values and based on values you can choose background color of the cells. I am using pure JavaScript to iterate through rows and columns of the…

How To Write Junit Test For Spring Boot Main Class

Introduction Here I am going to show you how to write Junit test for Spring Boot main class. A class having main method in Spring boot application is called main class and the purpose of this class is to deploy the application into embedded Tomcat server without configuring deployment descriptor or generating war file for the application. This way you…

Jenkins – failed to find any usable tags for the pipeline in mode

Problem While you are building a Jenkins pipeline job through Jenkins for the first time, you may encounter such error “failed to find any usable tags for the pipeline in pipelineMode“. This error may arise due to the fact that you have created the branch recently and there is no tag version yet released for this branch. The reason which…

Solving Josephus Problem Using Python

Introduction In this example, I am going to show you how to solve Josephus problem using Python. The Josephus’ Problem can be stated as follows: There was a group of 41 Jewish soldiers surrounded by Roman army, and they didn’t want to get caught. So, they sat down in a circle and came up with an algorithm. Everybody had a…

Van Eck Sequence Using Python

Introduction In this example I am going to generate Van Eck sequence using Python programming language. Van Eck sequence is not used strictly for research purpose and it is actually application based professional activity. Van Eck sequence can be illustrated as follows: You start with a number 0 at the first position. Not necessarily you have to start with a…