Skip to content

Instantly share code, notes, and snippets.

View iangoodnight's full-sized avatar

Ian Goodnight iangoodnight

View GitHub Profile
@iangoodnight
iangoodnight / sample-settings.md
Last active February 6, 2026 20:36
Sample Settings

Sample Settings

This document includes some general guidelines for creating samples in Logic.

One-Shots

Settings for capturing one-shot samples.

Bass Drum

{
"singleQuote": true,
"semi": true,
"tabWidth": 2,
"useTabs": false,
"trailingComma": "all",
"printWidth": 80
}
@iangoodnight
iangoodnight / gist:c36f798f8461af049b7c37c6a7743d1b
Created January 27, 2024 22:53
Add dictionary lookups to bash
#!/bin/bash
# Check if the script is run with sudo
if [ "$(id -u)" -ne 0 ]; then
echo "This script requires superuser privileges. Please run with sudo."
exit 1
fi
# Install packages
apt-get install dictd
@iangoodnight
iangoodnight / gen_username.sh
Created January 27, 2024 01:42
Generate a random username
#!/bin/bash
grep -E '^[a-z]+$' /usr/share/dict/words | shuf -n 12 | paste -d '_' - -