Le Kevin dot com

photographic-poetic-musical horizon
Tennis at Windmill

Tennis at Windmill

NUnit is a unit-testing framework for all .Net languages. Initially ported from JUnit, the current production release, version 2.5, is the sixth major release of this xUnit based unit testing tool for Microsoft .NET. It is written entirely in C# and has been completely redesigned to take advantage of many .NET language features, for example custom attributes and other reflection related capabilities. NUnit brings xUnit to all .NET languages.

NUnit 2.0 is an excellent example of idiomatic design. Most folks who port xUnit just transliterate the Smalltalk or Java version. That’s what we did with NUnit at first, too. This new version is NUnit as it would have been done had it been done in C# to begin with. ~Kent Beck

via: http://www.nunit.org/index.php?p=download

Vietnam - 1915

Vietnam - 1915

In 1909 the millionaire French banker and philanthropist Albert Kahn embarked on an ambitious project to create a colour photographic record of, and for, the peoples of the world. As an idealist and an internationalist, Kahn believed that he could use the new autochrome process, the world’s first user-friendly, true-colour photographic system, to promote cross-cultural peace and understanding.

Kahn used his vast fortune to send a group of intrepid photographers to more than fifty countries around the world, often at crucial junctures in their history, when age-old cultures were on the brink of being changed for ever by war and the march of twentieth-century globalisation. They documented in true colour the collapse of both the Austro-Hungarian and Ottoman empires; the last traditional Celtic villages in Ireland, just a few years before they were demolished; and the soldiers of the First World War — in the trenches, and as they cooked their meals and laundered their uniforms behind the lines. They took the earliest-known colour photographs in countries as far apart as Vietnam and Brazil, Mongolia and Norway, Benin and the United States.

At the start of 1929 Kahn was still one of the richest men in Europe. Later that year the Wall Street Crash reduced his financial empire to rubble and in 1931 he was forced to bring his project to an end. Kahn died in 1940. His legacy, still kept at the Musée Albert-Kahn in the grounds of his estate near Paris, is now considered to be the most important collection of early colour photographs in the world. Read more…

via: http://www.albertkahn.co.uk/about.html

It backs up with an expiration of 30 days, but a year for anything on the first of the month.
Emails if it fails… (assume that you have sql email profile already setup)

CREATE PROCEDURE spBackupAllDatabases
AS
BEGIN
  SET NOCOUNT ON;
  declare @db varchar(50)
  declare @d varchar(100)
  declare @n varchar(100)
  declare @rd int
  set @rd=case when datepart(day,getdate())=1 then 365 else 30 end
  declare db cursor for select name from sys.databases
   where name not in ('master','tempdb','model','msdb')
  open db
  begin try
    fetch next from db into @db
    while @@FETCH_STATUS=0
      begin
        set @d='c:\\backup sql server\'+@db+'.bak'
        set @n=@db+'-Full Database Backup'
        backup database @db to disk=@d
         with retaindays=@rd, noformat, noinit, name=@n,
         skip, norewind, nounload, stats=10
        fetch next from db into @db
      end
  end try
  begin catch
    --sending emails
    exec msdb.dbo.sp_send_dbmail
     @profile_name='myprofile', @recipients='me@domain.com',
     @subject='SQL Server Backup failed on SQL Server',
     @body='The SQL Server Backup Operation failed on the SQL Server.',
     @body_format='HTML'
  end catch
  close db
  deallocate db
end
GO
Blog WebMastered by All in One Webmaster.