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
| obj | |
| bin | |
| deploy | |
| *.csproj.user | |
| *.suo | |
| *.cache | |
| ~$* |
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
| (define contains | |
| (lambda (list item) | |
| (and (not (null? list)) | |
| (or (= item (car list)) | |
| (contains (cdr list) item))))) | |
| (define hasdup | |
| (lambda (list) | |
| (and (not (null? list)) | |
| (or (contains (cdr list) (car list)) |
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
| Set AppObj = CreateObject("Shell.Application") | |
| If WScript.Arguments.Length=1 Then | |
| AppObj.ShellExecute "C:\Console2\Console.exe", " -t ""Git Bash"" -d """ & WScript.Arguments(0) & """" | |
| Else | |
| AppObj.ShellExecute "C:\Console2\Console.exe", " -t ""Git Bash""" | |
| End If |
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 OverloadResolutionChallenge | |
| { | |
| class Program : One | |
| { | |
| static void Foo<T>(T? t = default(T?)) where T : struct | |
| { | |
| Console.WriteLine("struct"); | |
| } |
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 static class TaskEx | |
| { | |
| private static readonly ConcurrentDictionary<Task, Timer> Timers = new ConcurrentDictionary<Task, Timer>(); | |
| public static Task DelayedStart(this Task task, TimeSpan delay) | |
| { | |
| var timer = new Timer(_ => Start(task), null, (long)delay.TotalMilliseconds, -1L); | |
| Timers.AddOrUpdate(task, timer, (k, t) => t); | |
| return task; | |
| } |
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 ElegantCache | |
| { | |
| using System; | |
| using System.Collections.Generic; | |
| using System.IO; | |
| using System.Linq; | |
| using System.Net; | |
| using System.Runtime.Caching; | |
| class ElegantCache<TValue> : IDisposable |
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 | |
| "%PROGRAMFILES%/Node/node.exe" "%PROGRAMFILES%/CoffeeScript/bin/coffee" %* |
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 MaybeMonad | |
| { | |
| using System; | |
| using System.Collections.Generic; | |
| using System.Linq.Expressions; | |
| using System.Reflection; | |
| static class Monads | |
| { | |
| /// <summary> |
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
| 00:00:16.9799819 | |
| 00:00:17.1971797 | |
| 00:00:18.0744958 | |
| 00:00:19.1514537 | |
| 00:00:17.3798541 |
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 EnumerableOfOneTest | |
| { | |
| using System; | |
| using System.Collections.Generic; | |
| using System.Linq; | |
| using System.Collections; | |
| using System.Diagnostics; | |
| class Program | |
| { |
OlderNewer