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
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Text; | |
using System.Web; | |
namespace Breeze.AspNet.Security.OAuth { | |
public static class Helpers { | |
static string[] UriRfc3986CharsToEscape = new string[] { "!", "*", "'", "(", ")" }; |
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
using Newtonsoft.Json; | |
using Newtonsoft.Json.Linq; | |
using System; | |
using System.Diagnostics; | |
using System.IO; | |
namespace ParseJSON { | |
class Program { | |
static void Main(string[] args) { | |
using (var reader = new JsonTextReader(new StreamReader(@"D:\large.json"))) { |
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
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003" | |
DefaultTargets="Settings"> | |
<PropertyGroup> | |
<productVersion>0.1.1</productVersion> | |
</PropertyGroup> | |
<UsingTask | |
TaskName="ExtractRevisionHash" | |
TaskFactory="CodeTaskFactory" |
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
DouglasPeuckerEpsilon: 0.03 # epsilon for Douglas-Peucker algorithm |