Skip to content

Instantly share code, notes, and snippets.

View jwoglom's full-sized avatar

James Woglom jwoglom

View GitHub Profile
import json
import socket # Just so we can properly handle hostname exceptions
import obspython as obs
import paho.mqtt.client as mqtt
import ssl
import pathlib
import time
import enum
import uuid
from multiprocessing import Lock
@jwoglom
jwoglom / rdp-client.sh
Created February 22, 2025 00:47
Optimized xfreerdp client options for Raspberry Pi Zero 2W
#!/bin/bash
RDPHOST=$1
RDPUSER=$2
RDPPASS=$3
xfreerdp /v:$RDPHOST /u:$RDPUSER /p:$RDPPASS /f /bpp:16 /rfx /gfx:AVC444 +glyph-cache +bitmap-cache +offscreen-cache +heartbeat +fonts +compression -wallpaper -themes -window-drag -menu-anims /audio-mode:0 /network:lan /auto-reconnect