Category: Linux, Windows, Mac
Ubuntu | Rsync
Ubuntu provides a very useful command rsync that allows faster way to copy modified files from one location to another. It can work between 2 remote locations or even within local folders. First time rsync downloads all the files but
Java | How to Create Entities from existing database in eclipse (ubuntu)
Follow steps below to generate JPA Entity classes automatically in Eclipse: Step 1: Create a simple java project and convert it to JPA Project using following steps: 1.1. Right Click on your Project. 1.2. Select Configure option from the menu.
Salesforce | [message:protected] => INVALID_LOGIN: Invalid username, password, security token; or user locked out
While upserting records using SFDC php API we were facing following exception : [message:protected] => INVALID_LOGIN: Invalid username, password, security token; or user locked out. This exception was showing up frequently when we were upserting records using PHP API. The
Linux | Multi Factor Authentication (MFA) without password
When implementing Multi Factor Authentication (MFA) for linux server with ssh-key and google-authenticator only with no password it was prompting us to enter password for user but we wanted authentication without password. Steps to solve this: 1. Install google authenticator
Java | What is the default location for maven repository and how we can modify it
To print maven default configurations, run following command: Command: mvn -X This will show you maven default configurations similar to following: Apache Maven 3.0.4 Maven home: /usr/share/maven Java version: 1.7.0_79, vendor: Oracle Corporation Java home: /usr/lib/jvm/java-7-openjdk-i386/jre Default locale: en_IN, platform
How to add ©, ®, ™ symbols to the text in Windows, Linux and Mac
For Windows: Hold down the alt key and use the num pad of your keyboard to create these symbols: For copyright – 0169 – © Registered – 0174 – ® Trademark – 0153 – ™ For Mac: Hold down the
PHP | How to call SOAP based web services from php
We were working on codeigniter website project. We had wsdl web services available to access our backend functionality. We had configured a WSDL Client in our php code but it was not working. Sample Code: try { $testSoapClient = new
Secure Apache Webserver
By default Apache web server does not come with all the securities enabled. We have to enable enhanced securities before making it live & accessible to the outside world. Remove Server Version Banner : Modify httpd.conf and add following directives
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.