Skip to content

Instantly share code, notes, and snippets.

@Tragetaschen
Tragetaschen / pyro-strace.log
Last active July 19, 2018 16:13
strace log of running dotnet hello-world on pyro (working) and sumo (hanging)
execve("/usr/bin/dotnet", ["dotnet", "NetCoreConsoleApp1.dll"], [/* 16 vars */]) = 0
brk(NULL) = 0xd3f000
uname({sysname="Linux", nodename="f000sx", ...}) = 0
mmap2(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb6fa9000
access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=19422, ...}) = 0
mmap2(NULL, 19422, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb6fa4000
close(3) = 0
open("/lib/libdl.so.2", O_RDONLY|O_CLOEXEC) = 3
@Tragetaschen
Tragetaschen / SqliteApp\Program.cs
Created May 24, 2018 10:01
Microsoft.Data.Sqlite reproduction
using SqliteLib;
namespace SqliteApp
{
class Program
{
public static void Main(string[] args) => new Foo();
}
}
@Tragetaschen
Tragetaschen / entry.js
Created August 17, 2017 10:49
Webpack build for signalr-client
import {HttpConnection} from './dist/src';
var a = new HttpConnection();
using System;
using System.Threading.Tasks;
using Microsoft.Framework.Runtime;
using Mono.Unix;
public static class ApplicationShutdownExtensionMethods
{
public static void OnUnixSignals(this IApplicationShutdown applicationShutdown)
{
Task.Factory.StartNew(() =>
using System;
using System.Threading.Tasks;
using Microsoft.Framework.Runtime;
using Mono.Unix;
namespace Example
{
public static class ApplicationShutdownExtensionMethods
{
public static void OnCancelKeyPress(this IApplicationShutdown applicationShutdown)