Configuring the timezone settings in Linux and setting a cron job to use the new timezone permanently
Step 1: To check the current timezone of the Linux server timedatectl Step 2: To list all available time zones in the Linux server timedatectl list-timezones Step 3: To set the desired timezone on the Linux server timedatectl set-timezone America/Los_Angeles
Cross Domain XMLHttpRequest problem and some solutions
Cross-domain request: Cross-domain request is requesting the content from another host. When we request to a third party site to get content that is called cross-domain request. By default XMLHttpRequest (XHR) request allows transferring data only if both parties have the
MySQL | Communications link failure
MySql Communication link failure while connecting MySql server remotely I’m getting the following error when I tried to connect MySql server remotely: ERROR: —————————————— Cannot connect to database server Communications link failure The last packet sent successfully to the server
Schedule CSV Import from Google Drive to ZOHO reports
Zoho reports have the feature to import data into a table from cloud storage like Google Drive. We can also schedule the import at a specific interval. Here in the example below, we are importing the data from Google Drive.
Migrate codeigniter (2.0.3) from php 5.3 to php 5.6 or higher version – conflicts
I am working on a client project which is using Codeigniter running on version 2.0.3 and PHP 5.3. I got a requirement from client to upgrade the PHP version from 5.3 to 5.6 or higher. While I tried to upgrade
Send email using html template in Laravel
Laravel provides us a facility to send email with custom html template. In order to achieve it, kindly follow the steps below: 1. Open your mail.php file from config folder and add these details: 2. After that open your gmail
Difference between flows, workflows and process builder in Salesforce
Workflows enable us to set up rules that are evaluated and the corresponding action is executed based on the type of change in record. Few common cases in which workflows are used are: 1. Create a new task on an
Adding Image Upload feature in GrapesJS editor
In GrapesJS, there is an ‘image’ block which we can drag and drop on the canvas but it only allows us to specify URL of the image to add to Asset Manager. Then we can embed that image in the
Preserving checkbox state in Jquery datatable with pagination
Problem:Let us assume you have many records in Jquery data table with multiple pages. You have rows with checkboxes. Now, If you want to select checkboxes from different pages of the data table and submit the page it will only
Skip a default page in Moodle without altering core code
How to skip any page in moodle without altering core code of moodle? In Moodle we were having a requirement where we want to skip some default moodle pages. It is very easy if we make changes in core code.