Skip to content

Instantly share code, notes, and snippets.

View ortizmj12's full-sized avatar

Michael Ortiz ortizmj12

View GitHub Profile
#!/usr/bin/env bash
# Sound won't work after plugging in headphones. Output source is "dummy
# output". Run this script to fix it without having to restart the machine.
# Source: https://askubuntu.com/a/1104906
pulseaudio --kill; sleep 2s; sudo alsa force-reload; pulseaudio --start

Keybase proof

I hereby claim:

  • I am ortizmj12 on github.
  • I am ortizmj12 (https://keybase.io/ortizmj12) on keybase.
  • I have a public key whose fingerprint is E366 A200 2004 1028 58E5 F663 1728 6A83 C03B 82C9

To claim this, I am signing this object: