Skip to content

Instantly share code, notes, and snippets.

View GavinPacini's full-sized avatar

Gavin Pacini GavinPacini

View GitHub Profile
@GavinPacini
GavinPacini / covid.sh
Last active January 8, 2022 23:32
HSE COVID Test Notifier for macOS
#!/bin/bash
# Intended for use on macOS with brew. Requires changes for other environments.
# run `brew install terminal-notifier jq` before use
# This script will run 12 times in a minute. Ideally, use it in a cronjob as so:
# * * * * * /path/to/covid.sh
# Change the path to wherever the script is
set -Eeuo pipefail
@GavinPacini
GavinPacini / debian-grub-kernel.sh
Last active April 26, 2021 02:17
Getting Debian to boot on Mac M1 - first principles
# Note, this is WIP. A proper tutorial will be published soon.
# This mainly serves as hosting the script so the Whonix forum members can review it.
# From within another Debian VM
sudo KERNEL='none' NOKERNEL='true' UPGRADE_SYSTEM='no' GRUB_INSTALL='no' grml-debootstrap \
--debopt "--verbose --include=initramfs-tools,eatmydata,apt-transport-tor,python3.7,gpg,gpg-agent" \
--arch arm64 \
--filesystem ext4 \
--force \
--hostname host \
@GavinPacini
GavinPacini / iterm2-solarized.md
Created October 28, 2017 19:02 — forked from kevin-smets/iterm2-solarized.md
iTerm2 + Oh My Zsh + Solarized color scheme + Meslo powerline font + [Powerlevel9k] - (macOS)

Default

Default

Powerlevel9k

Powerlevel9k