Skip to content

Instantly share code, notes, and snippets.

jonorossi / gist:1397643
Created November 27, 2011 14:42
Sync TeamCity build configurations with Git branches
using System;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.Net;
using System.Text;
using System.Xml.Linq;
using System.Xml.XPath;
using LibGit2Sharp;
namespace TCBuildConfigSync
jonorossi / AAA.cs
Last active January 2, 2016 16:59
Bullseye Coverage - XML coverage file parsing (extracted from an in-house tool written several years ago)
// Files:
// * CoverageDetails.cs - CoverageDetails has a bunch of simple attributes read from the coverage file, and some simple structs and enums
// * CoveredObject - base class of the next three classes
// * CoveredProject - a collection of modules
// * CoveredModule - a collection of functions
// * CoveredFunction - holds coverage information about the function
// * ReportHelper - some utility methods
// After running the binary coverage file through covxml with the --file argument
// construct the model using an XmlDocument object
jonorossi / WindsorResolversTest.cs
Created March 12, 2016 12:50
Custom Castle Windsor IDependencyResolver allowing access to registered subresolvers
using Castle.MicroKernel;
using Castle.MicroKernel.Proxy;
using Castle.MicroKernel.Resolvers;
using Castle.MicroKernel.Resolvers.SpecializedResolvers;
using Castle.Windsor;
using Castle.Windsor.Installer;
using System;
using System.Collections.Generic;
using System.Linq;