Master-Slave Replication in MySQL
Master-Slave Replication is a robust and widely used mechanism in MySQL database management systems that enhances data availability, scalability, and fault tolerance. This replication model involves two types of database servers: the Master, which holds the primary copy of the
Apache – Use a custom domain name instead of localhost
By following these steps you can run your local machine’s website using a custom domain name instead of localhost: 1. Edit apache configuration file: sudo gedit /etc/apache2/sites-available/000-default.conf add ServerName property as follows (you can add it just below DocumentRoot,
How to display Courses on dashboard In Moodle/Totara
To display any course on Dashboard of Administrator or a Student, Admin/Student must be enrolled with the course. Following are the steps for Administrator to enroll himself or some other user to a course in Moodle/Totara: Open the course that
Providing technical support to Salesforce clients without their credentials
When clients install managed package developed by us into their Salesforce Organization, if they face a technical problem and need us to debug our package in their Organization, we need their Salesforce login credentials. But most of the times clients
zoho creator | How to Lookup Specific Data from a CRM Module
Lookup of a CRM module from Creator Form based on some criteria – One of our clients required lookup to Contacts module in Zoho CRM on a Creator form to select a contact. Lookup to Contacts module can be placed
How to Remove Empty Objects From Array In CakePHP
In CakePHP, to remove empty or ‘false’ values from an Array, use CakePHP’s static ‘filter’ method contained in ‘Hash’ class: $sampleArray = [ , false, true, 0, [‘one, ‘two, ‘three’] ] $sampleArray = Hash::filter($sampleArray); Here’s the array after filter method
How to Optimize Layout for Different iOS Screen Sizes
We were stuck on a problem with new auto layout interface while trying to adjust contents within the screen but changing the property for a single element was disturbing whole layout. Optimized layout was working only for one device for
SFDC Apex – Get list of all the file names from Amazon S3 bucket
I have two buckets in AWS S3. For one of the buckets, code given below returns all the file names (more than 1000) but the same code returns only 1000 file names for 2nd bucket: ObjectListing objects = s3.listObjects(“bucket.new.test”); do
How to Recover Removed Files From 1and1.com Shared Hosting
If you removed files from 1and1.com shared hosting server by mistake and you need them back then following steps can help you to recover a prior version of the lost files: 1) Log in to the 1&1 Control Panel using
Importance of Website for Business – Part 3
In previous 2 posts in this series we covered benefits of having a website for your business and difference between Responsive and Non-Responsive website. We also shared some stats on how small business presence on Internet is going up. In