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
| download this file... see: https://azure.microsoft.com/en-gb/documentation/articles/cloud-services-dotnet-install-dotnet/ |
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
| // http://msdn.microsoft.com/en-us/library/system.threading.tasks.task.whenall.aspx | |
| using System; | |
| using System.Threading; | |
| using System.Threading.Tasks; | |
| static class TaskExtensions | |
| { | |
| public static Task<T[]> WhenAll<T>(this Task<T>[] tasks) | |
| { |
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
| /* Jquery function to create guids. | |
| * Guid code from | |
| * http://stackoverflow.com/questions/105034/how-to-create-a-guid-uuid-in-javascript | |
| */ | |
| (function ( $ ) { | |
| $.fn.newguid = function () { | |
| this.val('xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx'.replace(/[xy]/g, function (c) { var r = Math.random() * 16 | 0, v = c == 'x' ? r : r & 0x3 | 0x8; return v.toString(16); })); | |
| return this; | |
| }; |
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
| /* | |
| * This work (Modern Encryption of a String C#, by James Tuley), | |
| * identified by James Tuley, is free of known copyright restrictions. | |
| * https://gist.github.com/4336842 | |
| * http://creativecommons.org/publicdomain/mark/1.0/ | |
| */ | |
| using System; | |
| using System.IO; | |
| using System.Text; |
NewerOlder