Solution: When you have a drive which is encrypted and password protected and you want the drive to be mounted automatically at startup below are the steps that you can use:
Step 1. Open the encrypted drive as you usually do and mount it to any location.
Problem: I was unable to launch the latest Firefox browser 54.0 with Selenium 3
Solution: Earlier I was using the Firefox version 43.0 and I was able to launch the Firefox properly with my selenium script. But recently I have updated my Firefox browser from 43 to latest Read more…
SOLVING DATABASE TABLE PREFIX ISSUE IN WORDPRESS
When we create WordPress plugins then we generally need to create new tables for storing some data. As plugin should generally work on any WordPress site so it is important to keep in mind that the queries must work on all Read more…
Two ways to see deployed app files on Azure server.
1. Azure scm
2. Ftp publish settings file.
1. Azure scm:
Azure has its service site scm where you can view your deployed files. For that you must have the azure credentials where the Web app is deployed Read more…
Use Heroku cron jobs to run CakePHP code at fixed intervals of time.
Cron is a time-based scheduler used to run commands periodically at fixed intervals. Cron means time. It is used for scheduling repetitive tasks. In order to use it in Heroku, you just need to install the Read more…
Create a new Salesforce customer portal:
1. Go to quick find box and type customer portal.
2. Click on customer portal settings.
3. Click edit and enable customer portal.
4. click save.
Now after enabling customer portal feature, we can create a customer portal:
=> Go Read more…
What is the importance of image sprite in html and how these Sprite images can be used in html and css?
Image sprite is a collection of different images put into a single image. Image sprites are are used in web pages to lower down the bandwidth and the page Read more…
Suppose have a data table as below:
HTML for table is:
<table id=”productsTable” class=”table table-striped table-bordered table-hover dataTable no-footer table-custom-style”>
<th>Product Name< Read more…
In one of our projects, we needed to add horizontal scroll bar on select list so that we could see the wider text of some values:
For that, I tried all the possible solutions to add horizontal scroll bar but none of them resolved my problem. I tried adding Read more…
FileZilla open/edit file error: A file with that name is already being transferred.
This error occurs when you remove queued file from the queue using the “Remove Selected” before download completion.
I was editing my code directly on server in some php files using the view/edit operation. For Read more…
Stop sending cron job email notification & managing the notifications.
We mostly use cron jobs for recurring tasks like batch payments, server startup/shutdown, system updates etc. Most of the cron jobs send email notifications. If you want to stop those notifications or want to send notifications to Read more…
We have a VF page containing apex:inputField which contains date value so it shows calendar whenever we focus on the inputField. The problem is it is the first inputField on the page so whenever we open the page by default, the focus goes on this particular field, therefore, it Read more…
Problem: When we fire a Synced ajax call it blocks all the other functionality of that tab of the browser and fires/executes other event or code only after the synced ajax gets back with its response. Also the code fires the ajax call very quickly that’s Read more…
Following are the steps to install RabbitMQ in Heroku App:
1. Install RabbitMQ (bigwig) on Heroku using find more add-ons like shown in the following screenshot:
2. Search for rabbitmq using search bar as shown in the screenshot below:
3. Click on RabbitMQ Bigwig from the search Read more…
Whenever we need to execute a block of code which may take long time to run then instead of executing them in real time we can put this code in the background process as it may timeout if we wait for its completion in real time.
What is RabbitMQ?
RabbitMQ Read more…
How to set up a CloudFront for S3 bucket containing images for the website, using the same domain name that is already placed behind CloudFront.
1. Open CloudFront from a menu:
2. Click Create Origin:
3. Now, click in box and select the s3 bucket URL from this list. Click Read more…
We can insert or update Zoho CRM product in shopify by creating a custom function in zoho. Below is the custom function which can create a product in shopify. We can invoke it when we create or update a product in Zoho:
void getProductData (int Product_id )
requestHeader=map Read more…
First of all, we should know what features are provided by jquery-ui plugin. To know about details, please see link,
Jquery UI plugin can be downloaded from the link
Now, today, we will discuss about Autocomplete feature of jquery-ui plugin Read more…
How to view the print preview of a specific div of the page and take a printout of that specific div only?
1.First, create a full-screen modal on the page:
<div class=”modal fade” id=”myModal”>
<div Read more…
How to use concatenate, cases, substring in CakePHP 2.* find query.
Suppose given records are:
Problem: Display user details in one column and the first character of user role in front of the user full name. Also suppose in case of superadmin role as well we want to display (a Read more…