Skip to content

Instantly share code, notes, and snippets.

@savegame
savegame / pulse_sreaming.md
Last active June 16, 2025 03:33
PulseAudio / PipeWire streaming audio from Client to remote PulseAudio / PipeWire Server

We have Server machine, this computer with Headphones, and we have Client computer, this is remote PC with music =) On Server we should first open port for listening connections from Client :

# on ubuntu 
sudo ufw allow from <Client_IP> to any port 4656 proto tcp
# on fedora ( with firewalld ) 
sudo firewall-ctl --add-port 4656/tcp

note: port 4656 just for sample. you can use any port you want
than on Server, from current user add listening for connections

@ryancdotorg
ryancdotorg / rsabd.py
Last active February 5, 2020 04:46 — forked from oszi/rsabd.py
#!/usr/bin/env python
# I don't know what happened here - the gist history is somehow screwed up. My original is here:
# https://gist.github.com/ryancdotorg/18235723e926be0afbdd
"""
sudo apt-get install python-gmpy python-m2crypto python-crypto python-dev
sudo pip install pycurve25519
./rsabd.py >poc.key
openssl req -new -key poc.key -out poc.csr