Posts

Showing posts from May, 2016

How to Use GITHub.com ? A Simple Example using git commands.

1. Open terminal 2. sudo apt-get install git 3. Enter into your directory cd folder/                               git init                                              git add . git status git pull https://github.com/username/ repository.git git config --global user.name username git config --global user.email username@gmail.com git commit -m "first"     // Here first is only a label to your commit, you can write any label to remember your commit git remote add origin https://github.com/username/ repository.git git push origin master ** Good practice : folder name and repository name must be same Now check you github files are uploaded there. Now make some change in your code and try again commiting on github with following commands. git add . git status git commit -m "second" git push origin master Now check you github account, you will be having 2 commits. Any new changes will be shown on file with red an

Install PHP Development Environment in Eclipse

To install PDT (PHP Development Tools) for PHP development environment is better in Eclipse. The following are the steps to install PDT in Eclipse (I'm considering  version 3.7  (Indigo)): Open Eclipse (in my case Eclipse Indigo). Go to Help --> Install New Software... Expand the "Work with" drop down and select "Indigo - http://download.eclipse.org/releases/indigo ". Expand "Programming Languages" from the list. Check PHP Development Tools (PDT) SDK Feature. Click "Next >" at the bottom and follow the further instruction of Eclipse. After successful installation of PDT: Go to Window --> Preferences and see the list as PHP at left panel.