CSS | Some good practices

Author - Neelam Thakur
|
0 Comments
|

Below are some CSS best practices that every developer and designer should follow to write better code.

Reset user agent stylesheet or default styling of the browser :

There are default CSS properties in website pages that come from “user agent” stylesheet. Every browser has its own Read more…

Add floating buttons with simple HTML and CSS

Author - Kuldeep Singh
|
0 Comments
|

Add float button with CSS and html without using any external library with on hover show/hide effect.

Mostly people use third party plugins or complex and unnecessary long css to add floating buttons, but we can create the same button with simple css and a single div Read more…

Document Spring based Restful API using Swagger

Author - Rita Sharma

Swagger is a very powerful tool to generate documentation of your Rest based web services API containing Spring annotations. You don’t need to add any type of comments to your code to generate documentation. It will pick the Spring annotations and will generate the documentation for you. Below are Read more…

Postgres | Function to remove HTML tags from text

Author - Kailash Kumar
|
0 Comments
|

Problem: How to create a function in Postgres that will remove HTML tags from a piece of text?

Solution: Create function in Postgres :

CREATE OR REPLACE FUNCTION strip_tags(TEXT) RETURNS TEXT AS $$
SELECT regexp_replace($1, ‘<[^>]*>’, ”, ‘g’)
$$ LANGUAGE SQL;

How to use:Read more…

Dynamic CSS | How to start your project in SCSS

Author - Sukhpreet Singh
|
0 Comments
|

Before understanding how to maintain or start a project in SCSS we should understand what is SCSS and why it is used?

SCSS is a special type of file for SASS, a program written in Ruby that assembles CSS style sheets for a browser. SASS adds lots of Read more…

Migrate AWS EC2 machine using Snapshot Sharing

Author - Navneet Kashyap
|
0 Comments
|

How to migrate an EC2-machine from one AWS account to another aws account?

Solution: To migrate EC2 machine, there are following main steps:

 Create Snapshot of the existing machine drives.
 Migrate the EC2 machine.
 Upgrade/downgrade migrated machine configuration.

Step 1: Create Snapshot of the Read more…

Salesforce | Change Visibility of several fields of an object

Author - Kiranpreet Kaur
|
0 Comments
|

Problem: Change Visibility of several fields of an object.

Need: One example is when a package is deployed to another org then the visibility of the fields can be different than expected which affects the functionality.

Solution: Since editing each field one by one Read more…

Tips about time management when you have a lot to do at work

Author - Preeti Bisht
|
0 Comments
|

“A stitch in time saves nine “

This famous proverb holds absolutely true when it comes to software developers for we waste a lot of time in correcting things which show up because of lack of time as we have to manage so many things in short time mostly.

So here Read more…

Eclipse | Enable Php Support for extra features

Author - Parminder Kaur
|
0 Comments
|

In Eclipse (Luna Service Release 2 (4.4.2), jump to method definition is available for Java and other languages. But sometimes, it gets disabled for PHP.

For example ,if eclipse crashes. So to enable this, first you have to select the Php Perspective in Eclipse:

– Right Click on your Read more…

JQuery | Draggable conflict with Contenteditable

Author - Harpal Singh
|
0 Comments
|

JQuery Draggable function conflict with Contenteditable Dom attribute

I am creating HTML editor in which I have the requirement to add an editable and draggable div. I have applied both the properties to the div: draggable and Contenteditable, but only draggable us working for me when applied together Read more…

Create custom scheduled task in Totara

Author - Manju Kashyap
|
0 Comments
|

How to create custom scheduled task in Totara using code in the custom plugin

Scheduled tasks are very useful if we want to perform anything in the background. Here I am going to explain the steps to create a custom scheduled task in Totara if you are interacting Read more…

Wordprerss | Upload SVG or other files in Media Library

Author - Komal Dhiman
|
0 Comments
|

In WordPress, by default svg type of files are not permitted to upload.

So in order to upload the SVG files to WordPress media library, we will need to add following code to child theme’s functions.php file:
//To allow svg files uploading

function allow_svg_upload_mimes($mimes = array()) {

// Add a Read more…

Asp.NET | Adding New table Mapping to .edmx file manually

Author - Harleen Kaur
|
0 Comments
|

Asp.NET: Adding New table Mapping to Existing entity framework Designer .edmx manually from Xml View

As we know that .edmx designer entity framework mapping is generated either from ‘Database First Approach’ or from ‘Model First Approach’ (in case  ‘Code First Approach’ there is no .edmx designer file Read more…

What does Indemnity mean in insurance?

Author - Webner
|
0 Comments
|

Indemnity in insurance means in case the loss (financial or death) happens the insurer has to bring the state (in whole or part) of the insured back to what it was prior to the loss. Indemnity is the obligation that one party holds in paying compensation to another party that Read more…

What is Insurable Interest

Author - Webner
|
0 Comments
|

Insurable interest means if the person who wants insurance to be done has any interest in the item being insured or not. For example a human being has natural interest in own life and health (mostly), similarly he has financial interest in his property and car, he has interest in Read more…

Jquery | Display progress circle according to percentage

Author - Ishpreet Kaur
|
0 Comments
|

Display Progress Circle according to Percentage on Web page

Sometimes, the requirement arises to display progress circle with the percentage value.

For example :

1. Various social networking or professional websites depict the percentage of user profile completed with a circular progress bar.
2. In online shopping website percentage Read more…

Capture Screenshot of a Webpage from its URL in PHP

Author - Gopi
|
0 Comments
|

Generally, Google PageSpeed Insights API is used to measure the performance of a web page but you can also use Google PageSpeed Insights API to get a screenshot of the website from URL. In this post, we will show you how to capture a screenshot of the webpage using its Read more…

Quick Parts in Ms-Word and Office 365

Author - Sukhpreet
|
0 Comments
|

Quick Parts

This feature is available in Ms-Word and Office 365 and it helps the user to set a shortcut of the content which user usually types every day so instead of typing, again and again, the same thing user can create a quick part of this Read more…

Assure vs Ensure vs Insure

Author - Webner
|
0 Comments
|

In insurance is it Assure or Insure?  When you want to make something certain is it Assure or Ensure? It can get confusing, right? Here’s some help in this post:

Insure means to cover the risk through an insurance policy.

Ensure mean to guarantee or make something certain

Assure Read more…

Law of Large Numbers in Insurance

Author - Webner
|
0 Comments
|

Law of Large Numbers is the basis for successfully running Insurance Business. If historical data is collected for several years for life insurance for example and the information like how many people died during the policy, how many claims were made etc is available then it can be deduced that Read more…

‹ Prev page1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 Next page ›
Send your message