Skip to content

Instantly share code, notes, and snippets.

@tripleee
tripleee / traceback
Last active July 21, 2022 01:43
make a shell command show a call trace on failure
#!/bin/sh
:<<'=cut'
=head1 NAME
traceback - make a shell command show a call trace on failure
=head1 SYNOPSIS
@tripleee
tripleee / git-wrapper
Last active October 24, 2024 13:45
git-wrapper to protect against accidental usage of a global user.email
#!/bin/sh
:<<'=cut'
=head1 NAME
git-wrapper - avoid committing as you@invalid
=head1 SYNOPSIS