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
How to close Heroku Postgres Database connections
Problem: Heroku Postgres Database Fatal error too many database connections for role ‘username’ Solution: 1. First install Heroku toolbelt with command a. sudo snap install heroku –classic 2. Login from command line a. heroku login 3. Check current database connections
Detect Text From Uploaded Image and Base64 string
How to Detect Text From Uploaded Image and Base64 string in laravel Laravel has various packages available to achieve this. I have tried “yk/laravel-ocr” and “alimranahmed/laraocr” but these are not producing accurate results. After that, I used the “AWS sdk”
How to change DevExtreme column captions in run time without grid Refresh
How to change language of DevExtreme grid column captions without reload the page DevExtreme is a powerful Component Suite designed by DevExpress that can be used with many languages (javascript, jquery,angularJs, angular, Vue, Knockout, react) to get the desired UI.
How to run CakePHP 3.7 Shell Commands in Heroku console
Learn how to run CakePHP 3.7 Shell Commands in Heroku console 1. Create myCommandShell.php file in src/Shell folder with below content <?php namespace App\Shell; use Cake\Console\Shell; use App\Controller\PagesController; class myCommandShell extends Shell { public function main() { // do your
The page was not displayed because the request entity is too large
Issue “The page was not displayed because the request entity is too large” while uploading a file. This error occurs when you try to upload large size of files but it extends the limits for the number of bytes allowed
Laravel Cron to keep executing manually even for a long time
Laravel Cron to keep executing manually even for a long time The cron jobs we create in Laravel can be very time consuming if they have much to do. They may take a few minutes to execute completely. While testing
Display direct/indirect users under a manager in totara
Display direct/indirect users under a manager in Totara Direct Users: The users under a manager. In the following example, Manager1 is direct manager of Manager2. Indirect Users: The users who are not directly under the manager instead they are under
Visual Code to AzureDevops | Visual Code to Salesforce
Visual Code to AzureDevops | Visual Code to Salesforce Steps to connect local project from VS Code to Azure DevOps: 1. Install Visual Code. 2. Install all the salesforce extensions. 3. Install Git on your system. 4. Go to your
Add Text to Image with Php and Python
How to add Text to Image with Php and Python Step 1: Call the python file from PHP with the following arguments. $ filePathForPython: Specify the location of the python file. $imageName: Dynamic name of the image. $ imageText: Text