Skip to content

Instantly share code, notes, and snippets.

View neoreids's full-sized avatar
🏠
Working from home

Muhammad Nur Wahid neoreids

🏠
Working from home
View GitHub Profile
@lmcarreiro
lmcarreiro / Program.cs
Created February 21, 2019 16:41
Get list of Access Point (BSSID and Signal) using C#
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
@marianogappa
marianogappa / ordered_parallel.go
Last active February 12, 2024 09:27
Parallel processing with ordered output in Go
/*
Parallel processing with ordered output in Go
(you can use this pattern by importing https://github.com/MarianoGappa/parseq)
This example implementation is useful when the following 3 conditions are true:
1) the rate of input is higher than the rate of output on the system (i.e. it queues up)
2) the processing of input can be parallelised, and overall throughput increases by doing so
3) the order of output of the system needs to respect order of input
- if 1 is false, KISS!