Skip to content

Instantly share code, notes, and snippets.

@undg
undg / Makefile
Created April 17, 2024 13:21 — forked from alexedwards/Makefile
Boilerplate Makefile for Go projects
# Change these variables as necessary.
MAIN_PACKAGE_PATH := ./cmd/example
BINARY_NAME := example
# ==================================================================================== #
# HELPERS
# ==================================================================================== #
## help: print this help message
.PHONY: help
@undg
undg / spotify-kill-pulse-client.sh
Created January 27, 2022 14:14 — forked from fatihkaan22/spotify-kill-pulse-client.sh
Kills unused spotify pulseaudio instances
#! /bin/bash
spotifyInstances=()
while read LINE1; read LINE2; do
IFS=':-='
read -ra L1 <<< $LINE1
read -ra L2 <<< $LINE2