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.Globalization; | |
using System.Threading; | |
class Program | |
{ | |
static void Main() | |
{ | |
Thread.CurrentThread.CurrentCulture = new CultureInfo("en-US"); | |
Console.WriteLine("id".Equals("ID", StringComparison.CurrentCultureIgnoreCase)); // True |
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
Android.OS.NetworkOnMainThreadException: | |
at Android.Runtime.JNIEnv.CallObjectMethod (IntPtr jobject, IntPtr jmethod) [0x00063] in /Users/builder/data/lanes/monodroid-mlion-monodroid-4.10.1-branch/62077ce0/source/monodroid/src/Mono.Android/src/Runtime/JNIEnv.g.cs:177 | |
at Java.Net.URLConnection.get_OutputStream () [0x00043] in /Users/builder/data/lanes/monodroid-mlion-monodroid-4.10.1-branch/62077ce0/source/monodroid/src/Mono.Android/platforms/android-14/src/generated/Java.Net.URLConnection.cs:816 | |
at ModernHttpClient.OkHttpNetworkHandler+<SendAsync>c__async0.MoveNext () [0x00259] in /Users/paul/github/ModernHttpClient/src/ModernHttpClient.Android/OkHttpNetworkHandler.cs:35 | |
at --- End of stack trace from previous location where exception was thrown --- | |
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x00000] in <filename unknown>:0 | |
at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1+ConfiguredTaskAwaiter[System.Net.Http.HttpResponseMessage].GetResult () [0x00000] in <file |
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.Globalization; | |
using System.Text; | |
using Xunit; | |
public class RegexCharClassTests | |
{ | |
[Fact] | |
public void TestConstants() |
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.Diagnostics; | |
using System.Globalization; | |
using Microsoft.Framework.Logging; | |
using Microsoft.Framework.Logging.Console; | |
namespace SampleApp | |
{ | |
public class Program | |
{ |
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.Diagnostics; | |
public class Program | |
{ | |
public static void Main() | |
{ | |
const string test = "This is a sentence to use for testing."; | |
string[] separator = 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 System; | |
using System.Collections.Generic; | |
using System.Collections.ObjectModel; | |
using System.Diagnostics; | |
public class Program | |
{ | |
public static void Main() | |
{ | |
const int iterations = 1000000; |
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.Collections.ObjectModel; | |
using System.Diagnostics; | |
class Program | |
{ | |
static void Main() | |
{ | |
const int size = 100; |
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
name: javascript | |
description: A minimal AWS JavaScript program | |
runtime: nodejs | |
template: | |
description: A minimal AWS JavaScript program | |
config: | |
aws:region: | |
description: The AWS region to deploy into | |
default: us-east-1 | |
foo:blah: |
OlderNewer