Category: Mobile
How to install .box extension Virtual Machine
To install and use .box extension machine we have to follow these steps: 1. Installing Virtualbox: $ sudo apt-get install virtualbox $ sudo apt-get install virtualbox-dkms 2. Installing vagrant: Please don’t install the repository version, because this is very old and
NetSuite API | operator undefined for search
On filtering contacts coming from Netsuite CRM based on last modified date, gives error “operator undefined for search”: Below is the code that retrieves all the contacts from Netsuite CRM: ContactSearch custSearch = new ContactSearch(); ContactSearchBasic custSearchBasic = new ContactSearchBasic();
CSS3 Viewport units vh, vw, vmin and vmax explained
CSS3 Viewport units vh, vw, vmin and vmax explained Sometimes we need to fit our webpage content into viewport (visible browser window). Some developers achieve this using Javascript by checking the size of viewport and then they resize the content
Selenium | Opening and closing browser tabs with Key controls
We can use Robot class to open and close tabs in Selenium but we also have the Key_Control concept. These are keyboard shortcuts to open and close the tabs in browser : Ctrl+t (Open New tab) Ctrl+w (Close tab) We
Salesforce | Passing data via Javascript to Apex Controller
Some situations occur when we become unable to pass the data from visualforce page to apex controller directly. For example: Suppose you have three divs (todoDiv, doingDiv, doneDiv) that are showing some tasks through the List from apex controller. It
Salesforce | System.Callout Exception: Unauthorized End Point
I tried to send REST request to my server on click of a custom button in Salesforce. It shows me “unauthorized end point exception”. Solution : To resolve this issue we need to add the server address as a remote
Selenium Locators
To locate elements in Selenium WebDriver, we can use findElement() for single element and findElements() to locate a list of elements satisfying the search criteria. List of different ways in which both the methods can be used are given below:
How to install and use command line tools in Heroku
What is Heroku Command Line: The heroku command-line tool is an interface to the Heroku Platform API and includes support for things like creating/renaming apps, running one-off dynos, taking backups, and configuring add-ons. It is generally installed in your local
Java | Base64 Encoding/Decoding with javax.xml.bind.DatatypeConverter
Base64 Encoding/Decoding with javax.xml.bind.DatatypeConverter in java 6 and 7. Solution: javax.xml.bind.Datatypeconverter class is the built in class inside JRE. We don’t need any third party library as we need in case of Cipher encoding/decoding method. javax.xml.bind.DatatypeConverter.printBase64Binary(byte[]) encodes a byte[] array into