Skip to content

Instantly share code, notes, and snippets.

@andrewabest
andrewabest / Landlord.cs
Last active November 23, 2015 00:03 — forked from sheastrickland/Landlord.cs
Landlord: The Com Destroyer. A simple utility class to wrap those nasty little devils.
using System;
using System.Runtime.InteropServices;
namespace Things
{
public static class LandLordExtensions
{
public static LandLord<TWrapped> AsDisposable<TWrapped>(this TWrapped tenant)
{
return new LandLord<TWrapped>(tenant);
@andrewabest
andrewabest / gittfs.md
Last active November 22, 2015 23:59
Git-Tfs Setup

First

Then

To clone the main branch of your TFS project as a git repo (aka get the codez):

  • Create a new directory to store your git projects, seperate from your 'standard' TFS source directory**. (For example, use c:\projects.git instead of c:\projects)
  • Open a command prompt and navigate to your git source directory.