This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SideBySideSpecs.new({ | |
:references => %w(Machine.Specifications Machine.Specifications.Clr4 FakeItEasy Castle.Core NServiceBus.Testing), | |
:projects => FileList.new("source/**/*.csproj"), | |
:spec_globs => %w(*Specs.cs **/*Specs.cs), | |
:specs => FileList.new("source/**/*Specs.cs") | |
}).remove |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using Machine.Specifications; | |
namespace ns | |
{ | |
[Behaviors] | |
public class BazBaz<TException> | |
where TException : Exception | |
{ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
>mspec -p Machine.Specifications.Example.dll Machine.Specifications.Example.CleanupFailure.dll | |
Specs in Machine.Specifications.Example: | |
...*** | |
Specs in Machine.Specifications.Example.CleanupFailure: | |
. | |
Contexts: 4, Specifications: 7, Time: 0.25 seconds | |
4 passed, 0 failed, 3 not implemented |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
if %1.==. goto :usage | |
rem Pass second parameter to override subdir in Dropbox folder. | |
if %2.==. ( | |
set SUBDIR=%~n1 | |
) else ( | |
set SUBDIR=%~2 | |
) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$scriptPath = Split-Path -parent $MyInvocation.MyCommand.Definition | |
$folderMaps = @{ | |
'ALT.NET' = 'd:\Users\agross\Coding\.NET\ALT.NET' | |
'AppData\Ghisler' = 'c:\Users\agross\AppData\Roaming\Ghisler' | |
'AppData\GnuCash' = 'c:\Users\agross\AppData\Roaming\GnuCash' | |
'AppData\Miranda IM' = 'c:\Users\agross\AppData\Roaming\Miranda IM' | |
'AppData\Outlook-Signaturen' = 'c:\Users\agross\AppData\Roaming\Microsoft\Signatures' | |
'AppData\RoboForm' = 'c:\Users\agross\AppData\Roaming\RoboForm' | |
'AppData\Subversion' = 'c:\Users\agross\AppData\Roaming\Subversion' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using Machine.Specifications; | |
namespace ClassLibrary | |
{ | |
public class Class | |
{ | |
// Change class name, add properties -> Nested should vanish. But it doesn't. | |
} | |
public class Outer |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System.Collections.Generic; | |
using Castle.MicroKernel.Registration; | |
using Castle.MicroKernel.Resolvers.SpecializedResolvers; | |
using Castle.Windsor; | |
using Castle.Windsor.Installer; | |
using Nancy.Bootstrapper; | |
using Nancy.Bootstrappers.Windsor; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# For a description of the file format, see the Users Guide | |
# http://cygwin.com/cygwin-ug-net/using.html#mount-table | |
D:/Users/agross/Downloads /scratch ntfs binary,posix=0,noacl 0 0 | |
D:/Users/agross/Projekte/GROSSWEBER /gw ntfs binary,posix=0,noacl 0 0 | |
D:/Users/agross/Coding/.NET /play ntfs binary,posix=0,noacl 0 0 | |
D: /d ntfs binary,posix=0,noacl 0 0 | |
C: /c ntfs binary,posix=0,noacl 0 0 | |
C:/Cygwin/bin /usr/bin ntfs binary,posix=0,noacl 0 0 | |
C:/Cygwin/lib /usr/lib ntfs binary,posix=0,noacl 0 0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ErrorActionPreference = 'Stop' | |
$scriptPath = Split-Path -parent $MyInvocation.MyCommand.Definition | |
Import-Module "$scriptPath\tools\deployment-tools" | |
Import-Module "$scriptPath\tools\certificates" | |
Import-Module WebAdministration | |
$permissions = @{ | |
'' = @{ | |
"FullControl" = @( |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function Import-Certificate | |
{ | |
param | |
( | |
[IO.FileInfo] $CertFile = $(throw "Parameter -CertFile [System.IO.FileInfo] is required."), | |
[string[]] $StoreNames = $(throw "Parameter -StoreNames [System.String] is required."), | |
[switch] $LocalMachine, | |
[switch] $CurrentUser, | |
[string] $CertPassword, | |
[switch] $Verbose |