Caching in Node.js with Redis: A Beginner’s Guide
Caching is a technique to store frequently used data in a temporary storage so that future requests for that data are faster. In Node.js applications, caching can help improve performance and reduce the load on your database. One popular tool
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
Adding Google Map in web page using Javascript
How to add Google Map in your project and show markers and InfoWindows for various locations using HTML and Javascript. Google Map API is one of the most used APIs in websites and projects. We can use the API to
SVN Switch
I am assuming you are working on code from branch A (it may be trunk as well) and have already made some changes locally. Now you find you can’t commit your changes to SVN because they are not stable yet.
