Fixing the Infamous “Maximum SOQL Limit” Error in Apex
The “Maximum SOQL Limit” error, often accompanied by the message System.LimitException: Too many SOQL queries: 101 is one of the most common and frustrating problems faced by Salesforce developers. It signifies a violation of a fundamental governing rule (governor limit)
How to make the image background transparent using gimp editor
There are two different ways for making the image background transparent in Gimp: For white color background: 1. Open the required image in Gimp: 2. Go to layer > Transparency>color to alpha as given below in the screenshot: 3. Above
Anonymous Inner Classes in Java
Using Anonymous Inner Classes in Java: Before getting into the depth of Anonymous inner classes, let’s understand a bit about inner classes first. As the name implies, a class which is declared and defined inside another class just like a
Java | Static and Non-Static Inner classes
Static and Non-Static Inner classes: Static Nested Classes: Static Nested Classes are the static classes in Java which are created inside another outer class. As these are declared inside another class with keyword ‘static’, therefore they are treated like the
Slider Revolution Plugin : Stop slider on hover
Sometimes Slider Revolution slider does not stop moving the slides even if the user is typing the data in the input box on the slides . Solution : We can stop the Slider on hover or after some time in
Taking Database Backup And Moving that backup from one server to another using PHP
While working on two servers, we can take the backup of database on one server using mysqldump command in php. Example : exec(‘mysqldump –host ‘.$dbhost.’ –user ‘.$dbuser.’ –password=’.$dbpass.” “. $dbname.’ > ‘.$dbname.’.sql’); After creating dump of database, user can move
Web crawlers, Robots.txt and Googlebot
What are web crawlers? Web crawlers are programs or scripts which search engines use to gather certain types of data from the websites and check links and update the indexes, so that search engines can show up-to-date results. Most of
Scaffolding in CakePHP
Scaffolding in CakePHP Application scaffolding in CakePHP is a technique that allows the developer to define and create a basic application that can create, retrieve, update and delete objects. Basically CRUD (create, Read, Update, Delete) data operations are common in
Jquery | Check if image exists for the url created at runtime
Suppose a website page displays the list of subjects along with information and corresponding image. Html “div” with classname “.subjects” are generated dynamically in accordance with database records of subjects with custom attribute assigned as “data-subjectid” to each div which
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
