Skip to content

Instantly share code, notes, and snippets.

View tom-on-the-internet's full-sized avatar
🌐
On the Internet

Tom tom-on-the-internet

🌐
On the Internet
View GitHub Profile
counter=60; clear; while ((counter >= 0)); do echo $counter | figlet | lolcat; sleep 1; ((counter--)); done; echo Time is up | figlet | lolcat; notify-send 'Guess What?' 'Time is up';
@tom-on-the-internet
tom-on-the-internet / changed-since.bash
Last active December 20, 2021 19:58
See what files have changed in git since a given date
#! /usr/bin/bash
branch=$(git rev-parse --abbrev-ref HEAD)
commit=$(git rev-list -1 --before="$1" "$branch")
shift
git diff --name-status "$commit" HEAD -- "$@"