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
Database indexes | How to decide on which columns to create database indexes?
Columns that are used for filtering or joining should have indexes on them. An index is a specific data structure that organizes data in such a way that it is much faster for database management system to look up the
WordPress | How To change login (wp-admin) page css in WordPress
In wordpress, we can also change the appearance of wp-login page. There are so many plugins available for this purpose like Alter – White Label WordPress plugin. We can change the appearance of wp-login page through this plugin like I
How to create AWS OpsWorks Stack
Purpose is to automate most of recurring processes like creating user, installing application (apache, apache-tomcat, mysql-server …etc), and modifying security file to hardening Linux machines in AWS environment. 1. Click AWS OpsWorks option from AWS console panel: 2. Now click
CakePHP | Send Email using SMTP in cakephp 3
1. Open config/app.php file inside your project and then modify the default email configuration and setup your SMTP account there: ‘EmailTransport’ => [ ‘default’ => [ ‘className’ => ‘SMTP’, // The following keys are used in SMTP transports ‘host’ =>
Slider Revolution Plugin | Keep text while background images change
Slider revolution plugin is used to create the slider to be used in the wordpress website through its shortcode. We can create as many slides as we want and can design each slide very easily by adding layers above layers.
Split large CSV into multiple smaller CSV files with Python script
Problem: If you are working with millions of record in a CSV it is difficult to handle large sized file. Solution: You can split the file into multiple smaller files according to the number of records you want in one
Configuring AWS WAF (Web Application Firewall)
AWS WAF web application firewall service is built to protect cloud apps from web attacks like DDoS attacks, SQL injections, Cross site scripting. Below are the steps involved in configure AWS WAF security: Step.1 Open CloudFormation and click on create
Cakephp 3.0 | Methods to get base and application url
In cakephp we do not need to set hard coded relative paths.There are methods by calling which we can build the url dynamically. use Cake\Routing\Router; To get the base url use Router::fullBaseUrl(); => http://localhost //Output To get the Application Url
Queues in salesforce
One primary purpose of creating the queue in salesforce is to manage particular object records. For example in lead queue, the queue is created to automatically assign the lead to particular user of the lead queue. As new lead enters
