Skip to content

Instantly share code, notes, and snippets.

View large's full-sized avatar
😀
Happy coding!

Lars Werner large

😀
Happy coding!
View GitHub Profile
@large
large / hp_saap_license.txt
Created May 14, 2021 11:04 — forked from evianzhow/hp_saap_license.txt
HP Smart Array Advanced Pack Evaluation License Key
34T62-N84MB-7DQGY-G7XGT-YTQ63
@large
large / CrossPlatformTypeBinder.cs
Created April 5, 2020 12:34
Cross-platform Akka Remoting fix
public class CrossPlatformTypeBinder : DefaultSerializationBinder
{
static readonly bool isNetCore = Type.GetType("System.String, System.Private.CoreLib") != null;
readonly ConcurrentDictionary<string, Type> mappedTypes = new ConcurrentDictionary<string, Type>();
public override Type BindToType(string assemblyName, string typeName)
{
mappedTypes.TryGetValue(typeName, out var type);
if (type != null)
@large
large / TcpProxy.cs
Created January 14, 2020 23:22 — forked from Mordo95/TcpProxy.cs
Asynchronous TCP proxy in C#
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Sockets;
using System.Text;
using System.Threading.Tasks;
namespace HolePunchTest
{
public class TcpProxy