Skip to content

Instantly share code, notes, and snippets.

View norbert-k's full-sized avatar
🏠
Working from home

norbertka norbert-k

🏠
Working from home
View GitHub Profile
@norbert-k
norbert-k / SteamServerScraper.cs
Created June 26, 2019 18:42
SteamMasterServer.ServerQuery() not calling back SteamMasterServer.QueryCallback callback.
using System;
using SteamKit2;
namespace SteamServerScraper
{
class DebugLogListener : IDebugListener
{
public void WriteLine(string category, string msg)
{
@norbert-k
norbert-k / dynamic_producer_problem.exs
Last active January 29, 2019 14:51
Dynamic Producer problem
defmodule Producer do
use GenStage
def start_link(identifier) do
GenStage.start_link(__MODULE__, :ok,
name: {:via, Registry, {Registry.Producers, {__MODULE__, identifier}}}
)
end
def kill(identifier) do