Skip to content

Instantly share code, notes, and snippets.

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

Anillc

πŸ’­
wwww
View GitHub Profile
Rust 13 hrs 6 mins β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ– 97.3%
TOML 8 mins ▏░░░░░░░░░░░░░░░░░░░░ 1.0%
Other 6 mins ▏░░░░░░░░░░░░░░░░░░░░ 0.9%
JSON 3 mins β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘ 0.4%
TypeScript 2 mins β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘ 0.3%
#!/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 "