Asynchronous Apex
Asynchronous Apex in Salesforce allows developers to execute operations in a separate thread, enabling tasks to run in the background without impacting the user experience. This approach is particularly beneficial for handling long-running processes, callouts to external systems, and operations
Mysql access denied error for user root@localhost in XAMPP
Problem: Mysql access denied error for user root@localhost when using in XAMPP server (windows) even when credentials are correct. Solution: Actually the problem is not in code, the issue is that by-default mysql in xampp allowed passwordless authentication in mysql, so
GrapeJS | Not working in Safari and local storage problem
How to resolve following GrapesJS editor issues: 1. GrapesJS not working in Safari web browser 2. Local Storage exceeding issue GrapesJS not working on Safari web browser: When the editor is opened in Safari, we see nothing only a blank
In Laravel how to redirect to 404 page on accessing post route
In Laravel, when a user directly accesses a post route then an exception page is shown. How to show a 404 page instead? To fix this issue : Firstly, you need to create an error page in view folder of
Short introduction to google analytics
Google Analytics: Google Analytics is a free Web analytics service offered by google that tracks and reports website traffic. The service is available to anyone with a Google account. Why every website owner needs Google Analytics: These are some statistics
CakePhp 3.x | Send Email using SMTP
To send an email in cakephp use Email class of Cakephp 3. In app.php under config folder, add a new entry in the table EmailTransport. For example here ‘mail’. Specify host, port, username and password in it: ‘EmailTransport’ => [
PHP | Show star rating (empty or filled stars)
Sometimes situation arises when we have to show the ratings on our site like user rating of all the products available on our site. Then we have to first get the rating from where we have it like sometimes it
Few key points for good SEO revisited
There are number of things that you should follow to improve SEO for your web pages and site ranking, some of which are listed below for a sample webpage that covers Tutorial for Javascript: 1. Make a separate page which
Upgrade to php 5.6 and apache 2.2 to apache 2.4.17 in ubuntu 12.04
These are the steps to upgrade to PHP 5.6: Add the PPA containing version 5.6 of php for Ubuntu 12.04: sudo apt-add-repository ppa:ondrej/php5-5.6 sudo apt-add-repository ppa:ondrej/php5 Run these command in terminal to upgrade php : sudo apt-get update If everything
Display remotely hosted HTML content as SCORM
How to display remotely hosted HTML content as SCORM package in Moodle, Totara or any other LMS? SCORM requires the content to be served from the same domain as the SCORM player or the Learning Management System (like Moodle, Totara)