Category: Mobile
Heroku | How to delete prior database backups
Following are the steps to delete the Postgres database backup: 1. Login into heroku. 2. Click on the database>PG Backups. Here you can see all the PG backups list. 3. . For deleting the database, first of all you have
Eclipse – Java decompiler (jd-eclipse)
If you are working with eclipse IDE, it provides many plugins and one of them is java decompiler. This plugin will decompile all your class files to give you Java source code. JD-Eclipse is a plug-in for the Eclipse platform.
Cakephp | URL routing using prefix before domain name
Routes in an application are configured in app/Config/routes.php. Defining your own routes allows you to define where your application will take the control to for a given URL. Default routing is like this: domain/controller/action Ex. www.xyz.com/user/login Prefix routing will add
Salesforce | Maximum view state size limit (135KB) exceeded
We have a page in which we have to display more than 50000 records. Visualforce page has View state Limit set to 135 KB hence after reaching this Limit salesforce throws Exception as “Maximum view state size limit (135KB) exceeded”.
WAMP | Not starting after SSL setup
Problem: After importing SSL certificate files to the server where the CSR was generated, Wamp was failing to start. Solution: This problem occurs because passphrase does not match the given csr key. The solution is before sending the ssl CSR file to
Zoho CRM | Reduce API call consumption
This is a simple idea to reduce API calls consumption when you pull data from Zoho CRM into an integrated piece of code (like server side code in PHP or Java that connects to Zoho CRM to retrieve records). In
Run embedded batch files
In one of the projects we had a batch file which runs another batch file within it in a loop. This was not working. It used to run once and then used to get stuck. This is sample code of
PHP | Clone arrays containing objects
In PHP you need deep cloning to clone arrays containing objects. Suppose we have $cold_items as an array of objects. To clone it appropriately so that while changing the values in one array does not impact the other one, use
Java | Shallow and Deep comparison of objects
There are two types of object comparison in java – shallow and deep. when you use ‘==’ operator, you are comparing the references for equality. It means you are comparing memory addresses of the objects. It is called shallow comparison.