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
Add virtual field in cakephp 2.* in find methods
How to specify an extra field (not existing in the table) while fetching data from database using find method? Solution is explained below. Assign value to virtual field before find function call: $this->virtualFields[‘virtual_field_name’] = ‘any value’; Use virtual field in
Selenium IDE: Locate and verify GUI and CSS Elements
While using Selenium Ide, It is very hard to verify the GUI and CSS elements using record and run method. In record and run method you will not be able to use all of the commands due to lack of
RESTFul architecture best practices
1. Restful web service has its specific set of standard methods like: GET, POST, DELETE, PUT, OPTIONS. We should use HTTP methods as per standard. For example: use “Delete” method to delete the resource not for any other task. 2.
Ubuntu | Unable to login, failed to start session
Description: I am trying to login in my Ubuntu machine. I entered my correct password and it didn’t login me. It showed me “failed to start session” message in red color. I am also not able to login with guest
Quickbook Webconnector queue concept with Job priorities
Queue plays very important role in Quickbook integration via Web connector. Each new job is created in the queue with priority level according to which it is executed. For example when we add a new user or new product than
Allowing PHP cURL to access self-signed websites without verifying the SSL certificate
By default, each cURL request can access only SSL certified websites. However, at times it is required to access those sites which are self-signed. To verify that your cURL request is able to access self-signed websites or not, use below
Salesforce | How to access CLIENT_ID, CLIENT_SECRET in salesforce
Problem: How to access CLIENT_ID, CLIENT_SECRET in salesforce. We can access the ClientID and ClientSecret by creating Connected app in Salesforce. Solution: Follow these Steps to create a new app in salesforce. 1. Click on setup then under Build click
WordPress | Developing Custom scheduler in WordPress
Suppose you want to design a custom scheduler in wordpress plugin instead of using wordpress scheduler which has fixed values of recurrence which are ‘hourly’, ‘twicedaily’,’daily’. And if you want to make the scheduler dynamic instead of making it static
Salesforce | How to add new line character to formula field
Solution: You can add a newline character to formula field by using BR() function. For Example: Formula Field value: “Manager Schedule: Name, DOB, CDL #, Yrs Management Experience, Hire Date” & BR() & “Vehicle Schedule: Year, Make, Model, VIN, and
