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
PHP | Password hashing
Password hashing is the new recommended way to store the password using hashing method (PHP 5 >= PHP 5.5, PHP7). Password hashing is used to encrypt the password similar to the way md5, sha1, sha256 etc do. But this method
Spring Framework | How to define interceptor for a spring web project
Interceptors are components that intercept requests before passing to controller and responses before rendering the view. Interceptors can intercept request and response in our web application. With the help of interceptor we can check whether a user has the authority
Moodle / Totara | Null response on calling Plugin api from outside
Description: In one project we were invoking methods of a Moodle plugin from outside in the web app with the help of curl post requests. At the Moodle’s end, we have created a custom plugin and defined our methods in
Apache Solr | Finding term frequency of a specific term in Solr for indexed Documents
Document frequency and Term frequency are the terms that are generally used for finding relevance of the documents to the search query. When user types some word, then the number of documents containing the word returned in the result set
How to create a new Template in your Mandrill Account
1. Log in to your mandrill account with your credentials, you will see below screen after successful login: Fig 1: Logged In user Screen 2. Click on the outbound tab in the left pane of the above screenshot: Fig 2:
Get Cron Job execution notification via Mail
Whenever a cron job is executed, one can get email notification of cron job execution if the cron job doesn’t run successfully or there is a bug in cronjob file. These are the steps in Terminal 1.crontab -e 2.MAILTO =
Blackboard | Changing Course Entry Point
Blackboard LMS allows us to change the “course entry point” for Blackboard. We can set up Blackboard so that user always go to the specific section of Course page when they enter the course. The default course entry page is
Hadoop | ServerNotRunningYetException and PleaseHoldException
Problem 1: ERROR: org.apache.hadoop.hbase.ipc.ServerNotRunningYetException: Server is not running yet While running the hbase shell sometimes we receive Server is Not Running Yet error while our hbase master server is running properly. Solution: This problem occurs when we fetch the data
Java | Understanding signature of main() method
The syntax of main method in java is: public static void main(String[] args) { } There are three keywords used in main: public, static, void public: public keyword is the access modifier in Java which gives its access to the