This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
import fileinput | |
import re | |
from colorsys import * | |
def rgb_to_hsl(r, g, b): | |
return hsv_to_hsl(*rgb_to_hsv(r, g, b)) | |
def hsl_to_rgb(h, s, l): | |
return hsv_to_rgb(*hsl_to_hsv(h, s, l)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
import sys | |
import json | |
import subprocess | |
# '1.1.1.1 : xmt/rcv/%loss = 1/1/0%, min/avg/max = 1.35/1.35/1.35' | |
def parse(s): | |
data = {} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
root:xc3511 | |
guest:guest | |
guest:12345 | |
root:root | |
root:admin | |
root:realtek | |
root:1234 | |
root:12345 | |
root:123456 | |
root:1111 |