Posts Tagged ‘git’

Tortoise Git

Most of you probably already know TortoiseSVN and TortoiseCVS, the popular Windows Explorer extensions to Subversion and CVS source control servers.

It is now time for Tortoise Git. Compared to many other Git gui, I can tell Tortoise Git is ahead of the competition. You have access to all the day to day Git commands with a nice and intuitive user interface. Give it a try and, if you like it, please donate to the team!

You can download Tortoise Git from here http://code.google.com/p/tortoisegit/downloads/list

An image worth a thousand words … well, at least a dozen of words. Following are the commands exposed through the Tortoise Git explorer extension.

Manage Virtual Assistant Using Git

It is now easy as 1-2-3 to hire a Virtual Assistant to help you out with your software development projects. You don’t have to be a large corporation to work with these oversea companies. The key to success with impartition reside, as many will tell you, in two things.

First, your ability to clearly define the work to do. You will get through it with time and practice. Communication is most often very hard because of the distance and the language barrier.

Second, your ability to control the quality and the velocity of the code produced by the team and to merge it to the final product. For that task you can get help from technologies such as Git, a distributed source control application.

Git is a free & open source, distributed version control system designed to handle everything from small to very large projects with speed and efficiency. Every Git clone is a full-fledged repository with complete history and full revision tracking capabilities, not dependent on network access or a central server. Branching and merging are very low cost compared to server based source control systems.

In the context of impartition, Git becomes very effective because there is no need for the developers to know about it. Here is the sequence I use to work with remote Virtual Assistants:

  1. Since branching in Git is very effective and low cost, you start by creating a branch for a specific developer.
  2. Checkout the user branch
  3. Zip the project and send it to the programmer.
  4. Repeat 1 to 3 for all programmers.
  5. Once a programmer send back a zip of the project, you can use Git to view and merge all changes made by this user.

This can only be done on a distributed source control application. If you have several developer for a longer period of time, you may want to take time to teach Git to them so they can send you patches to simplify the merge process.

Git and Visual Studio

Interested in using Git with your Visual Studio project? Add the following to your .git/info/exclude file to avoid checking in un-necessary binaries …

*/obj/*
*/bin/*
*.suo
*.user
*/Debug/*
*/Release/*

For the Resharper users add the following …

_ReSharper*
*.resharper

If you want to keep VSS files …

*.scc

Bluetooth is Watching You …

I thought it could be fun to write a small program in Python using Bluetooth.

I then read an article about the explosion in popularity of Bluetooth devices and decided to write a small program that would detect Bluetooth devices in a specific location. A trace of all these devices would then be kept in a database along with its location and the time it has been detected.

An interesting project would be to distribute a large number of Bluetooth detector around the world that would send the collected data to a central portal where anybody could make queries to see where their device has been detected. A good starting point would be to have such a detector close to the Eifel tower in Paris, an other at Stonehenge UK, etc. 

 The application is written in Python using Pybluez Bluetooth library and the MySQL database. The code is available on my Github account at  http://github.com/pchretien/btiswatchingu and is released under GPL v2.0 license.

Once again, comments welcome,

Philippe Chrétien

Python and Github

Lately I had a rush of Python programming. I wrote a few totally useless application. You can get the code on my Github account at the following address: http://www.github.com/pchretien.

These applications have been coded just for fun and are published under the GPL v2.0 license. Your comments are welcome.

Philippe Chrétien