$/
artifacts/
build/
docs/
lib/
packages/
samples/
src/
tests/
This file contains 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
class Hash | |
def prepend(value, key) | |
aditional_value = delete(key) | |
merge! key => "#{value} #{aditional_value}".rstrip | |
end | |
end |
This file contains 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
[paths] | |
default = https://hg01.codeplex.com/forks/prabirshrestha/cls | |
[extensions] | |
reviewboard = D:\Prabir\Documents\PortableApps\msys\msys\1.0\share\mercurial-reviewboard | |
[reviewboard] | |
server = http://reviewboard.nupack.com/ | |
user = prabir |
This file contains 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
//This is a sample specification. | |
public SutSpecification<Depositor> when_withdrawing_money_from_empty_account = new SutSpecification<Depositor> | |
{ | |
On = () => new Depositor(13), | |
When = depositor => depositor.Withdraw(50.00m), | |
Expect = | |
{ | |
depositor => depositor.Balance > 0.01m, | |
depositor => depositor.AccountIsOpen |
This file contains 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
$find = 'jquery-1\.4\.4' | |
$replace = 'jquery-1\.5\.1' | |
$match = '*.cshtml' , '*.vbhtml' | |
$preview = $true | |
foreach ($sc in dir -recurse -include $match | where { test-path $_.fullname -pathtype leaf} ) { | |
select-string -path $sc -pattern $find | |
if (!$preview) { | |
(get-content $sc) | foreach-object { $_ -replace $find, $replace } | set-content $sc | |
} |
This file contains 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
<#@ template debug="false" hostspecific="true" language="C#" #> | |
<#@ import namespace="System.IO" #> | |
<#@ output extension=".cs" #> | |
using System; | |
using System.Windows; | |
<# | |
var pathEntries = System.Environment.GetEnvironmentVariable("PATH").Split(Path.PathSeparator); | |
FileInfo gitFileInfo = null; |
This file contains 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
<UsingTask TaskName="DownloadNuGet" TaskFactory="CodeTaskFactory" AssemblyFile="$(MSBuildToolsPath)\Microsoft.Build.Tasks.v4.0.dll"> | |
<ParameterGroup> | |
<OutputFilename ParameterType="System.String" Required="true" /> | |
</ParameterGroup> | |
<Task> | |
<Reference Include="System.Core" /> | |
<Reference Include="System.Xml" /> | |
<Reference Include="WindowsBase" /> | |
<Using Namespace="System" /> | |
<Using Namespace="System.IO" /> |