How to Migrate MySql to MariaDB in Ubuntu 18.04
We need to perform few steps to migrate the MySql database to Maria database, I have mentioned the steps below:
Log in to your MySql server with root password.
$ mysql -u root -p
mysql> show Read more…
How to install MPDF 7.x for PHP version > 5.6 on https://www.ionos.com/ and use in PHP Project?
Since from January 2019, https://www.ionos.com/ has been resisting the use of PHP version 5.6, it is supporting PHP versions >= 7.1 Read more…
How to Send Emails Using Mandrill
Mandrill is a transactional email platform which was built by Mailchimp. It is used for sending the personalized, one-to-one e-commerce emails, and automated transactional emails like password resets, order confirmations, and welcome messages
1. Firstly we Read more…
What is ETag header and how it works?
ETag stands for entity tag. Etag Header is a response header element which provides a mechanism to cache the unchanged resources. Whenever we make an API call, we can use this header value to track if Read more…
Dynamically applying specific Layout to a record on VF page in Salesforce
You may need a specific layout to show in a tab for a particular record (like account settings). For this, we can fetch ‘Metadata’ field from Field Definition with SOQL using Tooling API. In Read more…
Detect mobile device php code
We often need to detect if site visitor is using an iPad, a smartphone or any other mobile device in order to change website appearance and even make it faster by reducing data load. Normally we use the media queries and Read more…
Introduction – Responsive DevExtreme Grid Toolbar
DevExtreme is a powerful web development framework with a vast array of data presenting and formatting capabilities. It is developed by DevExpress to make responsive and platform independent application. DevExtreme makes the web development swift and easy with its rich features Read more…
Enrolling audience to Course or Program in Totara
Problem: I want to enroll audience in course/program and I do not know that how we can enroll audience in course/program. To enroll an audience in course/program, I have followed the below steps Read more…
Implementing Salesforce SOAP and Bulk API Integration in PHP
Salesforce SOAP API:
Salesforce SOAP API is a coding method to use our Org’s information with the help of inbuilt functions and SOQL query. With the help of these function, we can access or Read more…
How to Create a custom plugins in wordpress
What is a WordPress plugin:
A plugin in WordPress is a small software app that can be added to a WordPress site to extend its functionality and to add new features to it without changing its Read more…
Laravel: Adding multiple filters to the query dynamically
There may be some situations when the user has the facility to apply some filters on a set of objects. For Example – when we visit the e-commerce sites, there are certain filters like price range, brand, sort Read more…
How to fetch resolution of screens using Selenium code
For Gui testing aspects java.awt.Dimension and java.awt. Toolkit packages are used to get the screen resolutions whereas the Dimension object stores the result. Inbuilt methods of Dimension class are used to get different aspects Read more…
How to resolve “Class ‘App\Controller\Aws\S3\S3Client’ not found” error in CakePHP 3.*
Problem: Class ‘App\Controller\Aws\S3\S3Client’ not found error occurs when we are trying to create S3Client class object with given code (code copied from github):
$s3 = new Read more…
Find broken links using Selenium Webdriver
A broken link or dead link occurs when a user tries to reach a website page that couldn’t be found on the server. A standard “404 Not Found error” message displayed on the screen.
There are a number Read more…
Creating Bootstrap dropdowns in Bootstrap v4
Dropdowns are used to display lists of links, names etc. Bootstrap dropdowns can be toggled by clicking on it.
1.Create a file with .html extension.
2.Include bootstrap css and js version 4 CDN link in Read more…
Introduction to Laravel Eloquent ORM
Eloquent ORM is an Object Relational Mapper that interacts with the database. It is a package separate from laravel so can be used outside the laravel too. It implements active record pattern. Laravel Eloquent ORM uses Object-Oriented Read more…
How to sort query result according to various search conditions in fetch query of CakePHP 2.
Problem: Priority based sorting of records
Example: Search a string (“Proposalways StudySection”) and display records in following order:
Contain all words (“Proposalways StudySection”) in Read more…
Handle data from .msg file parsed by IndependentSoft’s msg.net package
IndepentSoft’s MSG.NET package is used for parsing of outlook .msg files for reading the contents of file and which can be used to display contents on screen or in our custom viewer Read more…