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
Capture Screenshot of a Webpage from its URL in PHP
Generally, Google PageSpeed Insights API is used to measure the performance of a web page but you can also use Google PageSpeed Insights API to get a screenshot of the website from URL. In this post, we will show you
Quick Parts in Ms-Word and Office 365
Quick Parts This feature is available in Ms-Word and Office 365 and it helps the user to set a shortcut of the content which user usually types every day so instead of typing, again and again, the same thing user
Assure vs Ensure vs Insure
In insurance which one is the right word when it comes to Assure vs Insure? When you want to make something certain which one do you pick from Assure vs Ensure? It can get confusing, right? Here’s some help in this
Postgres | Function to remove HTML tags from text
Problem : How to create a function in Postgres that will remove HTML tags from a piece of text? Solution : Create function in postgres : CREATE OR REPLACE FUNCTION strip_tags(TEXT) RETURNS TEXT AS $$ SELECT regexp_replace($1, ‘<[^>]*>’, ”, ‘g’)
Customizing TinyMCE Editor
1. Add your own CSS for Editor content. Content inside the editor will have its inline embedded CSS styling. Once you write any content inside editor it cannot contain any external CSS. If you want to write some content inside
Javascript | How to lighten a color by some percentage
We can lighten any color using a custom javascript function: function shadeColor(color, percent) { var R = parseInt(color.substring(1,3),16); var G = parseInt(color.substring(3,5),16); var B = parseInt(color.substring(5,7),16); R = parseInt(R * (100 + percent) / 100); G = parseInt(G * (100
Salesforce Email to Case
Email to case is a standard feature in Salesforce that allows creating a case in Salesforce directly from an email. First step is to generate the email address in salesforce that needs to receive emails that should be converted into cases.
Allow WordPress to Duplicate Page or Post
In WordPress, sometimes a situation occurs when we need to recreate a page with very similar content or design of another page. Then instead of recreating a page from scratch we can duplicate or clone a page and can modify
Captivate | Remove strange captivate icon from text
We had faced an issue of captivate icon displaying in quiz question while viewing it in browser : We can resolve this issue by using these two alternative methods : 1. First way is if we give equivalent space around
