Skip to content

Instantly share code, notes, and snippets.

View kkozmic's full-sized avatar
🎯
Focusing

Krzysztof Kozmic kkozmic

🎯
Focusing
View GitHub Profile
@kkozmic
kkozmic / AgileFailManifesto.md
Created October 12, 2012 04:22 — forked from MiguelMadero/AgileFailManifesto.md
AgileFail Manifesto

#Manifesto for Agile Software Development

We were in a rush to uncover better ways of developing software. Agile is supposed to be fast, so we did an Agile implementation of Agile and we skipped all the values and focused on the practices. Through this work we have come to value:

Daily Standups over Individuals and Interactions

Demos over Working Software

Planning Meetings over Customer Collaboration

var application = Application.Current as ExpressionApplication;
if (application == null) return;
container.Register(Component.For<IProjectManager>().UsingFactoryMethod(_ => application.Services.GetService<IProjectManager>(), managedExternally: true).LifestyleTransient());
public class AsyncHelper
{
private volatile bool allDone = false;
private volatile int doneCount = 0;
private int actionsCount;
private ICollection<Exception> exceptions = new List<Exception>();
public bool ExecuteInParallel(params System.Action[] actions)
{
if (actions == null || actions.Length == 0) return false;
var container = new WindsorContainer();
container.AddFacility<NHibernateFacility>(c => c.ForMsSql2005().ConnectionStringName("myConnectionString"))));