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
How to integrate CyberSource payment gateway with CakePHP 2.*
Steps to integrate CyberSource payment gateway with CakePHP 2.*: 1. Download zip file of CyberSource library from “https://github.com/chrismeller/cybersource”. 2. Extract cybersource-master folder into cakephp vendors folder. 3. Create tests/config.php for test transaction with code and add credentials like below: <?php
Handling attachments in IndependentSoft MSG.NET package
Handling attachments and Embedded content in Body of the Msg file read by IndependentSoft MSG.NET package As we know that the MSG.NET package by IndependentSoft is used for creating, parsing, reading and converting the Msg email without requiring Outlook to
WordPress | Building custom wordpress theme options panel
With each theme we install, we get its default options panel that provides settings for the theme like color etc. But sometimes there can be a requirement of some more options that are not already in theme’s options panel. So,
Integrate Google Analytics with website
How to integrate Google Analytics with website and enable settings in Google Analytics for tracking various user activities on the website. When we want to monitor visitors’ activity on our website in Google Analytics for that we need to add
CakePHP | How to change Epoch timestamp (unix timestamp) timezone in cakephp find query
Suppose we have a table cake_test with a column named modified that contains epoch values. CakePHP code: $options = array ( ‘fields’ => array ( “modified”, “to_timestamp(modified) as New__original”, “to_timestamp(modified) AT TIME ZONE ‘America/Denver’ as New__converted” ) ); $result =
Salesforce | Fetch more than 2000 records using REST asynchronously in C#
Salesforce gives us a limit of 2000 records to fetch from it using REST calls. But sometimes we need to get all the records from Salesforce. In Salesforce, there is a limit of API calls. By default, it gives 15,000
MySQL | How to convert row values into column names
Sometimes requirement arises to display a field value as column name in output and adjacent values in the same row below it as its values. Suppose I have a table “students” with marks of each student in different subjects. Each
AWS | How to auto generate S3 Policy
Steps to auto generate AWS S3 Policy that you can use to provide access rights according to requirement: → Open S3 from AWS console: 1. Click on AWS bucket 2. Now, click properties 3. Click on Add bucket policy: 4.
Java | Stripe – Handling expired credit cards
Description: We are registering our customers using Stripe payment gateway where we are storing customer card details. We are doing recurring payment for customers periodic billing cycle. But if customer’s card expires or card number changes, we will not get
