Category: Linux, Windows, Mac
How to insert file names in a text file from command prompt
For Windows user: 1. Open folder that contains files in console 2. type dir /b > D:test.txt (it will copy the result in test.txt file) For Linux user: 1. Open folder that contains files in console 2. type ls > /home/user/test.txt (it will copy
English | Some confusing words
1. Accept vs Except vs Expect: Accept: To approve/to agree. Example: I accept the new business proposal. Except: Leaving someone or something. Example: The new software works on every operating system except Windows 98. Expect: To hope. Example: I expect
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
