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
Sendgrid | Display sender name with email in “from” field
If we want that when we send email to our users using sendgrid api then the name of the sender (if we provide) should appear along with sender-email then follow the process given below : To accomplish this, we just
Selenium IDE | Switch automation process to new browser window after link click
Selenium IDE: (How to copy a link from a webpage and opening it in a new window and switch the automation process to new window). Problem: In Selenium IDE we were required to copy a visible link on a webpage,
Salesforce | Steps to create Web To Lead form
Steps to create Web To Lead form in Salesforce Steps To Follow: 1. Login to your Salesforce account. 2. Click on Setup. 3. Under Build, section click on customize. 4. Click on Leads. 5. Under leads click on the web
OpenSSL Project | The Heartbleed Bug
The OpenSSL Project is an Open Source toolkit implementing the Secure Sockets Layer (SSL v2/v3) and Transport Layer Security (TLS) protocols as well as a general purpose cryptography library and contains the following vulnerability: Allows stealing the information protected, under
AWS Amazon EC2 – Install php5.6 in Amazon linux
In Amazon Linux, it is not yet packaged with php5.6. When we install PHP by a standrad command: $yum install php* 1. It will install PHP version 5.3 Below are the steps to update PHP version from 5.3 to 5.6
Problems in mounting Windows NTFS drives in Ubuntu
While using dual boot system (Windows + Ubuntu) there can be problems with mounting the drives of Windows inside Ubuntu. This problem generally occurs with Windows 8 and above versions. Solution: When we shutdown our system it does not fully
CakePhp | beforeSave and afterSave Callback Methods
beforeSave(): This function is called automatically before every save or update operation. This function must return true if you want to continue save process. The data for save, if needed in this function, will be in $this->data. Syntax: class MyModel
PHP | What is the purpose of data filtering in PHP?
Data Filtering is required in PHP to validate input and sanitize input received. Generally, we need to validate data before inputs need to be saved or used in our webpage. Wrong data inputs may cause exceptions or erroneous state in
Apache Solr | Indexing all files in a folder recursively
Indexing of all files inside a folder and all its subfolders can be done using java language in the following ways: 1. Using data import handler. 2. Without data import handler i.e by creating a recursive function in java code.
