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/python3 | |
import math | |
import subprocess | |
import time | |
import re | |
def _resolution_from_monitor_data(monitor): | |
values = re.search(r'\d+x\d+', monitor).group().split('x') | |
return int(values[0]), int(values[1]) |
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
[ | |
{ | |
"authenticated_entity": { | |
"id": "8fcd11f9-3358-40b4-a494-131c3bd1d25e" | |
}, | |
"client_ip": "192.168.64.1", | |
"consumer": { | |
"created_at": 1596485598, | |
"id": "3391944b-2c84-4eda-95d0-20fb21f16c1b", | |
"type": 0, |