Skip to content

Instantly share code, notes, and snippets.

View MarcMichalsky's full-sized avatar

Marc Michalsky MarcMichalsky

View GitHub Profile
@MarcMichalsky
MarcMichalsky / HS.r.10s.sh
Last active March 5, 2021 08:31
Logitech Headset battery status on GNOME 3 panel in Ubuntu
#!/usr/bin/env bash
PERCENTAGE="([0-9]*)%$"
CHARGING="(Charging)$"
BATTERY_LEVEL="$(headsetcontrol -b)"
DEVICE="(Found\s)(.*)!"
if [[ $BATTERY_LEVEL =~ $DEVICE ]]; then
DEVICE_NAME="${BASH_REMATCH[2]}"
else
DEVICE_NAME="none"
@MarcMichalsky
MarcMichalsky / CiviCRM-Buildkit_mit_Docker_aufsetzen_quick&dirty.md
Created September 4, 2020 09:20
CiviCRM-Buildkit mit Docker aufsetzen – quick & dirty

CiviCRM-Buildkit mit Docker aufsetzen
– quick & dirty

Docker installieren

  1. GPG-Key herunterladen
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -