Category: Zoho
Salesforce | Uploading and using images in Visualforce page
When there is requirement of displaying images in a Visualforce page, following methods can be adopted: Method 1: If the image is present on another website/server. Use this code: <apex:image url=”Paste URL of the image” styleClass=”imageStyle”/> Method 2: Uploading image in “Static
Salesforce | How to show different apex message at different places on clicking a single button?
In a Visualforce page we have multiple UI blocks (for simplicity we have considered only 2 blocks below). In each block we have a form with some html elements and few action buttons to submit form of only that block.
Moodle/Totara | How to give Grade to user in enrolled course
To give grade to user enrolled in course follow the below steps: 1. Open the course in which user is enrolled: 2. To the left, click on link labelled “Grades” as shown below: 3. Click on the button “Turn editing
Eclipse Luna | Dark theme and window split
1. You can select a dark theme for Eclipse Lune now: To use the dark theme, go to Window -> Preferences -> General -> Appearance and choose ‘Dark’. 2. Editors can be split horizontally ( CTRL+_ ) or vertically (
FileZilla | How to switch from current editor to other editor
To get Eclipse or any other editor to open the file by default every time you download a file from fileZilla follow these steps: Open terminal and find path from which your editor executes using which command. $ which eclipse
Integrate Axis2 and Rampart
Follow these steps to integrate Axis2 and Rampart: 1. Download axis2 from the below link: Click 2. Download Rampart. 3. Set AXIS2_HOME using below commands on terminal: $ vi /home/user/.bashrc Add below line to the end of the file: export AXIS2_HOME=/home/user/Downloads/axis2-1.6.4/ “
Ubuntu | Google Authenticator not working with SSH keys
Purpose is to get MFA/ 2-step verification working i.e. google-authenticator + ssh Keys First of all, install google authenticator on your server with following steps: 1. Yum install google-authenticator.x86_64 (Redhat/Centos) sudo apt-get install libpam-google-authenticator (ubuntu OS) 2. Now vi /etc/pam.d/sshd (add following
Ubuntu | How to avoid typing full ssh command to connect to remote server
If you are using ssh (Secure shell ) to connect to remote server, typing long ssh commands in the terminal is unsecure and tedious job. Following is the better and secure way to do this : Just create a file
Linux | Configure Tomcat service in linux
Running Tomcat as a service in Linux: For security reasons you should not run Tomcat as root service. It is better to create a new user and run Tomcat under it. Create a file with the script: $ sudo vi