Final code version for 2009 Advent Calendar

This is the final version of all code created in the 2009 Advent Calendar: 1: public class MutexWrapper 2: { 3: private readonly Mutex _lock = new Mutex(); 4:   5: public virtual void WaitOne() 6: { 7: _lock.WaitOne(); 8: } 9:   10: public virtual void ReleaseMutex() 11: { 12: _lock.ReleaseMutex(); 13: } 14:…

0

Christmas 2009

For easier reference, here are the 2009 advent calendar links: What problem and what do we start with? Final thoughts and code. How: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24

0

Search

Search

0

*DD

This is a compiled list and relates to this post. In some cases Development and Design are interchangeable and I have only listed one.  ADD Acceptance test Driven Development (aka ATDD); Very similar to BDD and you always start with your acceptance tests. BDD Behavior Driven Development; Link. CDD Comment Driven Development; Instead of (or as a…

2

Christmas 2008

For easier reference, here are the 2008 advent calendar links: Why and advent calendar? What problem? Final thoughts. How: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24

1

ntlm.php

<?php // This a copy taken 2008-08-21 from http://siphon9.net/loune/f/ntlm.php.txt to make sure the code is not lost. // For more information see: // http://blogs.msdn.com/cellfish/archive/2008/08/26/getting-the-logged-on-windows-user-in-your-apache-server.aspx // NTLM specs http://davenport.sourceforge.net/ntlm.html $headers = apache_request_headers(); if (!isset($headers[‘Authorization’])){ header(‘HTTP/1.1 401 Unauthorized’); header(‘WWW-Authenticate: NTLM’); exit; } $auth = $headers[‘Authorization’]; if (substr($auth,0,5) == ‘NTLM ‘) { $msg = base64_decode(substr($auth, 5)); if (substr($msg,…

7

System Center Cross Platform Extensions Beta

Some links regarding the SCX beta release: News: The first news flash I read @ computerworld.com Microsoft virtual pressroom Official press release Microsoft answers call for more cross-platform support @ slashdot @ InformationWeek Blog posts: MMS 2008 Keynote: The Dynamic Datacenter Microsoft.Unix.Computer – Team blog for System Center Cross Platform and Interop Cross Platform What? –…

2