Skip to content

Instantly share code, notes, and snippets.

View kzhang2's full-sized avatar

kzhang2

View GitHub Profile
@kzhang2
kzhang2 / install.sh
Last active November 13, 2021 18:32
modified linuxbrew install for singularity (allows usage of root and doesn't do brew update because of root issues)
#!/bin/bash
# We don't need return codes for "$(command)", only stdout is needed.
# Allow `[[ -n "$(command)" ]]`, `func "$(command)"`, pipes, etc.
# shellcheck disable=SC2312
set -u
abort() {
printf "%s\n" "$@"