Git Learning | Branches, Tags and more

Author - Tanuj Sharma
|
0 Comments
|

Use of Branches:
You can create different branches of your working tree with different names. For example if you don’t want to make changes on your working tree (clone repository on your system) you can create a new branch and make changes in it, add new files Read more…

TCPDF | Generate PDF from HTML

Author - Preeti Bisht
|
0 Comments
|

Problem: FPDF which is a php class to generate pdf does not render many HTML tags like <style>,<img>. So it generates an unformatted pdf from HTML content.

Solution: TCPDF solves the problem of not rendering of HTML tags. It is a Read more…

How to Use Salesforce Data Loader

Author - Manpreet Singh
|
0 Comments
|

Data Loader

Data loader is a desktop application and is used to import or export data in Salesforce. After import/export operation it gives back the detailed success and error log files in CSV format. It supports export of records up to 5 million. Data loader Read more…

Microsoft Outlook Email Rules

Author - Sukhpreet Singh

 

Microsoft Outlook Rules

Rules are very helpful in setting the behavior of MS outlook. Rules can be used for many different purposes.

For example :

you can automatically send a reply to all the emails which you receive.

you can Read more…

Salesforce | SingleEmailMessage REST API and C# consumer

Author - Webner
|
0 Comments
|

Creating Custom Email Rest API Apex class in Salesforce using SingleEmailMessage class and C# example code to consume the Api

My web application was integrated with Salesforce and I had a requirement to use Salesforce as Email Client, but with a Rest API approach to send Read more…

Some GrapesJS Editor Customization Tips

Author - Umang Pasricha
|
0 Comments
|

GrapesJS is an open-source, Web Builder Framework to build HTML templates without any knowledge of coding.

Some tips for customizing GrapesJS Editor:

1. To add custom blocks in block manager.
Add this code to block manager json with other Read more…

Salesforce | Convert API only User to Normal User using Data Loader

Author - Deepika Saini
|
0 Comments
|

By mistake if you have only 1 userid and you change that also to API only, then you cannot login to Salesforce. In this case how to convert Salesforce “API only” User to “Normal” User using Data Loader?

Salesforce API Only User is the user which can be Read more…

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:
SELECT strip_tags(‘&lt 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…

‹ 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 45 46 47 Next page ›