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 which one is the right word when it comes to Assure vs Insure?  When you want to make something certain which one do you pick from Assure vs Ensure? It can get confusing, right? Here’s some help in this post:

Insure means to cover the risk through 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…

Postgres | Function to remove HTML tags from text

Author - Kailash
|
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 :
SELECT strip_tags(‘<div>Kailash Read more…

Customizing TinyMCE Editor

Author - Sahil
|
0 Comments
|

1.  Add your own CSS for Editor content.

Content inside the editor will have its inline embedded CSS styling. Once you write any content inside editor it cannot contain any external CSS. If you want to write some content inside the editor and embed your own CSS style Read more…

Understanding Perils and Hazards in Insurance

Author - Webner
|
0 Comments
|

In Life insurance the risk is that person may die before the insurance policy matures. In Car insurance the risk is that car may get damaged during the tenure of the policy. How can the person die? Person may die of fever, heart attack in an accident or by falling Read more…

Javascript | How to lighten a color by some percentage

Author - Webner
|
0 Comments
|

We can lighten any color using a custom javascript function:
function shadeColor(color, percent) {
var R = parseInt(color.substring(1,3),16);
var G = parseInt(color.substring(3,5),16);
var B = parseInt(color.substring(5,7),16);

R = parseInt(R * (100 + percent) / 100);
G = parseInt(G * (100 Read more…

Salesforce Email to Case

Author - Kiran Preet
|
0 Comments
|

Email to case is a standard feature in Salesforce that allows creating a case in Salesforce directly from an email.

First step is to generate the email address in salesforce that needs to receive emails that should be converted into cases.

Steps for email to case :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 42 43 44 Next page ›