Showing posts with label Social Networking. Show all posts
Showing posts with label Social Networking. Show all posts

Friday, July 27, 2012

Git : A Version Control System



Git is a distributed Version control and Source code management system. It was designed by Linus Torvalds ( The Brain behind Linux Kernel ). It is used widely in management of Source code of a project.
Extremely helpful when an application is being developed by more than one developer. Each developer will be updated about all the changes carried out to the source code by other developers.

This article takes a simplified approach of explaining the basic commands used in Git .
Lets get started.


Git Configuring :

Before you start using Git , you need to configure the Git such as setting up Name , Email , Key etc. Use

$ git config --global user.name "My Name"
$ git config --global user.email "user@domain.com"


Git Initialization :

To work with Git , you need to initialize the repository.
Just move into the directory you want to initialize and use.

 $ git init 


Git Staging :

After initialization of the repository (directory) , you need to stage the files. You can consider Git to have 3 stages : Unstaged , Staged and Committed. Stage the files using (If you want to stage all the files in the directory) :

$ git add *

else if for staging individual files use :

$ git add file-name

else for staging multiple files use :

$ git add file-name1 file-name2 filename3


Git Committing :

After staging of the files, you need to commit them. Committing the files means you are ready to push the files to either a local or a remote repository. To commit the files , you should always first stage those files. For committing use (-m option is used to put some commit message) :

$ git commit -m "Commit Message"


Git Pushing to a Remote Repository :

Usually after the committing the files, you would like to push it to some remote repository for other developers to collaborate. To set up a remote repository you have add that remote repository. ( Usually we use either github or bitbucket ). Create an account in either of those sites and create a repository. Then use  (Test is the name of the remote repository):

$ git remote add origin https://github.com/rShetty/Test.git
$ git push -u origin master 

After adding the remote repository use the "git push" command to push your committed files to the remote repository. That is all you have to do for putting your code to a remote repository.


Git Checking Status :

At any time while using Git,If you need to check the status of the files. You can use :

$ git status 

This command gives you the status of your files like ( Staged , Not Staged or Committed or Modified etc ).


Git Cloning :

Git cloning is making copying of the remote repository onto your local machine. To clone a Remote repository use :

$ git clone git@github.com:username/test.git


Git Branching :

Whenever you initialize a git repository, a Master Branch is created for you to work on. In some cases, where you want to try some stuff on your code and don't want to disturb your code in Master branch, you can create branches using

$ git branch branch-name

and can shift to that branch using :

$ git checkout branch-name 

The above two commands can be collapsed into a single one , Using this you will create a new branch and shift to it.

$ git checkout -b branch-name


Git Merging :

So here you have tried some cool new feature in a branch and it does work fine and you want to integrate that feature into the main branch (Master). To Integrate the changes you need to merge the branches as :

$ git merge


Git Pulling and Fetching :

You use :

$ git fetch origin
When you want to fetch all the objects which are not there in your local repository.

and

$ git pull origin

To fetch the files from the remote repository and merging it to the local one.


Git Logging :

Git Log is used to check the logs of your commits, changes etc you made over a period of time. It provides complete information of various commits , branches and the person responsible for the same.

$ git log
or
$ git log -n 10

To see the last 10 git log commits.


Git Tagging :

Provides a Tag to commit you made with a simple Human readable handle.

$ git tag -a v1.0 -m 'Version 1.0'


Git Undoing Changes :

A lot of times we stage files which we should not have or we commit wrong files. To undo these Human errors, Git provides flexible and easy commands.

Use : If you want to unstage a file, which you have staged by mistake use the above command.

$ git reset HEAD file-name

Use : If you want to change your last commit.

$ git commit --amend

Use: If you want to undo all the changes you made to a file (Use this carefully)

$ git checkout -- file-name


GitK / GitX :

These are the UI based Git clients. GitK comes for Windows and Linux and GitX is for MAC. Install it and use as :

$ gitk
$ gitx 

That's all , These commands will keep you up running with Git. 
Git is a very Powerful and efficient tool . Use it Wisely .

Explore some lesser known git commands here :


For any Doubts/ Clarifications/Feedback write to me @


or Connect me on Twitter @rBharshetty


Sunday, July 24, 2011

Google+ Collection


Google+ Expanding and going viral . India is 2nd in number of Google+ users.



Google+ reaching 20 million users, Exponential curve .


Evolution in Social Networking . Google+ has evolved !!



Users of Google+ across the globe . It is really viral.




Scenario in the current Google Boom . Hope it is not true .




Pace of Google+ reaching 10 million users . Its Brilliant 





