Skip to content

Instantly share code, notes, and snippets.

View cbonnissent's full-sized avatar

Charles Bonnissent cbonnissent

View GitHub Profile
@larsch
larsch / install-arch-linux-rpi-zero-w.sh
Created July 6, 2017 06:05
Install Arch Linux ARM for Raspberry Pi Zero W on SD Card (with commands to configure WiFi before first boot).
#!/bin/sh -exu
dev=$1
cd $(mktemp -d)
function umountboot {
umount boot || true
umount root || true
}
# RPi1/Zero (armv6h):
@djmaze
djmaze / spotify-stream.sh
Last active September 17, 2022 14:14
Serving Spotify audio through an MP3 stream via http (using Pulseaudio)
#!/usr/bin/env bash
#
# needs: Pulseaudio, VLC
# Load null sink module if not already loaded
pacmd list-sinks | grep steam 2>&1 >/dev/null
if [[ $? == 1 ]]; then
pactl load-module module-null-sink sink_name=steam;
fi
@tdd
tdd / gitconfig.ini
Last active April 17, 2024 10:04
Nice, useful global Git configuration
# Put this in your ~/.gitconfig or ~/.config/git/config
# Windows users: "~" is your profile's home directory, e.g. C:\Users\<YourName>
[user]
name = Your Full Name
email = your@email.tld
[color]
# Enable colors in color-supporting terminals
ui = auto
[alias]
# List available aliases