- 12pm - The Kernel (~1hour) (2pm close)
- 1pm - Fourpure (~45mins)
- 1:30pm - Partizan (~45hour)
- 2:30pm - Brew By Numbers (~1hour)
- 3:30pm - Southwark Brewing Co (~30mins) (5pm close)
- 4:15pm - Anspach & Hobday/Bullfinch Brewery (~1hour) (6pm close)
- 6pm - Bottleshop
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
| void Main() | |
| { | |
| var configurationStore = new ConfigurationStore(new TypeMapFactory(), MapperRegistry.Mappers); | |
| var mapper = new MappingEngine(configurationStore); | |
| var server = new Server(); | |
| configurationStore | |
| .CreateMap<From, To>() | |
| .ForMember(d => d.ServerThing, m => m.ResolveUsing(new FromServer1Resolver(server)).FromMember(s => s.ServerThingId)) |
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
| void Main() | |
| { | |
| var stream1 = Observable.Interval(TimeSpan.FromSeconds(5)).Select(_ => "a" + _); | |
| var stream2 = Observable.Interval(TimeSpan.FromSeconds(1)).Select(_ => "b" + _); | |
| stream1.WithLatestFrom(stream2, (a, b) => new {a, b}).DumpLatest(true); | |
| } | |
| public static class ObservableExtensions | |
| { |
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 c:\ | |
| # Load posh-git example profile | |
| . 'C:\_code\posh-git-master\profile.example.ps1' | |
| function Get-Batchfile ($file) { | |
| $cmd = "`"$file`" & set" | |
| cmd /c $cmd | Foreach-Object { | |
| $p, $v = $_.split('=') | |
| Set-Item -path env:$p -value $v | |
| } |
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 class Proto | |
| { | |
| public bool MyFlag { get; set; } | |
| public bool HasMyFlag { get; set; } | |
| } | |
| public class Dto | |
| { | |
| public bool? MyFlag { get; set; } | |
| } |
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 sealed class ArrayEqualityComparer<T> : IEqualityComparer<T[]> | |
| { | |
| // You could make this a per-instance field with a constructor parameter | |
| private static readonly EqualityComparer<T> ElementComparer | |
| = EqualityComparer<T>.Default; | |
| public bool Equals(T[] first, T[] second) | |
| { | |
| if (first == second) | |
| { |
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 Prune-Local-Branches() { | |
| git branch --merged master | grep -v 'master$' | xargs git branch -d | |
| } |
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
| [alias] | |
| a = add -A | |
| abort = rebase --abort | |
| amend = commit --amend -C HEAD | |
| bl = blame -w -M -C | |
| br = branch | |
| cat = cat-file -t | |
| ci = commit -a | |
| co = checkout | |
| df = diff --word-diff=color --word-diff-regex=. -w --patience |
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
| git config option merge.tool set to unknown tool: --global | |
| Resetting to default... | |
| This message is displayed because 'merge.tool' is not configured. | |
| See 'git mergetool --tool-help' or 'git help config' for more details. | |
| 'git mergetool' will now attempt to use one of the following tools: | |
| tortoisemerge emerge vimdiff | |
| No known merge tool is available. |
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
| void Main() | |
| { | |
| this.Given(_ => TheBuyerIsA(_buyerCategory)) | |
| .And(_ => TheBuyerSelectsA(fare)) | |
| .When(_ => TheBuyerPays()) | |
| .Then(_ => ASaleOccursWithAnAmountOf(Price)) | |
| .WithExamples(new ExampleTable( | |
| "Buyer Category", "Fare", "Price") | |
| { | |
| { BuyerCategory.Student, new MonthlyPass(), new Currency(76) }, |