This file contains hidden or 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
def parallel_exec(commands_arr): | |
processes = set() | |
max_processes = 8 | |
for cmd in commands_arr: | |
print(cmd) | |
processes.add(subprocess.Popen( cmd ) ) | |
while len(processes) >= max_processes: | |
time.sleep(1) | |
diffP = [p for p in processes if p.poll() is not None] |
This file contains hidden or 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 python | |
import shotgun_api3 | |
from pprint import pprint | |
import re | |
SERVER_PATH = "https://******.shotgunstudio.com" | |
SCRIPT_NAME = '*******' | |
SCRIPT_KEY = '*******' |
This file contains hidden or 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 string | |
import json | |
import time | |
from pprint import pprint | |
import threading | |
import time | |
from ws4py.client.threadedclient import WebSocketClient # pip install ws4py |
This file contains hidden or 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
#!/bin/env python | |
''' | |
This script reads characters from fldigi and scans for UKHAS sentences https://ukhas.org.uk/communication:protocol | |
For every valid sentence, log to file. Works only for sentences with CRC16 checksum, XOR is not supported. | |
Run fldigi with these parameters | |
dl-fldigi.exe --hab --arq-server-address 127.0.0.1 --arq-server-port 7777 | |
or | |
fldigi.exe --arq-server-address 127.0.0.1 --arq-server-port 7777 |