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
Migrate AWS EC2 machine using Snapshot Sharing
How to migrate an EC2-machine from one AWS account to another aws account? Solution: To migrate EC2 machine, there are following main steps: Create Snapshot of the existing machine drives. Migrate the EC2 machine. Upgrade/downgrade migrated machine configuration. Step 1: Create
Salesforce | Change Visibility of several fields of an object
Problem: Change Visibility of several fields of an object. Need: One example is when a package is deployed to another org then the visibility of the fields can be different than expected which affects the functionality. Solution: Since editing each
Tips about time management when you have a lot to do at work
“A stitch in time saves nine “ This famous proverb holds absolutely true when it comes to software developers for we waste a lot of time in correcting things which show up because of lack of time as we have
Eclipse | Enable Php Support for extra features
In Eclipse (Luna Service Release 2 (4.4.2), jump to method definition is available for Java and other languages. But sometimes, it gets disabled for PHP. For example ,if eclipse crashes. So to enable this, first you have to select the
JQuery | Draggable conflict with Contenteditable
JQuery Draggable function conflict with Contenteditable Dom attribute I am creating HTML editor in which I have the requirement to add an editable and draggable div. I have applied both the properties to the div: draggable and Contenteditable, but only
Create custom scheduled task in Totara
How to create custom scheduled task in Totara using code in the custom plugin Scheduled tasks are very useful if we want to perform anything in the background. Here I am going to explain the steps to create a custom
Wordprerss | Upload SVG or other files in Media Library
In WordPress, by default svg type of files are not permitted to upload. So in order to upload the SVG files to WordPress media library, we will need to add following code to child theme’s functions.php file: //To allow svg
Asp.NET | Adding New table Mapping to .edmx file manually
Asp.NET: Adding New table Mapping to Existing entity framework Designer .edmx manually from Xml View As we know that .edmx designer entity framework mapping is generated either from ‘Database First Approach’ or from ‘Model First Approach’ (in case ‘Code First
Jquery | Display progress circle according to percentage
Display Progress Circle according to Percentage on Web page Sometimes, the requirement arises to display progress circle with the percentage value. For example : 1. Various social networking or professional websites depict the percentage of user profile completed with a
