Friday, October 27, 2017

Different Git client used in Win, Linux and Mac

Hi Friends,

I want to share few common git client list that can be used in different Operating System
  • GitX-dev. Platforms: Mac. ...
  • SourceTree. Platforms: Mac, Windows. ...
  • SmartGit. Platforms: Windows, Mac, Linux. ...
  • GitUp. Platforms: Mac. ...
  • GitKraken. Platforms: Windows, Mac, Linux. Price: Free for non-commercial use.
  • Fork. Platforms: Mac. Price: Free.
  • Cycligent Git Tool. Platforms: Windows, Mac, Linux. Price: Free.

Wednesday, January 25, 2017

Generate and Copy SSH Key

Hi Guys,

I am going to show you how to generate and copy ssh key from the console. For that you should have git bash installed in your Windows machine.

1. Generating RSA key pair run following command

   ssh-keygen -t rsa -C "tapashwani@example.com"

2. To copy RSA public key from the command prompt run following command

   pbcopy < ~/.ssh/id_rsa.pub
OR in Git bash 

   clip < ~/.ssh/id_rsa.pub


3. You can add this public key in your Git setting


Sunday, January 31, 2016

Quick Maven Installation on Mac

Hi Friends,  Lets see how we can quickly install and configure maven in your Mac machine.

There is 2 way to install maven in your mac machine you can use any one of them according to your need

A. Using brew command

Steps to Follow:

1. Check your homebrew version

     $ brew -v

2. If it's not 0.9.5, reinstall it by running these commands: (Optional)

    $ ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/uninstall)"

    $ ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

3. Install maven
   
    $ brew install maven

4. Check maven version

   $ mvn -v








OR

B. Using Tar.gz file

Steps to Follow

1. Download Maven tar.gz file from Appache Site

2. Extract file to your home directory 
    
    $ cd

    $ tar -xvf ~/Downloads/apache-maven-3.3.9-bin.tar.gz






3. Go to extracted file and copy apache-maven path

    $ cd /Users/tapashwani/apache-maven-3.3.9
    $ pwd 

4. Set Maven path in your ~/.bash_profile file

    $ vi ~/.bash_profile









4. Check maven version

   $ mvn -v

You are all set now, hope this post help you to solve your problem

Thursday, January 28, 2016

Quick Appium Server Installation on Mac Machine

Hi Friends, If you guys searching smart way to install Appium Server on Mac then you are at right place. Please follow below steps and Enjoy

Note: Please do not use sudo or root login

Steps to Follow:

1. Check your homebrew version

     $ brew -v

2. If it's not 0.9.5, reinstall it by running these commands:

    $ ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/uninstall)"

    $ ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

3. Install node

    $ brew install node

4. Install Appium server

    $ npm install -g appium

5. Install Appium client
    
    $ npm install wd

6. Start Appium Server
   
    $ appium -p=4723 OR $ appium &


Hope this will solve your problem.
Let me know if you like this or have any query.. Happy Testing



Monday, December 30, 2013

Installing Open SSH in Ubuntu





Hi Friends, see below steps to configure open ssh server  if its not already installed in Ubuntu OS.



Please follow the below steps  to configure open ssh

1. Open new terminal Ctrl + Alt + T

2. Install openssh-server using command  sudo apt-get install openssh-server



3. Enter sudo password and hit ‘Enter’ key.


4. Follow the interactive instruction to install Openssh-server

5. Installation complete will display like below



6. Change ssh port in the in the /etc/ssh/sshd_config file

7. Change ssh port to 22 if not already set 

8. Press ‘Esc’ + Shift + :wq to save and exit


9. Now you have successfully configured the openssh. Enjoy!!