Skip to content

Instantly share code, notes, and snippets.

View Anillc's full-sized avatar
πŸ’­
wwww

Anillc

πŸ’­
wwww
View GitHub Profile
Protoco... 32 mins β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–β–‘β–‘β–‘ 82.9%
Go 6 mins β–ˆβ–ˆβ–ˆβ–Œβ–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘ 17.1%
#!/usr/bin/env bash
echo dump | socat stdio tcp6:[::1]:33123 | awk '
BEGIN {
i = 0
ORS = ""
}
{
if ($2 == "route" && $9 == "yes") {
if (i == 0) {
print "if "