Check if item exists in list in Python.
In this article we will see different ways to check if item exists in list or not. Suppose we have following list. Check string “cd” exists in list or not by following condition. We...
In this article we will see different ways to check if item exists in list or not. Suppose we have following list. Check string “cd” exists in list or not by following condition. We...
Dates are usually used in every project, like to save data in db, generating reports etc. Sometime we also need to add or subtract from any specified date to get next or previous date....
Load data in Datatables from Ajax I was working on a project in which I had to show results in datatables with search and load data in datatable in real-time like whenever record inserted,...
Update Part of String in Table Column In a table column which have string value, you might need to update any part of string. Like I had to change the part of URL in...
Use checkmark or tick instead of bullet I had a list where I wanted to sow tick/checkmark (✓) instead of bullets in the unordered list. For this, I used following code. But text is...
Apache PDFBox is open source Java library for working with PDF files. This library allows processing on PDF files in many ways. I am using this for converting PDF files to images. I used...
Elacticsearch installation on windows. Elasticsearch is developed in Java and is released as open source under the terms of the Apache License. You can install elasticsearch on windows too as I installed it for...
Jquery ajax api is very useful api to send ajax call on server. In some scenarios we might need to get respose in ajax complete function. We can do this. Ajax api called complete...
In following code change function will trigger on page load because of change() it at end of function. This change() will make function to trigger on page load. Share this…FacebookPinterestTwitterLinkedinTumblr
Vim is a text editor written by Bram Moolenaar. Its based on the vi editor common to Unix-like system. Following are commands for vi/vim. Cursor movement h – move left j – move down...
More