Google Chrome extension to collapse the posts in the stream 



Google chrome extension for -1 . Now -1 things you hate .


Ya, that is the bug I discovered during course of my journey on Google+ exploration.
I shows my profile pic for many people in my circles. "People in your Circles tab" .



Google+ seems promising . In its Beta stage , it has  already has reached 20 million users showing its potential of leaving a mark in Social networking.


Go to
www.plus.google.com

Join Now!!!!

Bug in Google+

This is the bug I recently encountered on Google+ . 




It is basically showing my profile pic for varied range of people I have added in my circles ." in the "People in your Circles" tab .

So, any Suggestions of the above bug are most welcome .


Wednesday, July 6, 2011

Facebook Video Calling




Finally the much awaited Facebook product announcement completed on 6th July 10AM PST in Palo Alto , California .
Facebook did roll out 3 features to the social platform , They being :



Group Chat ( Adhoc ):

Facebook did had group chat earlier , but the cool thing about this product release is the adhoc group chat  which is integrated into the platform. The adhoc group chat is that you can easily add your friends to the chat list in the chat menu on the fly. It means now to chat with a group of people you don't  need  to create a group , add your friends and then chat.Now ,it is possible just by adding a group of people just by selecting them in the chat menu .

New Chat Design :

Facebook has improvised the look of the earlier chat menu and has come with a completely new chat interface which shows both your friends online and the one who are offline . Facebook rolled out this feature to send message quickly to people who you message the most and are not online (Offline)The New interface looks cool , revamped and as usual simply elegant .


Video Calling ( 1 to 1 ) :

This was the most awaited feature on the Facebook Platform.Facebook announced the release of the Video chat with strategical partnership with Skype( the Video Calling Giant) .This video calling feature is 1 to 1 ( and not group chat hangouts as in Google+) . It is simple, integrated into the profiles of the user . One of the advantages being it is really simple to video call your friends and family with just a click of a button. The disadvantage being it is not yet supported formobile devices . 

A Look at Facebook Video chat  http://goo.gl/1sqT1

These are the product announcements by Facebook, Hope to see more greater products from Facebook.

Facebook did roll out these features as a reply for Google's Google+ Social networking project . It is always good to see healthy competition between the internet giants ( Google and Facebook) . It is this healthy competition which paves the path for progressive development and the release of such great technologies .

Do leave your impressions in the comment threads on this .




Monday, July 4, 2011

Importing Facebook Contacts into Google+

Google+ do not support directly importing your contacts from the facebook . So, here is what I did and which you can also try .

1 : Import your Facebook contacts to the Yahoo account and then import the yahoo contacts to the Google+ account ( G+ has Yahoo support ).
https://plus.google.com/circles/find

OR

2 :Import your Facebook contacts to the yahoo account and then export the contacts as a csv card . Then go to the gmail account and then import this exported csv card .

After importing contacts imported friends will be here https://plus.google.com/circles/find
just drag them and drop to any of your circles . That's it ..

Saturday, April 23, 2011

Google's +1 Button



Google.Inc recently released the +1button ( still in it's experimental stage ) which is very similar to the Facebook's Like button which revolutionized the social networking domain on the internet .

The +1 button appears in your search results , and if you like a particular website and found some quality content on that website which you want to recommend your friends  , then just +1 the link in the search .
The next time any of your friends searches for the same query , the search results will display the link you +1 earlier as xxx +1 this .


Sunday, December 19, 2010

Facebook:Top 10 Enhancements in the Future.......


Facebook is an Online Social Networking site which is famous for its simplicity in design and maturity in functionality. Facebook was founded by Mark Zuckerberg at Harvard during his college days. Facebook is a $25 billion company with more than 500 million registered users till date. It is popular social networking site in the world because of its unique features which are dazzling and mind-blowing. Though,Facebook is equipped with a whole lot of applications ,I think there is still a scope for further improvement in its design and functionality. The following features mentioned will surely help Facebook improve there User experience by providing users more intuitive and enchanting environment for social networking.



Friday, December 10, 2010

Facebook Signup Form Validation: Is it up to the mark.......

Validation of data entry in sign-up and login forms as we all know is an important aspect of online application design. It forms a prime aspect in recognising your quality of the application designed.

Facebook as we all know is $25billion company with users more than 500 million.So, Is the facebook sign-up form validation up to the mark?
Here are the some of the observations I made during my usage of facebook and its so called signup form.

Signup form of facebook is available at www.facebook.com
Here are some of the screenshots of the website's signup form which depicts some strange behaviour.