Skip to content

Instantly share code, notes, and snippets.

View pgillet's full-sized avatar

Pascal GILLET pgillet

View GitHub Profile
@pgillet
pgillet / terraform.adoc
Last active August 10, 2022 14:55
Terraform 101 - Single AsciiDoc File Course

Terraform 101 - Single File Course

Table of Contents

Recap IaC

  • Configuration Management Tools: Ansible, Puppet, SaltStack

  • Server Templating: Docker, Packer, Vagrant

  • Provisioning Tools: Terraform, CloudFormation

@pgillet
pgillet / README.md
Last active October 3, 2024 07:01 — forked from kbravh/README.md
Switch audio output devices on Linux

Audio Output Switcher

This script will cycle to the next available audio output device. It can be tied to a hotkey to easily be triggered. This is handy, for example, for swapping between HDMI audio and headphones.

Install

  1. Download the audio-device-switch.sh script and place it in /usr/local/bin.
  2. Make the script executable: sudo chmod 755 /usr/local/bin/audio-device-switch.sh.
  3. Open the Keyboard Shortcuts settings page, add a new shortcut, tell it to execute audio-device-switch.sh, and set up your shortcut!
  4. Install the notify-send library if you want to see a popup notification when the audio device switches: sudo apt install libnotify-bin.

Customizations