Skip to content

Instantly share code, notes, and snippets.

View bhalothia's full-sized avatar
🛠️
Building something cool. ;)

Virendra Singh Bhalothia bhalothia

🛠️
Building something cool. ;)
View GitHub Profile
# -*- mode: ruby -*-
# vi: set ft=ruby :
# David Lutz's Multi VM Vagrantfile
# inspired from Mark Barger's https://gist.github.com/2404910
boxes = [
{ :name => :web, :role => 'web_dev', :ip => '192.168.33.1', :ssh_port => 2201, :http_fwd => 9980, :cpus =>4, :shares => true },
{ :name => :data, :role => 'data_dev', :ip => '192.168.33.2', :ssh_port => 2202, :mysql_fwd => 9936, :cpus =>4 },
{ :name => :railsapp, :role => 'railsapp_dev', :ip => '192.168.33.3', :ssh_port => 2203, :http_fwd => 9990, :cpus =>1}
]
I would like to list out some of the points that differentiates GIT from SVN as a Version Control tool.
1. Basic difference between the above mentioned tools are that SVN is a Centralized and GIT is a Distributed version control tool.
2. Commit happens atomic in nature for SVN where as for GIT it's more like file versioning happens with every commit.
3. GIT versions by storing the contents of the files for tracking history where as in SVN the basic data storage is done by creating a differences between the individual files for each change.
4. GIT stores every changes in any of its sub-directories of its project structure within the .git folder that gets created only on the parent folder of the project structure where the git initialized a new git repository where as in SVN the .svn will be created in every sub-directories within the project structure to store the metadatas of each and every file and folder.
@bhalothia
bhalothia / Dash-boarding Cloud Metrics
Last active August 29, 2015 14:01 — forked from textarcana/README.md
Monitoring dashboards on cloud
This gist contains everything you need to install StatsD and Graphite on CentOS 6.3. Unless I forgot something. If I did, shoot a reminder email to noah at one more bug dot com. **tl;dr: womm, ymmv, yolo.**
I (mostly) followed the steps shown in the [EZUnix wiki](http://www.ezunix.org/index.php?title=Install_statsd_and_graphite_on_CentOS_or_RHEL)
And I also referred back to [this gist by Michael Grace](http://geek.michaelgrace.org/2011/09/how-to-install-graphite-on-ubuntu/)