Skip to content

Instantly share code, notes, and snippets.

View davidplumridge's full-sized avatar

David Plumridge davidplumridge

View GitHub Profile
@davidplumridge
davidplumridge / git-change-name-and-email.txt
Last active August 3, 2024 02:52
Change name & email on git commits
git filter-branch --env-filter '
WRONG_EMAIL="example@exmaple.com"
NEW_NAME="Joe Smith"
NEW_EMAIL="joe.smith@example.com"
if [ "$GIT_COMMITTER_EMAIL" = "$WRONG_EMAIL" ]
then
export GIT_COMMITTER_NAME="$NEW_NAME"
export GIT_COMMITTER_EMAIL="$NEW_EMAIL"
fi
@jmadden
jmadden / forward_to_first_number.xml
Last active June 15, 2024 07:08
TwiML Incoming Calls - Forward call to numbers in order. Fire off VMail and send SMS on no answer
<?xml version="1.0" encoding="UTF-8"?>
<Response>
<!-- Forward to first number and if no answer, action URL points to second number to try -->
<Dial timeout="15" action="forward_to_second_number.xml">
<Number url="whisper_instructions.xml">+15554441212</Number>
</Dial>
</Response>