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
Git | An introduction to get started
Git is a distributed version control system. It is a system that records changes in a file or set of files over time so that user can recall previous versions later. As a result of which a user can revert
Salesforce | Toggle button to let TinyMCE editor switch between text or html mode
Situation: We need to use tinyMCE editor for the rich text field so that user can switch from Visual to html editor. It means he can also use html coding or add effects from UI as required. As we know
Azure | Consumer Web application to crerate copy of SQL Database
Azure provides various rest apis to perform different actions and operations that are possible in the azure server like to create web applications, databases and many more. User can design their own simplified UI to perform actions, instead of logging
Run Apache Tomcat server via cron job and notify an email id
Below is the shell script which can start Apache Tomcat server via cron job and send notification to defined email is: #!/bin/sh RESULT=`netstat -na | grep 8009 | awk ‘{print $7}’ | wc -l` if [ “$RESULT” != 0 ];
MySql | Display Latest entries of two columns of two rows into single row
Suppose we have two tables : articles and article_comments CREATE TABLE articles( `id` INT( 11 ) NOT NULL AUTO_INCREMENT , `title` VARCHAR( 200 ) NOT NULL , `content` VARCHAR( 500 ) NOT NULL , `author_name` VARCHAR( 20 ) DEFAULT 1
Salesforce | Get the field list recursively of related objects
To implement RabbitMQ in our project we need to write the code for producer and consumer. What is Producer? Producer produces the messages and sends it to exchange. Exchange receives the messages and routes it to the corresponding queue. What
Salesforce | Get the field list recursively of related objects
If you want to fetch the Field names recursively of Related objects up in Salesforce how to do this? Solution: You have to first fetch the field names of one Object Name and scan the list to find the field
How to enable the settings to run the cron using browser in Moodle/Totara
Description: If you need to run the moodle cron job to test any task which will be executed by the cron job then you can do so by typing the following url in the address bar of your browser: http://localhost/your-moodle-site-name/admin/cron.php
AWS | How to start/stop Amazon EC2 server using Lambda Services
If you want to improve utilization of your Amazon EC2 machine instances by stopping and starting instances at specific time intervals then you have to use a CloudWatch Event to trigger a Lambda function to start and stop your EC2