Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
<html> | |
<body> | |
<form data-bind="submit: onSubmit"> | |
<button type="submit">Submit</button> | |
</form> | |
<script type="text/javascript" src="knockout-2.0.0.js"></script> | |
<script type="text/javascript"> | |
window.onload = function () { |
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
# watch a file changes in the current directory, | |
# compile when a .coffee file is changed or renamed | |
$watcher = New-Object System.IO.FileSystemWatcher | |
$watcher.Path = get-location | |
$watcher.IncludeSubdirectories = $true | |
$watcher.EnableRaisingEvents = $false | |
$watcher.NotifyFilter = [System.IO.NotifyFilters]::LastWrite -bor [System.IO.NotifyFilters]::FileName | |
while($TRUE){ |
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
# Tools | |
.\NuGet.exe i DotCover -s \\myserver\Dev\NuGetPackages -o Tools | |
.\NuGet.exe i StyleCopCmd -s \\myserver\Dev\NuGetPackages -o Tools | |
# Dependecies | |
$packageConfigs = Get-ChildItem . -Recurse | where{$_.Name -eq "packages.config"} | |
foreach($packageConfig in $packageConfigs){ | |
Write-Host "Restoring" $packageConfig.FullName | |
nuget i $packageConfig.FullName -o Packages | |
} |
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
namespace iDoc.specs.When | |
{ | |
[Subject("AccountManagement")] | |
public class CreatingAUserAccount : BaseContext<AccountController> | |
{ | |
const string EmailAddress = @"[email protected]"; | |
Establish context = () => | |
{ | |
model = new RegistrationModel { |