Skip to content

Instantly share code, notes, and snippets.

; <<>> DiG 9.16.21 <<>> axfr 219.185.195.in-addr.arpa @91.189.192.6
;; global options: +cmd
; Transfer failed.
@pmaisel
pmaisel / muteTeams.sh
Created April 9, 2021 09:18 — forked from nv1t/muteTeams.sh
it uses xdotool to activate the Teams window and mute/toggle the microphone. It puts the mouse back to the position.
function mute() {
eval $(xdotool getmouselocation --shell)
pids=$(xdotool search --name "Microsoft Teams" | sort | uniq | head -n 1)
xdotool windowactivate $pids
xdotool key "ctrl+shift+m"
xdotool mousemove --sync $(( 0.1+$X )) $(( 0.1 + $Y ));
}
@pmaisel
pmaisel / anduril.md
Created September 6, 2020 09:24 — forked from nicinabox/anduril.md