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 System.Collections.Generic; | |
using System.Linq; | |
using System.Reflection; | |
using Crimson.Infrastructure.Persistence; | |
using Machine.Specifications; | |
using Machine.Specifications.Utility; |
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.Linq; | |
using Crimson.ForTesting; | |
using Crimson.Infrastructure.Configuration; | |
using Crimson.Infrastructure.Persistence; | |
using FluentNHibernate.Cfg; | |
using FluentNHibernate.Mapping; | |
using Machine.Specifications; |
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 System.Security.Principal; | |
using Crimson.Web.Behaviors; | |
using Crimson.Web.Controllers; | |
using Crimson.Web.Services; | |
using FubuMVC.Core.Behaviors; | |
using FubuMVC.Core.Controller.Config; | |
using FubuMVC.Core.Routing; |
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
Get-ChildItem -recurse ` | |
| Where-Object { $_.PsIsContainer } ` | |
| ForEach-Object { Get-ChildItem -path $_.FullName | Sort-Object -property LastWriteTime | Select-Object -last 1 } ` | |
| Foreach-Object { Write-Host $_.Directory; [System.IO.Directory]::SetLastWriteTime($_.Directory, $_.LastWriteTime) } |
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
cd /d %1 | |
@if %errorlevel% NEQ 0 exit /b %errorlevel% | |
@goto %2 | |
:prepare | |
copy /y "Web\App_Offline.htm.deploy" "Web\App_Offline.htm" | |
@if %errorlevel% NEQ 0 exit /b %errorlevel% | |
@goto exit |
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.Dynamic; | |
using Machine.Specifications; | |
namespace ClassLibrary1 | |
{ | |
public class DynamicClass | |
{ | |
public dynamic DoSomething() | |
{ |
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
public interface ICommandMessageHandler<TCommand> | |
{ | |
void Execute(TCommand message); | |
} | |
public interface ICommandMessageHandler : ICommandMessageHandler<object> | |
{ | |
} | |
public abstract class Command<T> : ICommandMessageHandler |
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
In c:\Users\you\AppData\Roaming\JetBrains\ReSharper\v5.0\vs10.0\UserSettings.xml | |
Add the following setting: | |
<Configuration> | |
<SettingsComponent> | |
<boolean> | |
<setting name="SolutionAnalysisIndicator.RoundProgress">True</setting> |
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
<CodeStyleSettings> | |
<AgentSmithCSharpStyleSettings version="1"> | |
<CodeStyleSettings xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> | |
<CustomDictionaries> | |
<Dictionaries> | |
<CustomDictionary> | |
<Name>en-US</Name> | |
<CaseSensitive>false</CaseSensitive> | |
<UserWords</UserWords> | |
</CustomDictionary> |
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; | |
namespace Crimson.NHibernateSupport | |
{ | |
public interface IEntity | |
{ | |
int Id | |
{ | |
get; | |
} |