I hereby claim:
- I am fekberg on github.
- I am fekberg (https://keybase.io/fekberg) on keybase.
- I have a public key whose fingerprint is 3F13 5660 D328 9CBA CE2D 14CF A178 38E3 F9BB 0A1C
To claim this, I am signing this object:
using System; | |
using System.Drawing; | |
using System.Net; | |
using System.Net.Http; | |
using System.Threading.Tasks; | |
namespace Recrusive_Patterns | |
{ | |
class Program | |
{ |
ERROR [2018-05-14 09:46:20Z]:ERROR [2018-05-14 09:46:20Z]: MSBuild property evaluation failed: [Microsoft.Build.Utilities.ToolLocationHelper]::GetPathToStandardLibraries($(TargetFrameworkIdentifier), $(TargetFrameworkVersion), $(TargetFrameworkProfile), $(PlatformTarget), $(TargetFrameworkRootPath)) | |
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.TypeInitializationException: The type initializer for 'Microsoft.Build.Collections.MSBuildNameIgnoreCaseComparer' threw an exception. ---> System.EntryPointNotFoundException: GetSystemInfo | |
at (wrapper managed-to-native) Microsoft.Build.Shared.NativeMethodsShared.GetSystemInfo(Microsoft.Build.Shared.NativeMethodsShared/SYSTEM_INFO&) | |
at Microsoft.Build.Shared.NativeMethodsShared+SystemIn |
I hereby claim:
To claim this, I am signing this object:
``` | |
And finally, I am proving ownership of the github account by posting this as a gist. | |
### My publicly-auditable identity: | |
https://keybase.io/fekberg | |
### From the command line: |
``` | |
And finally, I am proving ownership of the github account by posting this as a gist. | |
### My publicly-auditable identity: | |
https://keybase.io/fekberg | |
### From the command line: |
/* Android - DOES NOT DEADLOCK */ | |
Task.Run(() =>{ | |
Thread.Sleep(2000); | |
RunOnUiThread(() => { }); | |
}).Wait(); | |
/* iOS - DEADLOCKS */ | |
Task.Run(() =>{ | |
Thread.Sleep(2000); | |
InvokeOnMainThread(() => { }); |
using System.IO; | |
using System.Linq; | |
namespace CopyToOneDrive | |
{ | |
internal class Program | |
{ | |
private const string _destination = @"C:\Users\YourUserName\OneDrive\Camera Roll"; | |
private const string _source = @"D:\Camera Roll Backup\"; |
using System; | |
using System.Collections.Generic; | |
using System.Diagnostics; | |
using System.Linq; | |
using System.Text; | |
using System.Threading.Tasks; | |
namespace EnsureThat.Performance | |
{ | |
class Program |
void Main() | |
{ | |
// Define all the vertices in the graph | |
var a = new Vertex<string>{ Value = "A" }; | |
var b = new Vertex<string>{ Value = "B" }; | |
var c = new Vertex<string>{ Value = "C" }; | |
var d = new Vertex<string>{ Value = "D" }; | |
var e = new Vertex<string>{ Value = "E" }; | |
var f = new Vertex<string>{ Value = "F" }; | |
var g = new Vertex<string>{ Value = "G" }; |
void Main() | |
{ | |
var values = new List<string>(); | |
var dict = new FancyDictionary<string, string>(); | |
var insertWatch = new Stopwatch(); | |
for(int i = 0; i < 3000; i++) | |
{ | |
var entry = Guid.NewGuid().ToString(); | |
values.Add(entry); |