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…

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
|
1 Comment
|

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…

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…

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…

Allow WordPress to Duplicate Page or Post

Author - Komal

In WordPress, sometimes a situation occurs when we need to recreate a page with very similar content or design of another page. Then instead of recreating a page from scratch we can duplicate or clone a page and can modify it accordingly. But not all the WordPress themes provide facility Read more…

Captivate | Remove strange captivate icon from text

Author - Kajal Marwaha
|
0 Comments
|

We had faced an issue of captivate icon displaying in quiz question while viewing it in browser :

We can resolve this issue by using these two alternative methods :

1. First way is if we give equivalent space around the text then the captivate icon gets removed automatically.

2. Second way Read more…

WordPress | Using PHP Session

Author - Mamta
|
0 Comments
|

Many times it may happen that you create session variables in a particular code of the WordPress site and you are not able to access that session variable in any other part of the site except in your custom code. So here are the solutions you can apply to solve Read more…

Moodle | Steps to create a custom theme

Author - Kritika Sood
|
0 Comments
|

In moodle we can create new theme using existing theme and customise them according to user requirements. We can create new theme from scratch or by using existing theme. We can customize their front page, course page and activity pages as per requirements. In one of the projects, we were Read more…

‹ Prev page1 ... 14 15 16 17 18 19 20 21 22 23 24 ... 53 Next page ›