Sunday, 7 May 2023
Prevent the parent hosted web application on IIS from forwarding the configuration to its children
Tuesday, 18 April 2023
Multiple parameters in a select statement and exclude it if it is null
SELECT *
FROM AdminUnitTemplates
aut
WHERE ID = COALESCE(@ID, ID)
AND TempName = COALESCE(@TempName, TempName)
AND Title = COALESCE(@Title, Title)
AND AdminUnitID = COALESCE(@AdminUnitID, AdminUnitID)
Thursday, 16 March 2023
How to download files from Slide share
1. Go to the slideshare and inspect the source and get the link and use the following code in python
Convert the images to pdf using the following code
Tuesday, 13 December 2022
Statistical fundamentals and terminology for model building and validation
1. Mean: This is a simple arithmetic average, which is computed by taking the aggregated sum of values divided by a count of those values. The mean is sensitive to outliers in the data. An outlier is the value of a set or column that is highly deviant from the many other values in the same data; it usually has very high or low values.
2. Median: This is the midpoint of the data, and is calculated by either arranging it in ascending or descending order. If there are N observations.
3. Mode: This is the most repetitive data point in the data
Wednesday, 8 June 2022
After real test, WMS is faster than WMTS using openlayer 6
To run the following code you have to import the required js and css files
HTML
Monday, 6 June 2022
Python grouping
import numpy as np
Python read json data from API
import pandas as pd