Skip to content

Instantly share code, notes, and snippets.

View qcasey's full-sized avatar
🦀
New job, ttyl

Quinn Casey qcasey

🦀
New job, ttyl
View GitHub Profile
# If Debian 11 is ran on a LXC container (Proxmox), SSH login and sudo actions can be slow
# Check if in /var/log/auth.log the following messages
Failed to activate service 'org.freedesktop.login1': timed out (service_start_timeout=25000ms)
-> Run systemctl mask systemd-logind
-> Run pam-auth-update (and deselect Register user sessions in the systemd control group hierarchy)
@abelmatser
abelmatser / a2dp-agent.py
Created May 19, 2021 15:12
a2dp-agent ported to python 3
#!/usr/bin/python3
import sys
import dbus
import dbus.service
import dbus.mainloop.glib
from gi.repository import GLib
AGENT_INTERFACE = "org.bluez.Agent1"
AGENT_PATH = "/test/agent"
@jonpacker
jonpacker / gist:2107554
Created March 19, 2012 10:59
Force unmount a nonresponsive SSHFS
kill -9 <sshfs pid>
fusermount -u <mountpoint>